Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: import_from_android.sh

Issue 14371012: [MIPS] Add build support for MIPS in openssl.gyp (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/openssl.git@master
Patch Set: [MIPS] Add build support for MIPS in openssl.gyp Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | openssl.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Sanitize environment. 7 # Sanitize environment.
8 set -e 8 set -e
9 export LANG=C 9 export LANG=C
10 export LC_ALL=C 10 export LC_ALL=C
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 done 395 done
396 echo "$LIST" 396 echo "$LIST"
397 } 397 }
398 398
399 generate_gyp_file () { 399 generate_gyp_file () {
400 echo "# Auto-generated file - DO NOT EDIT" 400 echo "# Auto-generated file - DO NOT EDIT"
401 echo "# To regenerate - run import_from_android.sh." 401 echo "# To regenerate - run import_from_android.sh."
402 echo "# See 'import_from_android.sh --help' for details." 402 echo "# See 'import_from_android.sh --help' for details."
403 403
404 local ALL_PREFIXES="OPENSSL_CRYPTO OPENSSL_SSL" 404 local ALL_PREFIXES="OPENSSL_CRYPTO OPENSSL_SSL"
405 local ALL_ARCHS="arm x86 x86_64" 405 local ALL_ARCHS="arm mips x86 x86_64"
406 local PREFIX ARCH LIST 406 local PREFIX ARCH LIST
407 407
408 print_gyp "{" 408 print_gyp "{"
409 incr_gyp_margin 409 incr_gyp_margin
410 410
411 print_gyp "'variables': {" 411 print_gyp "'variables': {"
412 incr_gyp_margin 412 incr_gyp_margin
413 413
414 # First, the common sources and defines 414 # First, the common sources and defines
415 print_gyp_source_variable "openssl_common_sources" \ 415 print_gyp_source_variable "openssl_common_sources" \
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 > $PROGDIR/config/x64/openssl/opensslconf.h 461 > $PROGDIR/config/x64/openssl/opensslconf.h
462 462
463 dump "Generating .gypi file." 463 dump "Generating .gypi file."
464 . $ANDROID_SRC_DIR/openssl.config 464 . $ANDROID_SRC_DIR/openssl.config
465 generate_gyp_file > $PROGDIR/openssl.gypi.new 465 generate_gyp_file > $PROGDIR/openssl.gypi.new
466 run mv $PROGDIR/openssl.gypi $PROGDIR/openssl.gypi.old 466 run mv $PROGDIR/openssl.gypi $PROGDIR/openssl.gypi.old
467 run mv $PROGDIR/openssl.gypi.new $PROGDIR/openssl.gypi 467 run mv $PROGDIR/openssl.gypi.new $PROGDIR/openssl.gypi
468 run rm $PROGDIR/openssl.gypi.old 468 run rm $PROGDIR/openssl.gypi.old
469 469
470 dump "Done." 470 dump "Done."
OLDNEW
« no previous file with comments | « no previous file | openssl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698