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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 'enable_promo_resource_service%': 0, | 896 'enable_promo_resource_service%': 0, |
897 | 897 |
898 # Sessions are store separately in the Java side. | 898 # Sessions are store separately in the Java side. |
899 'enable_session_service%': 0, | 899 'enable_session_service%': 0, |
900 | 900 |
901 # Set to 1 once we have a notification system for Android. | 901 # Set to 1 once we have a notification system for Android. |
902 # http://crbug.com/115320 | 902 # http://crbug.com/115320 |
903 'notifications%': 0, | 903 'notifications%': 0, |
904 | 904 |
905 'gtest_target_type%': '<(gtest_target_type)', | 905 'gtest_target_type%': '<(gtest_target_type)', |
906 # TODO(jrg): when 'gtest_target_type'=='shared_libary' and | 906 # TODO(jrg): when 'gtest_target_type'=='shared_library' and |
907 # OS==android, make all gtest_targets depend on | 907 # OS==android, make all gtest_targets depend on |
908 # testing/android/native_test.gyp:native_test_apk. | 908 # testing/android/native_test.gyp:native_test_apk. |
909 ### 'gtest_target_type': 'shared_libary', | 909 ### 'gtest_target_type': 'shared_libary', |
910 | 910 |
911 # Uses system APIs for decoding audio and video. | 911 # Uses system APIs for decoding audio and video. |
912 'use_libffmpeg%': '0', | 912 'use_libffmpeg%': '0', |
913 | 913 |
914 # Always use the chromium skia. The use_system_harfbuzz needs to | 914 # Always use the chromium skia. The use_system_harfbuzz needs to |
915 # match use_system_skia. | 915 # match use_system_skia. |
916 'use_system_skia%': '0', | 916 'use_system_skia%': '0', |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1337 }], | 1337 }], |
1338 ['notifications==1', { | 1338 ['notifications==1', { |
1339 'defines': ['ENABLE_NOTIFICATIONS'], | 1339 'defines': ['ENABLE_NOTIFICATIONS'], |
1340 }], | 1340 }], |
1341 ['enable_hidpi==1', { | 1341 ['enable_hidpi==1', { |
1342 'defines': ['ENABLE_HIDPI=1'], | 1342 'defines': ['ENABLE_HIDPI=1'], |
1343 }], | 1343 }], |
1344 ['enable_metro==1', { | 1344 ['enable_metro==1', { |
1345 'defines': ['ENABLE_METRO=1'], | 1345 'defines': ['ENABLE_METRO=1'], |
1346 }], | 1346 }], |
| 1347 ['OS=="android" and gtest_target_type=="shared_library"', { |
| 1348 'defines': ['ANDROID_APK_TEST_TARGET=1'], |
| 1349 }], |
1347 ['fastbuild!=0', { | 1350 ['fastbuild!=0', { |
1348 | 1351 |
1349 'conditions': [ | 1352 'conditions': [ |
1350 # For Windows and Mac, we don't genererate debug information. | 1353 # For Windows and Mac, we don't genererate debug information. |
1351 ['OS=="win" or OS=="mac"', { | 1354 ['OS=="win" or OS=="mac"', { |
1352 'msvs_settings': { | 1355 'msvs_settings': { |
1353 'VCLinkerTool': { | 1356 'VCLinkerTool': { |
1354 'GenerateDebugInformation': 'false', | 1357 'GenerateDebugInformation': 'false', |
1355 }, | 1358 }, |
1356 'VCCLCompilerTool': { | 1359 'VCCLCompilerTool': { |
(...skipping 1741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3098 # settings in target dicts. SYMROOT is a special case, because many other | 3101 # settings in target dicts. SYMROOT is a special case, because many other |
3099 # Xcode variables depend on it, including variables such as | 3102 # Xcode variables depend on it, including variables such as |
3100 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3103 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3101 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3104 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3102 # files to appear (when present) in the UI as actual files and not red | 3105 # files to appear (when present) in the UI as actual files and not red |
3103 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3106 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3104 # and therefore SYMROOT, needs to be set at the project level. | 3107 # and therefore SYMROOT, needs to be set at the project level. |
3105 'SYMROOT': '<(DEPTH)/xcodebuild', | 3108 'SYMROOT': '<(DEPTH)/xcodebuild', |
3106 }, | 3109 }, |
3107 } | 3110 } |
OLD | NEW |