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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 'sources!': [ | 897 'sources!': [ |
898 'test/scoped_locale.cc', | 898 'test/scoped_locale.cc', |
899 'test/scoped_locale.h', | 899 'test/scoped_locale.h', |
900 ], | 900 ], |
901 }], | 901 }], |
902 ['os_bsd==1', { | 902 ['os_bsd==1', { |
903 'sources!': [ | 903 'sources!': [ |
904 'test/test_file_util_linux.cc', | 904 'test/test_file_util_linux.cc', |
905 ], | 905 ], |
906 }], | 906 }], |
| 907 ['OS == "android"', { |
| 908 'dependencies': [ |
| 909 'base_unittests_jni_headers', |
| 910 ], |
| 911 'include_dirs': [ |
| 912 '<(SHARED_INTERMEDIATE_DIR)/base', |
| 913 ], |
| 914 }], |
907 ], | 915 ], |
908 'sources': [ | 916 'sources': [ |
909 'test/expectations/expectation.cc', | 917 'test/expectations/expectation.cc', |
910 'test/expectations/expectation.h', | 918 'test/expectations/expectation.h', |
911 'test/expectations/parser.cc', | 919 'test/expectations/parser.cc', |
912 'test/expectations/parser.h', | 920 'test/expectations/parser.h', |
913 'test/gtest_xml_util.cc', | 921 'test/gtest_xml_util.cc', |
914 'test/gtest_xml_util.h', | 922 'test/gtest_xml_util.h', |
915 'test/launcher/test_launcher.cc', | 923 'test/launcher/test_launcher.cc', |
916 'test/launcher/test_launcher.h', | 924 'test/launcher/test_launcher.h', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 'test/sequenced_worker_pool_owner.cc', | 957 'test/sequenced_worker_pool_owner.cc', |
950 'test/sequenced_worker_pool_owner.h', | 958 'test/sequenced_worker_pool_owner.h', |
951 'test/simple_test_clock.cc', | 959 'test/simple_test_clock.cc', |
952 'test/simple_test_clock.h', | 960 'test/simple_test_clock.h', |
953 'test/simple_test_tick_clock.cc', | 961 'test/simple_test_tick_clock.cc', |
954 'test/simple_test_tick_clock.h', | 962 'test/simple_test_tick_clock.h', |
955 'test/task_runner_test_template.cc', | 963 'test/task_runner_test_template.cc', |
956 'test/task_runner_test_template.h', | 964 'test/task_runner_test_template.h', |
957 'test/test_file_util.cc', | 965 'test/test_file_util.cc', |
958 'test/test_file_util.h', | 966 'test/test_file_util.h', |
| 967 'test/test_file_util_android.cc', |
959 'test/test_file_util_linux.cc', | 968 'test/test_file_util_linux.cc', |
960 'test/test_file_util_mac.cc', | 969 'test/test_file_util_mac.cc', |
961 'test/test_file_util_posix.cc', | 970 'test/test_file_util_posix.cc', |
962 'test/test_file_util_win.cc', | 971 'test/test_file_util_win.cc', |
963 'test/test_listener_ios.h', | 972 'test/test_listener_ios.h', |
964 'test/test_listener_ios.mm', | 973 'test/test_listener_ios.mm', |
965 'test/test_pending_task.cc', | 974 'test/test_pending_task.cc', |
966 'test/test_pending_task.h', | 975 'test/test_pending_task.h', |
967 'test/test_process_killer_win.cc', | 976 'test/test_process_killer_win.cc', |
968 'test/test_process_killer_win.h', | 977 'test/test_process_killer_win.h', |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1215 ], | 1224 ], |
1216 }], | 1225 }], |
1217 ['OS == "android"', { | 1226 ['OS == "android"', { |
1218 'targets': [ | 1227 'targets': [ |
1219 { | 1228 { |
1220 'target_name': 'base_jni_headers', | 1229 'target_name': 'base_jni_headers', |
1221 'type': 'none', | 1230 'type': 'none', |
1222 'sources': [ | 1231 'sources': [ |
1223 'android/java/src/org/chromium/base/ActivityStatus.java', | 1232 'android/java/src/org/chromium/base/ActivityStatus.java', |
1224 'android/java/src/org/chromium/base/BuildInfo.java', | 1233 'android/java/src/org/chromium/base/BuildInfo.java', |
| 1234 'android/java/src/org/chromium/base/ContentUriUtils.java', |
1225 'android/java/src/org/chromium/base/CpuFeatures.java', | 1235 'android/java/src/org/chromium/base/CpuFeatures.java', |
1226 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java'
, | 1236 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java'
, |
1227 'android/java/src/org/chromium/base/MemoryPressureListener.java', | 1237 'android/java/src/org/chromium/base/MemoryPressureListener.java', |
1228 'android/java/src/org/chromium/base/JavaHandlerThread.java', | 1238 'android/java/src/org/chromium/base/JavaHandlerThread.java', |
1229 'android/java/src/org/chromium/base/PathService.java', | 1239 'android/java/src/org/chromium/base/PathService.java', |
1230 'android/java/src/org/chromium/base/PathUtils.java', | 1240 'android/java/src/org/chromium/base/PathUtils.java', |
1231 'android/java/src/org/chromium/base/PowerMonitor.java', | 1241 'android/java/src/org/chromium/base/PowerMonitor.java', |
1232 'android/java/src/org/chromium/base/SystemMessageHandler.java', | 1242 'android/java/src/org/chromium/base/SystemMessageHandler.java', |
1233 'android/java/src/org/chromium/base/SysUtils.java', | 1243 'android/java/src/org/chromium/base/SysUtils.java', |
1234 'android/java/src/org/chromium/base/ThreadUtils.java', | 1244 'android/java/src/org/chromium/base/ThreadUtils.java', |
1235 ], | 1245 ], |
1236 'conditions': [ | 1246 'conditions': [ |
1237 ['google_tv==1', { | 1247 ['google_tv==1', { |
1238 'sources': [ | 1248 'sources': [ |
1239 'android/java/src/org/chromium/base/ContextTypes.java', | 1249 'android/java/src/org/chromium/base/ContextTypes.java', |
1240 ], | 1250 ], |
1241 }], | 1251 }], |
1242 ], | 1252 ], |
1243 'variables': { | 1253 'variables': { |
1244 'jni_gen_package': 'base', | 1254 'jni_gen_package': 'base', |
1245 }, | 1255 }, |
1246 'includes': [ '../build/jni_generator.gypi' ], | 1256 'includes': [ '../build/jni_generator.gypi' ], |
1247 }, | 1257 }, |
1248 { | 1258 { |
| 1259 'target_name': 'base_unittests_jni_headers', |
| 1260 'type': 'none', |
| 1261 'sources': [ |
| 1262 'test/android/java/src/org/chromium/base/ContentUriTestUtils.java', |
| 1263 ], |
| 1264 'variables': { |
| 1265 'jni_gen_package': 'base', |
| 1266 }, |
| 1267 'includes': [ '../build/jni_generator.gypi' ], |
| 1268 }, |
| 1269 { |
1249 'target_name': 'base_java', | 1270 'target_name': 'base_java', |
1250 'type': 'none', | 1271 'type': 'none', |
1251 'variables': { | 1272 'variables': { |
1252 'java_in_dir': '../base/android/java', | 1273 'java_in_dir': '../base/android/java', |
1253 }, | 1274 }, |
1254 'dependencies': [ | 1275 'dependencies': [ |
1255 'base_java_activity_state', | 1276 'base_java_activity_state', |
1256 'base_java_memory_pressure_level_list', | 1277 'base_java_memory_pressure_level_list', |
1257 ], | 1278 ], |
1258 'includes': [ '../build/java.gypi' ], | 1279 'includes': [ '../build/java.gypi' ], |
1259 'conditions': [ | 1280 'conditions': [ |
1260 ['android_webview_build==0', { | 1281 ['android_webview_build==0', { |
1261 'dependencies': [ | 1282 'dependencies': [ |
1262 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', | 1283 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', |
1263 ], | 1284 ], |
1264 }] | 1285 }] |
1265 ], | 1286 ], |
1266 }, | 1287 }, |
1267 { | 1288 { |
| 1289 'target_name': 'base_java_unittest_support', |
| 1290 'type': 'none', |
| 1291 'dependencies': [ |
| 1292 'base_java', |
| 1293 ], |
| 1294 'variables': { |
| 1295 'java_in_dir': '../base/test/android/java', |
| 1296 }, |
| 1297 'includes': [ '../build/java.gypi' ], |
| 1298 }, |
| 1299 { |
1268 'target_name': 'base_java_activity_state', | 1300 'target_name': 'base_java_activity_state', |
1269 'type': 'none', | 1301 'type': 'none', |
1270 # This target is used to auto-generate ActivityState.java | 1302 # This target is used to auto-generate ActivityState.java |
1271 # from a template file. The source file contains a list of | 1303 # from a template file. The source file contains a list of |
1272 # Java constant declarations matching the ones in | 1304 # Java constant declarations matching the ones in |
1273 # android/activity_state_list.h. | 1305 # android/activity_state_list.h. |
1274 'sources': [ | 1306 'sources': [ |
1275 'android/java/src/org/chromium/base/ActivityState.template', | 1307 'android/java/src/org/chromium/base/ActivityState.template', |
1276 ], | 1308 ], |
1277 'variables': { | 1309 'variables': { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1339 # in the gyp make generator. What is the correct way to extract | 1371 # in the gyp make generator. What is the correct way to extract |
1340 # this path from gyp and into 'raw' for input to antfiles? | 1372 # this path from gyp and into 'raw' for input to antfiles? |
1341 # Hard-coding in the gypfile seems a poor choice. | 1373 # Hard-coding in the gypfile seems a poor choice. |
1342 ['OS == "android" and gtest_target_type == "shared_library"', { | 1374 ['OS == "android" and gtest_target_type == "shared_library"', { |
1343 'targets': [ | 1375 'targets': [ |
1344 { | 1376 { |
1345 'target_name': 'base_unittests_apk', | 1377 'target_name': 'base_unittests_apk', |
1346 'type': 'none', | 1378 'type': 'none', |
1347 'dependencies': [ | 1379 'dependencies': [ |
1348 'base_java', | 1380 'base_java', |
| 1381 'base_java_unittest_support', |
1349 'base_unittests', | 1382 'base_unittests', |
1350 ], | 1383 ], |
1351 'variables': { | 1384 'variables': { |
1352 'test_suite_name': 'base_unittests', | 1385 'test_suite_name': 'base_unittests', |
1353 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit
tests<(SHARED_LIB_SUFFIX)', | 1386 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit
tests<(SHARED_LIB_SUFFIX)', |
1354 }, | 1387 }, |
1355 'includes': [ '../build/apk_test.gypi' ], | 1388 'includes': [ '../build/apk_test.gypi' ], |
1356 }, | 1389 }, |
1357 ], | 1390 ], |
1358 }], | 1391 }], |
(...skipping 10 matching lines...) Expand all Loading... |
1369 'base_unittests.isolate', | 1402 'base_unittests.isolate', |
1370 ], | 1403 ], |
1371 'sources': [ | 1404 'sources': [ |
1372 'base_unittests.isolate', | 1405 'base_unittests.isolate', |
1373 ], | 1406 ], |
1374 }, | 1407 }, |
1375 ], | 1408 ], |
1376 }], | 1409 }], |
1377 ], | 1410 ], |
1378 } | 1411 } |
OLD | NEW |