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

Side by Side Diff: build/common.gypi

Issue 10832295: Remove the dependency on the STRIP env variable for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « build/apk_test.gypi ('k') | content/content_shell.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 'android_ndk_root%': '<(android_ndk_root)', 926 'android_ndk_root%': '<(android_ndk_root)',
927 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-9/arch- <(target_arch)', 927 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-9/arch- <(target_arch)',
928 'android_app_abi%': '<(android_app_abi)', 928 'android_app_abi%': '<(android_app_abi)',
929 }, 929 },
930 'android_ndk_root%': '<(android_ndk_root)', 930 'android_ndk_root%': '<(android_ndk_root)',
931 'android_ndk_sysroot': '<(android_ndk_sysroot)', 931 'android_ndk_sysroot': '<(android_ndk_sysroot)',
932 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', 932 'android_ndk_include': '<(android_ndk_sysroot)/usr/include',
933 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', 933 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib',
934 'android_app_abi%': '<(android_app_abi)', 934 'android_app_abi%': '<(android_app_abi)',
935 935
936 # Location of the "strip" binary, used by both gyp and scripts.
937 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)',
938
936 # Provides an absolute path to PRODUCT_DIR (e.g. out/Release). Used 939 # Provides an absolute path to PRODUCT_DIR (e.g. out/Release). Used
937 # to specify the output directory for Ant in the Android build. 940 # to specify the output directory for Ant in the Android build.
938 'ant_build_out': '`cd <(PRODUCT_DIR) && pwd -P`', 941 'ant_build_out': '`cd <(PRODUCT_DIR) && pwd -P`',
939 942
940 # Uses Android's crash report system 943 # Uses Android's crash report system
941 'linux_breakpad%': 0, 944 'linux_breakpad%': 0,
942 945
943 # Always uses openssl. 946 # Always uses openssl.
944 'use_openssl%': 1, 947 'use_openssl%': 1,
945 948
(...skipping 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after
2573 ], 2576 ],
2574 'ldflags': [ 2577 'ldflags': [
2575 '-nostdlib', 2578 '-nostdlib',
2576 '-Wl,--no-undefined', 2579 '-Wl,--no-undefined',
2577 # Don't export symbols from statically linked libraries. 2580 # Don't export symbols from statically linked libraries.
2578 '-Wl,--exclude-libs=ALL', 2581 '-Wl,--exclude-libs=ALL',
2579 ], 2582 ],
2580 'libraries': [ 2583 'libraries': [
2581 '-l<(android_stlport_library)', 2584 '-l<(android_stlport_library)',
2582 # Manually link the libgcc.a that the cross compiler uses. 2585 # Manually link the libgcc.a that the cross compiler uses.
2583 '<!(${ANDROID_TOOLCHAIN}/*-gcc -print-libgcc-file-name)', 2586 '<!(<(android_toolchain)/*-gcc -print-libgcc-file-name)',
2584 '-lc', 2587 '-lc',
2585 '-ldl', 2588 '-ldl',
2586 '-lstdc++', 2589 '-lstdc++',
2587 '-lm', 2590 '-lm',
2588 ], 2591 ],
2589 'conditions': [ 2592 'conditions': [
2590 ['android_upstream_bringup==1', { 2593 ['android_upstream_bringup==1', {
2591 'defines': ['ANDROID_UPSTREAM_BRINGUP=1',], 2594 'defines': ['ANDROID_UPSTREAM_BRINGUP=1',],
2592 }], 2595 }],
2593 ['clang==1', { 2596 ['clang==1', {
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
3325 ['LINK', '$(CXX)'], 3328 ['LINK', '$(CXX)'],
3326 ['CC.host', '$(CC)'], 3329 ['CC.host', '$(CC)'],
3327 ['CXX.host', '$(CXX)'], 3330 ['CXX.host', '$(CXX)'],
3328 ['LINK.host', '$(LINK)'], 3331 ['LINK.host', '$(LINK)'],
3329 ], 3332 ],
3330 }], 3333 }],
3331 ['OS=="android" and clang==0', { 3334 ['OS=="android" and clang==0', {
3332 # Hardcode the compiler names in the Makefile so that 3335 # Hardcode the compiler names in the Makefile so that
3333 # it won't depend on the environment at make time. 3336 # it won't depend on the environment at make time.
3334 'make_global_settings': [ 3337 'make_global_settings': [
3335 ['CC', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-g cc)'], 3338 ['CC', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <(android_toolchain)/*-g cc)'],
3336 ['CXX', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*- g++)'], 3339 ['CXX', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <(android_toolchain)/*- g++)'],
3337 ['LINK', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/* -gcc)'], 3340 ['LINK', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <(android_toolchain)/* -gcc)'],
3338 ['CC.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which gcc))'], 3341 ['CC.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which gcc))'],
3339 ['CXX.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which g++))'], 3342 ['CXX.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which g++))'],
3340 ['LINK.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which g++))'], 3343 ['LINK.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which g++))'],
3341 ], 3344 ],
3342 }], 3345 }],
3343 ], 3346 ],
3344 'xcode_settings': { 3347 'xcode_settings': {
3345 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! 3348 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT!
3346 # This block adds *project-wide* configuration settings to each project 3349 # This block adds *project-wide* configuration settings to each project
3347 # file. It's almost always wrong to put things here. Specify your 3350 # file. It's almost always wrong to put things here. Specify your
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
3380 # settings in target dicts. SYMROOT is a special case, because many other 3383 # settings in target dicts. SYMROOT is a special case, because many other
3381 # Xcode variables depend on it, including variables such as 3384 # Xcode variables depend on it, including variables such as
3382 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3385 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3383 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3386 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3384 # files to appear (when present) in the UI as actual files and not red 3387 # files to appear (when present) in the UI as actual files and not red
3385 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3388 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3386 # and therefore SYMROOT, needs to be set at the project level. 3389 # and therefore SYMROOT, needs to be set at the project level.
3387 'SYMROOT': '<(DEPTH)/xcodebuild', 3390 'SYMROOT': '<(DEPTH)/xcodebuild',
3388 }, 3391 },
3389 } 3392 }
OLDNEW
« no previous file with comments | « build/apk_test.gypi ('k') | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698