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

Side by Side Diff: base/base.gyp

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