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 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1336 { | 1336 { |
1337 # GN: //base:base_java | 1337 # GN: //base:base_java |
1338 'target_name': 'base_java', | 1338 'target_name': 'base_java', |
1339 'type': 'none', | 1339 'type': 'none', |
1340 'variables': { | 1340 'variables': { |
1341 'java_in_dir': '../base/android/java', | 1341 'java_in_dir': '../base/android/java', |
1342 'jar_excluded_classes': [ '*/NativeLibraries.class' ], | 1342 'jar_excluded_classes': [ '*/NativeLibraries.class' ], |
1343 }, | 1343 }, |
1344 'dependencies': [ | 1344 'dependencies': [ |
1345 'base_java_application_state', | 1345 'base_java_application_state', |
1346 'base_java_memory_pressure_level_list', | 1346 'base_java_memory_pressure_level', |
1347 'base_native_libraries_gen', | 1347 'base_native_libraries_gen', |
1348 ], | 1348 ], |
1349 'includes': [ '../build/java.gypi' ], | 1349 'includes': [ '../build/java.gypi' ], |
1350 'conditions': [ | 1350 'conditions': [ |
1351 ['android_webview_build==0', { | 1351 ['android_webview_build==0', { |
1352 'dependencies': [ | 1352 'dependencies': [ |
1353 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', | 1353 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', |
1354 ], | 1354 ], |
1355 }] | 1355 }] |
1356 ], | 1356 ], |
1357 }, | 1357 }, |
1358 { | 1358 { |
1359 # GN: //base:base_java_unittest_support | 1359 # GN: //base:base_java_unittest_support |
1360 'target_name': 'base_java_unittest_support', | 1360 'target_name': 'base_java_unittest_support', |
1361 'type': 'none', | 1361 'type': 'none', |
1362 'dependencies': [ | 1362 'dependencies': [ |
1363 'base_java', | 1363 'base_java', |
1364 ], | 1364 ], |
1365 'variables': { | 1365 'variables': { |
1366 'java_in_dir': '../base/test/android/java', | 1366 'java_in_dir': '../base/test/android/java', |
1367 }, | 1367 }, |
1368 'includes': [ '../build/java.gypi' ], | 1368 'includes': [ '../build/java.gypi' ], |
1369 }, | 1369 }, |
1370 { | 1370 { |
1371 # GN: //base:base_java_application_state | 1371 # GN: //base:base_android_java_enums_srcjar |
1372 'target_name': 'base_java_application_state', | 1372 'target_name': 'base_java_application_state', |
1373 'type': 'none', | 1373 'type': 'none', |
1374 # This target is used to auto-generate ApplicationState.java | |
1375 # from a template file. The source file contains a list of | |
1376 # Java constant declarations matching the ones in | |
1377 # android/application_state_list.h. | |
1378 'sources': [ | |
1379 'android/java/src/org/chromium/base/ApplicationState.template', | |
1380 ], | |
1381 'variables': { | 1374 'variables': { |
1382 'package_name': 'org/chromium/base', | 1375 'source_file': 'android/application_status_listener.h', |
1383 'template_deps': ['android/application_state_list.h'], | |
1384 }, | 1376 }, |
1385 'includes': [ '../build/android/java_cpp_template.gypi' ], | 1377 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
1386 }, | 1378 }, |
1387 { | 1379 { |
1388 # GN: //base:base_java_memory_pressure_level_list | 1380 # GN: //base:base_android_java_enums_srcjar |
1389 'target_name': 'base_java_memory_pressure_level_list', | 1381 'target_name': 'base_java_memory_pressure_level', |
1390 'type': 'none', | 1382 'type': 'none', |
1391 'sources': [ | |
1392 'android/java/src/org/chromium/base/MemoryPressureLevelList.template
', | |
1393 ], | |
1394 'variables': { | 1383 'variables': { |
1395 'package_name': 'org/chromium/base', | 1384 'source_file': 'memory/memory_pressure_listener.h', |
1396 'template_deps': ['memory/memory_pressure_level_list.h'], | |
1397 }, | 1385 }, |
1398 'includes': [ '../build/android/java_cpp_template.gypi' ], | 1386 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
1399 }, | 1387 }, |
1400 { | 1388 { |
1401 # GN: //base:base_java_test_support | 1389 # GN: //base:base_java_test_support |
1402 'target_name': 'base_java_test_support', | 1390 'target_name': 'base_java_test_support', |
1403 'type': 'none', | 1391 'type': 'none', |
1404 'dependencies': [ | 1392 'dependencies': [ |
1405 'base_java', | 1393 'base_java', |
1406 ], | 1394 ], |
1407 'variables': { | 1395 'variables': { |
1408 'java_in_dir': '../base/test/android/javatests', | 1396 'java_in_dir': '../base/test/android/javatests', |
1409 }, | 1397 }, |
1410 'includes': [ '../build/java.gypi' ], | 1398 'includes': [ '../build/java.gypi' ], |
1411 }, | 1399 }, |
1412 { | 1400 { |
1413 # GN: //base:base_javatests | 1401 # GN: //base:base_javatests |
1414 'target_name': 'base_javatests', | 1402 'target_name': 'base_javatests', |
1415 'type': 'none', | 1403 'type': 'none', |
1416 'dependencies': [ | 1404 'dependencies': [ |
1417 'base_java', | 1405 'base_java', |
1418 'base_java_test_support', | 1406 'base_java_test_support', |
1419 ], | 1407 ], |
1420 'variables': { | 1408 'variables': { |
1421 'java_in_dir': '../base/android/javatests', | 1409 'java_in_dir': '../base/android/javatests', |
1422 }, | 1410 }, |
1423 'includes': [ '../build/java.gypi' ], | 1411 'includes': [ '../build/java.gypi' ], |
1424 }, | 1412 }, |
1425 { | 1413 { |
1426 # GN: //base/android/chromium_android_linker | 1414 # GN: //base/android/linker:chromium_android_linker |
1427 'target_name': 'chromium_android_linker', | 1415 'target_name': 'chromium_android_linker', |
1428 'type': 'shared_library', | 1416 'type': 'shared_library', |
1429 'conditions': [ | 1417 'conditions': [ |
1430 # Avoid breaking the webview build because it | 1418 # Avoid breaking the webview build because it |
1431 # does not have <(android_ndk_root)/crazy_linker.gyp. | 1419 # does not have <(android_ndk_root)/crazy_linker.gyp. |
1432 # Note that webview never uses the linker anyway. | 1420 # Note that webview never uses the linker anyway. |
1433 ['android_webview_build == 0', { | 1421 ['android_webview_build == 0', { |
1434 'sources': [ | 1422 'sources': [ |
1435 'android/linker/linker_jni.cc', | 1423 'android/linker/linker_jni.cc', |
1436 ], | 1424 ], |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1509 'dependencies': [ | 1497 'dependencies': [ |
1510 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1498 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1511 ], | 1499 ], |
1512 }], | 1500 }], |
1513 ], | 1501 ], |
1514 }, | 1502 }, |
1515 ], | 1503 ], |
1516 }], | 1504 }], |
1517 ], | 1505 ], |
1518 } | 1506 } |
OLD | NEW |