Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: base/base.gyp

Issue 669673004: Check in executable for iOS test launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/test/launcher/test_launcher_ios.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 28 matching lines...) Expand all
258 'sync_socket.h', 258 'sync_socket.h',
259 'sync_socket_win.cc', 259 'sync_socket_win.cc',
260 'sync_socket_posix.cc', 260 'sync_socket_posix.cc',
261 ], 261 ],
262 'includes': [ 262 'includes': [
263 '../build/android/increase_size_for_speed.gypi', 263 '../build/android/increase_size_for_speed.gypi',
264 ], 264 ],
265 }, 265 },
266 { 266 {
267 'target_name': 'base_i18n', 267 'target_name': 'base_i18n',
268 'toolsets': ['host', 'target'],
268 'type': '<(component)', 269 'type': '<(component)',
269 'variables': { 270 'variables': {
270 'enable_wexit_time_destructors': 1, 271 'enable_wexit_time_destructors': 1,
271 'optimize': 'max', 272 'optimize': 'max',
272 'base_i18n_target': 1, 273 'base_i18n_target': 1,
273 }, 274 },
274 'dependencies': [ 275 'dependencies': [
275 'base', 276 'base',
276 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', 277 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
277 '../third_party/icu/icu.gyp:icui18n', 278 '../third_party/icu/icu.gyp:icui18n',
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 'base_i18n', 849 'base_i18n',
849 'base', 850 'base',
850 ], 851 ],
851 'sources': [ 852 'sources': [
852 'i18n/streaming_utf8_validator_perftest.cc', 853 'i18n/streaming_utf8_validator_perftest.cc',
853 ], 854 ],
854 }, 855 },
855 { 856 {
856 # GN: //base/test:test_support 857 # GN: //base/test:test_support
857 'target_name': 'test_support_base', 858 'target_name': 'test_support_base',
859 'toolsets': ['host', 'target'],
858 'type': 'static_library', 860 'type': 'static_library',
859 'dependencies': [ 861 'dependencies': [
860 'base', 862 'base',
861 'base_static', 863 'base_static',
862 'base_i18n', 864 'base_i18n',
863 '../testing/gmock.gyp:gmock', 865 '../testing/gmock.gyp:gmock',
864 '../testing/gtest.gyp:gtest', 866 '../testing/gtest.gyp:gtest',
865 '../third_party/libxml/libxml.gyp:libxml', 867 '../third_party/libxml/libxml.gyp:libxml',
866 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', 868 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
867 ], 869 ],
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 'test/values_test_util.cc', 980 'test/values_test_util.cc',
979 'test/values_test_util.h', 981 'test/values_test_util.h',
980 ], 982 ],
981 'target_conditions': [ 983 'target_conditions': [
982 ['OS == "ios"', { 984 ['OS == "ios"', {
983 'sources/': [ 985 'sources/': [
984 # Pull in specific Mac files for iOS (which have been filtered out 986 # Pull in specific Mac files for iOS (which have been filtered out
985 # by file name rules). 987 # by file name rules).
986 ['include', '^test/test_file_util_mac\\.cc$'], 988 ['include', '^test/test_file_util_mac\\.cc$'],
987 ], 989 ],
990 }],
991 ['OS == "ios" and _toolset == "target"', {
988 'sources!': [ 992 'sources!': [
989 # iOS uses its own unit test launcher. 993 # iOS uses its own unit test launcher.
990 'test/launcher/unit_test_launcher.cc', 994 'test/launcher/unit_test_launcher.cc',
991 ], 995 ],
992 }], 996 }],
997 ['OS == "ios" and _toolset == "host"', {
998 'sources!': [
999 'test/launcher/unit_test_launcher_ios.cc',
1000 'test/test_support_ios.h',
1001 'test/test_support_ios.mm',
1002 ],
1003 }],
993 ], # target_conditions 1004 ], # target_conditions
994 }, 1005 },
995 { 1006 {
996 'target_name': 'test_support_perf', 1007 'target_name': 'test_support_perf',
997 'type': 'static_library', 1008 'type': 'static_library',
998 'dependencies': [ 1009 'dependencies': [
999 'base', 1010 'base',
1000 'test_support_base', 1011 'test_support_base',
1001 '../testing/gtest.gyp:gtest', 1012 '../testing/gtest.gyp:gtest',
1002 ], 1013 ],
1003 'sources': [ 1014 'sources': [
1004 'test/run_all_perftests.cc', 1015 'test/run_all_perftests.cc',
1005 ], 1016 ],
1006 'direct_dependent_settings': { 1017 'direct_dependent_settings': {
1007 'defines': [ 1018 'defines': [
1008 'PERF_TEST', 1019 'PERF_TEST',
1009 ], 1020 ],
1010 }, 1021 },
1011 }, 1022 },
1012 ], 1023 ],
1013 'conditions': [ 1024 'conditions': [
1025 ['OS=="ios" and "<(GENERATOR)"=="ninja"', {
1026 'targets': [
1027 {
1028 'target_name': 'test_launcher',
1029 'toolsets': ['host'],
1030 'type': 'executable',
1031 'dependencies': [
1032 'test_support_base',
1033 ],
1034 'sources': [
1035 'test/launcher/test_launcher_ios.cc',
1036 ],
1037 },
1038 ],
1039 }],
1014 ['OS!="ios"', { 1040 ['OS!="ios"', {
1015 'targets': [ 1041 'targets': [
1016 { 1042 {
1017 'target_name': 'check_example', 1043 'target_name': 'check_example',
1018 'type': 'executable', 1044 'type': 'executable',
1019 'sources': [ 1045 'sources': [
1020 'check_example.cc', 1046 'check_example.cc',
1021 ], 1047 ],
1022 'dependencies': [ 1048 'dependencies': [
1023 'base', 1049 'base',
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 '../build/android/increase_size_for_speed.gypi', 1299 '../build/android/increase_size_for_speed.gypi',
1274 ], 1300 ],
1275 }, 1301 },
1276 ], 1302 ],
1277 }], 1303 }],
1278 ['OS == "android"', { 1304 ['OS == "android"', {
1279 'targets': [ 1305 'targets': [
1280 { 1306 {
1281 # GN: //base:base_jni_headers 1307 # GN: //base:base_jni_headers
1282 'target_name': 'base_jni_headers', 1308 'target_name': 'base_jni_headers',
1309 'toolsets': ['host', 'target'],
1283 'type': 'none', 1310 'type': 'none',
1284 'sources': [ 1311 'sources': [
1285 'android/java/src/org/chromium/base/ApplicationStatus.java', 1312 'android/java/src/org/chromium/base/ApplicationStatus.java',
1286 'android/java/src/org/chromium/base/BuildInfo.java', 1313 'android/java/src/org/chromium/base/BuildInfo.java',
1287 'android/java/src/org/chromium/base/CommandLine.java', 1314 'android/java/src/org/chromium/base/CommandLine.java',
1288 'android/java/src/org/chromium/base/ContentUriUtils.java', 1315 'android/java/src/org/chromium/base/ContentUriUtils.java',
1289 'android/java/src/org/chromium/base/CpuFeatures.java', 1316 'android/java/src/org/chromium/base/CpuFeatures.java',
1290 'android/java/src/org/chromium/base/EventLog.java', 1317 'android/java/src/org/chromium/base/EventLog.java',
1291 'android/java/src/org/chromium/base/FieldTrialList.java', 1318 'android/java/src/org/chromium/base/FieldTrialList.java',
1292 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' , 1319 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' ,
(...skipping 11 matching lines...) Expand all
1304 'android/java/src/org/chromium/base/TraceEvent.java', 1331 'android/java/src/org/chromium/base/TraceEvent.java',
1305 ], 1332 ],
1306 'variables': { 1333 'variables': {
1307 'jni_gen_package': 'base', 1334 'jni_gen_package': 'base',
1308 }, 1335 },
1309 'includes': [ '../build/jni_generator.gypi' ], 1336 'includes': [ '../build/jni_generator.gypi' ],
1310 }, 1337 },
1311 { 1338 {
1312 # TODO(GN) 1339 # TODO(GN)
1313 'target_name': 'base_unittests_jni_headers', 1340 'target_name': 'base_unittests_jni_headers',
1341 'toolsets': ['host', 'target'],
1314 'type': 'none', 1342 'type': 'none',
1315 'sources': [ 1343 'sources': [
1316 'test/android/java/src/org/chromium/base/ContentUriTestUtils.java', 1344 'test/android/java/src/org/chromium/base/ContentUriTestUtils.java',
1317 ], 1345 ],
1318 'variables': { 1346 'variables': {
1319 'jni_gen_package': 'base', 1347 'jni_gen_package': 'base',
1320 }, 1348 },
1321 'includes': [ '../build/jni_generator.gypi' ], 1349 'includes': [ '../build/jni_generator.gypi' ],
1322 }, 1350 },
1323 { 1351 {
1324 # GN: //base:base_native_libraries_gen 1352 # GN: //base:base_native_libraries_gen
1325 'target_name': 'base_native_libraries_gen', 1353 'target_name': 'base_native_libraries_gen',
1354 'toolsets': ['host', 'target'],
1326 'type': 'none', 1355 'type': 'none',
1327 'sources': [ 1356 'sources': [
1328 'android/java/templates/NativeLibraries.template', 1357 'android/java/templates/NativeLibraries.template',
1329 ], 1358 ],
1330 'variables': { 1359 'variables': {
1331 'package_name': 'org/chromium/base/library_loader', 1360 'package_name': 'org/chromium/base/library_loader',
1332 'template_deps': [], 1361 'template_deps': [],
1333 }, 1362 },
1334 'includes': [ '../build/android/java_cpp_template.gypi' ], 1363 'includes': [ '../build/android/java_cpp_template.gypi' ],
1335 }, 1364 },
1336 { 1365 {
1337 # GN: //base:base_java 1366 # GN: //base:base_java
1338 'target_name': 'base_java', 1367 'target_name': 'base_java',
1368 'toolsets': ['host', 'target'],
1339 'type': 'none', 1369 'type': 'none',
1340 'variables': { 1370 'variables': {
1341 'java_in_dir': '../base/android/java', 1371 'java_in_dir': '../base/android/java',
1342 'jar_excluded_classes': [ '*/NativeLibraries.class' ], 1372 'jar_excluded_classes': [ '*/NativeLibraries.class' ],
1343 }, 1373 },
1344 'dependencies': [ 1374 'dependencies': [
1345 'base_java_application_state', 1375 'base_java_application_state',
1346 'base_java_memory_pressure_level', 1376 'base_java_memory_pressure_level',
1347 'base_native_libraries_gen', 1377 'base_native_libraries_gen',
1348 ], 1378 ],
1349 'includes': [ '../build/java.gypi' ], 1379 'includes': [ '../build/java.gypi' ],
1350 'conditions': [ 1380 'conditions': [
1351 ['android_webview_build==0', { 1381 ['android_webview_build==0', {
1352 'dependencies': [ 1382 'dependencies': [
1353 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', 1383 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib',
1354 ], 1384 ],
1355 }] 1385 }]
1356 ], 1386 ],
1357 }, 1387 },
1358 { 1388 {
1359 # GN: //base:base_java_unittest_support 1389 # GN: //base:base_java_unittest_support
1360 'target_name': 'base_java_unittest_support', 1390 'target_name': 'base_java_unittest_support',
1391 'toolsets': ['host', 'target'],
1361 'type': 'none', 1392 'type': 'none',
1362 'dependencies': [ 1393 'dependencies': [
1363 'base_java', 1394 'base_java',
1364 ], 1395 ],
1365 'variables': { 1396 'variables': {
1366 'java_in_dir': '../base/test/android/java', 1397 'java_in_dir': '../base/test/android/java',
1367 }, 1398 },
1368 'includes': [ '../build/java.gypi' ], 1399 'includes': [ '../build/java.gypi' ],
1369 }, 1400 },
1370 { 1401 {
1371 # GN: //base:base_android_java_enums_srcjar 1402 # GN: //base:base_android_java_enums_srcjar
1372 'target_name': 'base_java_application_state', 1403 'target_name': 'base_java_application_state',
1404 'toolsets': ['host', 'target'],
1373 'type': 'none', 1405 'type': 'none',
1374 'variables': { 1406 'variables': {
1375 'source_file': 'android/application_status_listener.h', 1407 'source_file': 'android/application_status_listener.h',
1376 }, 1408 },
1377 'includes': [ '../build/android/java_cpp_enum.gypi' ], 1409 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1378 }, 1410 },
1379 { 1411 {
1380 # GN: //base:base_android_java_enums_srcjar 1412 # GN: //base:base_android_java_enums_srcjar
1381 'target_name': 'base_java_memory_pressure_level', 1413 'target_name': 'base_java_memory_pressure_level',
1414 'toolsets': ['host', 'target'],
1382 'type': 'none', 1415 'type': 'none',
1383 'variables': { 1416 'variables': {
1384 'source_file': 'memory/memory_pressure_listener.h', 1417 'source_file': 'memory/memory_pressure_listener.h',
1385 }, 1418 },
1386 'includes': [ '../build/android/java_cpp_enum.gypi' ], 1419 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1387 }, 1420 },
1388 { 1421 {
1389 # GN: //base:base_java_test_support 1422 # GN: //base:base_java_test_support
1390 'target_name': 'base_java_test_support', 1423 'target_name': 'base_java_test_support',
1391 'type': 'none', 1424 'type': 'none',
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1497 'dependencies': [ 1530 'dependencies': [
1498 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1531 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1499 ], 1532 ],
1500 }], 1533 }],
1501 ], 1534 ],
1502 }, 1535 },
1503 ], 1536 ],
1504 }], 1537 }],
1505 ], 1538 ],
1506 } 1539 }
OLDNEW
« no previous file with comments | « no previous file | base/test/launcher/test_launcher_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698