OLD | NEW |
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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 'enable_web_intents%': 0, | 782 'enable_web_intents%': 0, |
783 'java_bridge%': 1, | 783 'java_bridge%': 1, |
784 # Android does not support themes. | 784 # Android does not support themes. |
785 'enable_themes%': 0, | 785 'enable_themes%': 0, |
786 | 786 |
787 # Set to 1 once we have a notification system for Android. | 787 # Set to 1 once we have a notification system for Android. |
788 # http://crbug.com/115320 | 788 # http://crbug.com/115320 |
789 'notifications%': 0, | 789 'notifications%': 0, |
790 | 790 |
791 # Builds the gtest targets as a shared_library. | 791 # Builds the gtest targets as a shared_library. |
792 # TODO(jrg): when 'gtest_target_type'=='shared_libary' and OS==android, | 792 # TODO(michaelbai): Use the fixed value 'shared_library' once it |
793 # make all gtest_targets depend on base/base.gyp:native_test_apk. | 793 # is fully supported. |
794 ### 'gtest_target_type': 'shared_libary', | 794 'gtest_target_type%': '<(gtest_target_type)', |
795 | 795 |
796 # Uses system APIs for decoding audio and video. | 796 # Uses system APIs for decoding audio and video. |
797 'use_libffmpeg%': '0', | 797 'use_libffmpeg%': '0', |
798 | 798 |
799 # Always use the chromium skia. The use_system_harfbuzz needs to | 799 # Always use the chromium skia. The use_system_harfbuzz needs to |
800 # match use_system_skia. | 800 # match use_system_skia. |
801 'use_system_skia%': '0', | 801 'use_system_skia%': '0', |
802 'use_system_harfbuzz%': '0', | 802 'use_system_harfbuzz%': '0', |
803 | 803 |
804 # Use the system icu. | 804 # Use the system icu. |
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2349 'libraries': [ | 2349 'libraries': [ |
2350 # crtend_android.o needs to be the last item in libraries. | 2350 # crtend_android.o needs to be the last item in libraries. |
2351 # Do not add any libraries after this! | 2351 # Do not add any libraries after this! |
2352 '<(android_ndk_lib)/crtend_android.o', | 2352 '<(android_ndk_lib)/crtend_android.o', |
2353 ], | 2353 ], |
2354 }], | 2354 }], |
2355 ['_type=="shared_library"', { | 2355 ['_type=="shared_library"', { |
2356 'ldflags': [ | 2356 'ldflags': [ |
2357 '-Wl,-shared,-Bsymbolic', | 2357 '-Wl,-shared,-Bsymbolic', |
2358 ], | 2358 ], |
2359 # Use of -nostdlib prevents the compiler from bringing | |
2360 # in crtbegin_dynamic.o et al, so we get an undefined | |
2361 # reference to ___dso_handle when building | |
2362 # gtest_target_type==shared_library. | |
2363 'ldflags!': [ '-nostdlib' ], | |
2364 }], | 2359 }], |
2365 ], | 2360 ], |
2366 }], | 2361 }], |
2367 # Settings for building host targets using the system toolchain. | 2362 # Settings for building host targets using the system toolchain. |
2368 ['_toolset=="host"', { | 2363 ['_toolset=="host"', { |
2369 'cflags!': [ | 2364 'cflags!': [ |
2370 # Due to issues in Clang build system, using ASan on 32-bit | 2365 # Due to issues in Clang build system, using ASan on 32-bit |
2371 # binaries on x86_64 host is problematic. | 2366 # binaries on x86_64 host is problematic. |
2372 # TODO(eugenis): re-enable. | 2367 # TODO(eugenis): re-enable. |
2373 '-faddress-sanitizer', | 2368 '-faddress-sanitizer', |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2948 # settings in target dicts. SYMROOT is a special case, because many other | 2943 # settings in target dicts. SYMROOT is a special case, because many other |
2949 # Xcode variables depend on it, including variables such as | 2944 # Xcode variables depend on it, including variables such as |
2950 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2945 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2951 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2946 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2952 # files to appear (when present) in the UI as actual files and not red | 2947 # files to appear (when present) in the UI as actual files and not red |
2953 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2948 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2954 # and therefore SYMROOT, needs to be set at the project level. | 2949 # and therefore SYMROOT, needs to be set at the project level. |
2955 'SYMROOT': '<(DEPTH)/xcodebuild', | 2950 'SYMROOT': '<(DEPTH)/xcodebuild', |
2956 }, | 2951 }, |
2957 } | 2952 } |
OLD | NEW |