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

Side by Side Diff: base/base.gyp

Issue 659493003: Final step of the java_cpp_template -> java_cpp_enum migration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: delete some more template files 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
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 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 { 1317 {
1318 # GN: //base:base_java 1318 # GN: //base:base_java
1319 'target_name': 'base_java', 1319 'target_name': 'base_java',
1320 'type': 'none', 1320 'type': 'none',
1321 'variables': { 1321 'variables': {
1322 'java_in_dir': '../base/android/java', 1322 'java_in_dir': '../base/android/java',
1323 'jar_excluded_classes': [ '*/NativeLibraries.class' ], 1323 'jar_excluded_classes': [ '*/NativeLibraries.class' ],
1324 }, 1324 },
1325 'dependencies': [ 1325 'dependencies': [
1326 'base_java_application_state', 1326 'base_java_application_state',
1327 'base_java_memory_pressure_level_list', 1327 'base_java_memory_pressure_level',
1328 'base_native_libraries_gen', 1328 'base_native_libraries_gen',
1329 ], 1329 ],
1330 'includes': [ '../build/java.gypi' ], 1330 'includes': [ '../build/java.gypi' ],
1331 'conditions': [ 1331 'conditions': [
1332 ['android_webview_build==0', { 1332 ['android_webview_build==0', {
1333 'dependencies': [ 1333 'dependencies': [
1334 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', 1334 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib',
1335 ], 1335 ],
1336 }] 1336 }]
1337 ], 1337 ],
1338 }, 1338 },
1339 { 1339 {
1340 # GN: //base:base_java_unittest_support 1340 # GN: //base:base_java_unittest_support
1341 'target_name': 'base_java_unittest_support', 1341 'target_name': 'base_java_unittest_support',
1342 'type': 'none', 1342 'type': 'none',
1343 'dependencies': [ 1343 'dependencies': [
1344 'base_java', 1344 'base_java',
1345 ], 1345 ],
1346 'variables': { 1346 'variables': {
1347 'java_in_dir': '../base/test/android/java', 1347 'java_in_dir': '../base/test/android/java',
1348 }, 1348 },
1349 'includes': [ '../build/java.gypi' ], 1349 'includes': [ '../build/java.gypi' ],
1350 }, 1350 },
1351 { 1351 {
1352 # GN: //base:base_java_application_state 1352 # GN: //base:base_android_java_enums_srcjar
1353 'target_name': 'base_java_application_state', 1353 'target_name': 'base_java_application_state',
1354 'type': 'none', 1354 'type': 'none',
1355 # This target is used to auto-generate ApplicationState.java
1356 # from a template file. The source file contains a list of
1357 # Java constant declarations matching the ones in
1358 # android/application_state_list.h.
1359 'sources': [
1360 'android/java/src/org/chromium/base/ApplicationState.template',
1361 ],
1362 'variables': { 1355 'variables': {
1363 'package_name': 'org/chromium/base', 1356 'source_file': 'android/application_status_listener.h',
1364 'template_deps': ['android/application_state_list.h'],
1365 }, 1357 },
1366 'includes': [ '../build/android/java_cpp_template.gypi' ], 1358 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1367 }, 1359 },
1368 { 1360 {
1369 # GN: //base:base_java_memory_pressure_level_list 1361 # GN: //base:base_android_java_enums_srcjar
1370 'target_name': 'base_java_memory_pressure_level_list', 1362 'target_name': 'base_java_memory_pressure_level',
Lei Zhang 2014/10/14 22:52:40 I'm guessing there's no way to combine this with b
mkosiba (inactive) 2014/10/15 09:46:08 It's possible but it would mean all the generated
1371 'type': 'none', 1363 'type': 'none',
1372 'sources': [
1373 'android/java/src/org/chromium/base/MemoryPressureLevelList.template ',
1374 ],
1375 'variables': { 1364 'variables': {
1376 'package_name': 'org/chromium/base', 1365 'source_file': 'memory/memory_pressure_listener.h',
1377 'template_deps': ['memory/memory_pressure_level_list.h'],
1378 }, 1366 },
1379 'includes': [ '../build/android/java_cpp_template.gypi' ], 1367 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1380 }, 1368 },
1381 { 1369 {
1382 # GN: //base:base_java_test_support 1370 # GN: //base:base_java_test_support
1383 'target_name': 'base_java_test_support', 1371 'target_name': 'base_java_test_support',
1384 'type': 'none', 1372 'type': 'none',
1385 'dependencies': [ 1373 'dependencies': [
1386 'base_java', 1374 'base_java',
1387 ], 1375 ],
1388 'variables': { 1376 'variables': {
1389 'java_in_dir': '../base/test/android/javatests', 1377 'java_in_dir': '../base/test/android/javatests',
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 'dependencies': [ 1478 'dependencies': [
1491 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1479 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1492 ], 1480 ],
1493 }], 1481 }],
1494 ], 1482 ],
1495 }, 1483 },
1496 ], 1484 ],
1497 }], 1485 }],
1498 ], 1486 ],
1499 } 1487 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698