| 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 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 'enable_web_intents%': 0, | 773 'enable_web_intents%': 0, |
| 774 'java_bridge%': 1, | 774 'java_bridge%': 1, |
| 775 # Android does not support themes. | 775 # Android does not support themes. |
| 776 'enable_themes%': 0, | 776 'enable_themes%': 0, |
| 777 | 777 |
| 778 # Set to 1 once we have a notification system for Android. | 778 # Set to 1 once we have a notification system for Android. |
| 779 # http://crbug.com/115320 | 779 # http://crbug.com/115320 |
| 780 'notifications%': 0, | 780 'notifications%': 0, |
| 781 | 781 |
| 782 # Builds the gtest targets as a shared_library. | 782 # Builds the gtest targets as a shared_library. |
| 783 # TODO(michaelbai): Use the fixed value 'shared_library' once it | 783 # TODO(jrg): when 'gtest_target_type'=='shared_libary' and OS==android, |
| 784 # is fully supported. | 784 # make all gtest_targets depend on base/base.gyp:native_test_apk. |
| 785 'gtest_target_type%': '<(gtest_target_type)', | 785 ### 'gtest_target_type': 'shared_libary', |
| 786 | 786 |
| 787 # Uses system APIs for decoding audio and video. | 787 # Uses system APIs for decoding audio and video. |
| 788 'use_libffmpeg%': '0', | 788 'use_libffmpeg%': '0', |
| 789 | 789 |
| 790 # Always use the chromium skia. The use_system_harfbuzz needs to | 790 # Always use the chromium skia. The use_system_harfbuzz needs to |
| 791 # match use_system_skia. | 791 # match use_system_skia. |
| 792 'use_system_skia%': '0', | 792 'use_system_skia%': '0', |
| 793 'use_system_harfbuzz%': '0', | 793 'use_system_harfbuzz%': '0', |
| 794 | 794 |
| 795 # Use the system icu. | 795 # Use the system icu. |
| (...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2340 'libraries': [ | 2340 'libraries': [ |
| 2341 # crtend_android.o needs to be the last item in libraries. | 2341 # crtend_android.o needs to be the last item in libraries. |
| 2342 # Do not add any libraries after this! | 2342 # Do not add any libraries after this! |
| 2343 '<(android_ndk_lib)/crtend_android.o', | 2343 '<(android_ndk_lib)/crtend_android.o', |
| 2344 ], | 2344 ], |
| 2345 }], | 2345 }], |
| 2346 ['_type=="shared_library"', { | 2346 ['_type=="shared_library"', { |
| 2347 'ldflags': [ | 2347 'ldflags': [ |
| 2348 '-Wl,-shared,-Bsymbolic', | 2348 '-Wl,-shared,-Bsymbolic', |
| 2349 ], | 2349 ], |
| 2350 # Use of -nostdlib prevents the compiler from bringing |
| 2351 # in crtbegin_dynamic.o et al, so we get an undefined |
| 2352 # reference to ___dso_handle when building |
| 2353 # gtest_target_type==shared_library. |
| 2354 'ldflags!': [ '-nostdlib' ], |
| 2350 }], | 2355 }], |
| 2351 ], | 2356 ], |
| 2352 }], | 2357 }], |
| 2353 # Settings for building host targets using the system toolchain. | 2358 # Settings for building host targets using the system toolchain. |
| 2354 ['_toolset=="host"', { | 2359 ['_toolset=="host"', { |
| 2355 'cflags!': [ | 2360 'cflags!': [ |
| 2356 # Due to issues in Clang build system, using ASan on 32-bit | 2361 # Due to issues in Clang build system, using ASan on 32-bit |
| 2357 # binaries on x86_64 host is problematic. | 2362 # binaries on x86_64 host is problematic. |
| 2358 # TODO(eugenis): re-enable. | 2363 # TODO(eugenis): re-enable. |
| 2359 '-faddress-sanitizer', | 2364 '-faddress-sanitizer', |
| (...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2925 # settings in target dicts. SYMROOT is a special case, because many other | 2930 # settings in target dicts. SYMROOT is a special case, because many other |
| 2926 # Xcode variables depend on it, including variables such as | 2931 # Xcode variables depend on it, including variables such as |
| 2927 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2932 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 2928 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2933 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 2929 # files to appear (when present) in the UI as actual files and not red | 2934 # files to appear (when present) in the UI as actual files and not red |
| 2930 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2935 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 2931 # and therefore SYMROOT, needs to be set at the project level. | 2936 # and therefore SYMROOT, needs to be set at the project level. |
| 2932 'SYMROOT': '<(DEPTH)/xcodebuild', | 2937 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 2933 }, | 2938 }, |
| 2934 } | 2939 } |
| OLD | NEW |