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