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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 'link_settings': { | 209 'link_settings': { |
210 'libraries': [ | 210 'libraries': [ |
211 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 211 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
212 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', | 212 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
213 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', | 213 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', |
214 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 214 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
215 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', | 215 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
216 ], | 216 ], |
217 }, | 217 }, |
218 }], | 218 }], |
219 ['OS != "win" and OS != "ios"', { | 219 ['OS != "win" and (OS != "ios" or _toolset == "host")', { |
220 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], | 220 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], |
221 },], | 221 },], |
222 ['component=="shared_library"', { | 222 ['component=="shared_library"', { |
223 'conditions': [ | 223 'conditions': [ |
224 ['OS=="win"', { | 224 ['OS=="win"', { |
225 'sources!': [ | 225 'sources!': [ |
226 'debug/debug_on_start_win.cc', | 226 'debug/debug_on_start_win.cc', |
227 ], | 227 ], |
228 }], | 228 }], |
229 ], | 229 ], |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], | 288 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], |
289 }, { # else icu_use_data_file_flag !=1 | 289 }, { # else icu_use_data_file_flag !=1 |
290 'conditions': [ | 290 'conditions': [ |
291 ['OS=="win"', { | 291 ['OS=="win"', { |
292 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], | 292 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], |
293 }, { | 293 }, { |
294 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], | 294 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], |
295 }], | 295 }], |
296 ], | 296 ], |
297 }], | 297 }], |
| 298 ['OS == "ios"', { |
| 299 'toolsets': ['host', 'target'], |
| 300 }], |
298 ], | 301 ], |
299 'export_dependent_settings': [ | 302 'export_dependent_settings': [ |
300 'base', | 303 'base', |
301 ], | 304 ], |
302 'includes': [ | 305 'includes': [ |
303 '../build/android/increase_size_for_speed.gypi', | 306 '../build/android/increase_size_for_speed.gypi', |
304 ], | 307 ], |
305 }, | 308 }, |
306 { | 309 { |
307 'target_name': 'base_message_loop_tests', | 310 'target_name': 'base_message_loop_tests', |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 'sources!': [ | 883 'sources!': [ |
881 'test/test_file_util_linux.cc', | 884 'test/test_file_util_linux.cc', |
882 ], | 885 ], |
883 }], | 886 }], |
884 ['OS == "android"', { | 887 ['OS == "android"', { |
885 'dependencies': [ | 888 'dependencies': [ |
886 'base_unittests_jni_headers', | 889 'base_unittests_jni_headers', |
887 'base_java_unittest_support', | 890 'base_java_unittest_support', |
888 ], | 891 ], |
889 }], | 892 }], |
| 893 ['OS == "ios"', { |
| 894 'toolsets': ['host', 'target'], |
| 895 }], |
890 ], | 896 ], |
891 'sources': [ | 897 'sources': [ |
892 'test/expectations/expectation.cc', | 898 'test/expectations/expectation.cc', |
893 'test/expectations/expectation.h', | 899 'test/expectations/expectation.h', |
894 'test/expectations/parser.cc', | 900 'test/expectations/parser.cc', |
895 'test/expectations/parser.h', | 901 'test/expectations/parser.h', |
896 'test/gtest_xml_util.cc', | 902 'test/gtest_xml_util.cc', |
897 'test/gtest_xml_util.h', | 903 'test/gtest_xml_util.h', |
898 'test/launcher/test_launcher.cc', | 904 'test/launcher/test_launcher.cc', |
899 'test/launcher/test_launcher.h', | 905 'test/launcher/test_launcher.h', |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 'test/values_test_util.cc', | 985 'test/values_test_util.cc', |
980 'test/values_test_util.h', | 986 'test/values_test_util.h', |
981 ], | 987 ], |
982 'target_conditions': [ | 988 'target_conditions': [ |
983 ['OS == "ios"', { | 989 ['OS == "ios"', { |
984 'sources/': [ | 990 'sources/': [ |
985 # Pull in specific Mac files for iOS (which have been filtered out | 991 # Pull in specific Mac files for iOS (which have been filtered out |
986 # by file name rules). | 992 # by file name rules). |
987 ['include', '^test/test_file_util_mac\\.cc$'], | 993 ['include', '^test/test_file_util_mac\\.cc$'], |
988 ], | 994 ], |
| 995 }], |
| 996 ['OS == "ios" and _toolset == "target"', { |
989 'sources!': [ | 997 'sources!': [ |
990 # iOS uses its own unit test launcher. | 998 # iOS uses its own unit test launcher. |
991 'test/launcher/unit_test_launcher.cc', | 999 'test/launcher/unit_test_launcher.cc', |
992 ], | 1000 ], |
993 }], | 1001 }], |
| 1002 ['OS == "ios" and _toolset == "host"', { |
| 1003 'sources!': [ |
| 1004 'test/launcher/unit_test_launcher_ios.cc', |
| 1005 'test/test_support_ios.h', |
| 1006 'test/test_support_ios.mm', |
| 1007 ], |
| 1008 }], |
994 ], # target_conditions | 1009 ], # target_conditions |
995 }, | 1010 }, |
996 { | 1011 { |
997 'target_name': 'test_support_perf', | 1012 'target_name': 'test_support_perf', |
998 'type': 'static_library', | 1013 'type': 'static_library', |
999 'dependencies': [ | 1014 'dependencies': [ |
1000 'base', | 1015 'base', |
1001 'test_support_base', | 1016 'test_support_base', |
1002 '../testing/gtest.gyp:gtest', | 1017 '../testing/gtest.gyp:gtest', |
1003 ], | 1018 ], |
1004 'sources': [ | 1019 'sources': [ |
1005 'test/run_all_perftests.cc', | 1020 'test/run_all_perftests.cc', |
1006 ], | 1021 ], |
1007 'direct_dependent_settings': { | 1022 'direct_dependent_settings': { |
1008 'defines': [ | 1023 'defines': [ |
1009 'PERF_TEST', | 1024 'PERF_TEST', |
1010 ], | 1025 ], |
1011 }, | 1026 }, |
1012 }, | 1027 }, |
1013 ], | 1028 ], |
1014 'conditions': [ | 1029 'conditions': [ |
| 1030 ['OS=="ios" and "<(GENERATOR)"=="ninja"', { |
| 1031 'targets': [ |
| 1032 { |
| 1033 'target_name': 'test_launcher', |
| 1034 'toolsets': ['host'], |
| 1035 'type': 'executable', |
| 1036 'dependencies': [ |
| 1037 'test_support_base', |
| 1038 ], |
| 1039 'sources': [ |
| 1040 'test/launcher/test_launcher_ios.cc', |
| 1041 ], |
| 1042 }, |
| 1043 ], |
| 1044 }], |
1015 ['OS!="ios"', { | 1045 ['OS!="ios"', { |
1016 'targets': [ | 1046 'targets': [ |
1017 { | 1047 { |
1018 'target_name': 'check_example', | 1048 'target_name': 'check_example', |
1019 'type': 'executable', | 1049 'type': 'executable', |
1020 'sources': [ | 1050 'sources': [ |
1021 'check_example.cc', | 1051 'check_example.cc', |
1022 ], | 1052 ], |
1023 'dependencies': [ | 1053 'dependencies': [ |
1024 'base', | 1054 'base', |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1374 'target_name': 'base_java_application_state', | 1404 'target_name': 'base_java_application_state', |
1375 'type': 'none', | 1405 'type': 'none', |
1376 'variables': { | 1406 'variables': { |
1377 'source_file': 'android/application_status_listener.h', | 1407 'source_file': 'android/application_status_listener.h', |
1378 }, | 1408 }, |
1379 'includes': [ '../build/android/java_cpp_enum.gypi' ], | 1409 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
1380 }, | 1410 }, |
1381 { | 1411 { |
1382 # GN: //base:base_android_java_enums_srcjar | 1412 # GN: //base:base_android_java_enums_srcjar |
1383 'target_name': 'base_java_library_load_from_apk_status_codes', | 1413 'target_name': 'base_java_library_load_from_apk_status_codes', |
1384 'toolsets': ['host', 'target'], | |
1385 'type': 'none', | 1414 'type': 'none', |
1386 'variables': { | 1415 'variables': { |
1387 'source_file': 'android/library_loader/library_load_from_apk_status_
codes.h' | 1416 'source_file': 'android/library_loader/library_load_from_apk_status_
codes.h' |
1388 }, | 1417 }, |
1389 'includes': [ '../build/android/java_cpp_enum.gypi' ], | 1418 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
1390 }, | 1419 }, |
1391 { | 1420 { |
1392 # GN: //base:base_android_java_enums_srcjar | 1421 # GN: //base:base_android_java_enums_srcjar |
1393 'target_name': 'base_java_memory_pressure_level', | 1422 'target_name': 'base_java_memory_pressure_level', |
1394 'type': 'none', | 1423 'type': 'none', |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1509 'dependencies': [ | 1538 'dependencies': [ |
1510 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1539 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1511 ], | 1540 ], |
1512 }], | 1541 }], |
1513 ], | 1542 ], |
1514 }, | 1543 }, |
1515 ], | 1544 ], |
1516 }], | 1545 }], |
1517 ], | 1546 ], |
1518 } | 1547 } |
OLD | NEW |