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

Side by Side Diff: base/base.gyp

Issue 159173002: Refactor ActivityStatus to not store current activity (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 10 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 | Annotate | Revision Log
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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 ], 432 ],
433 'sources': [ 433 'sources': [
434 'test/run_all_unittests.cc', 434 'test/run_all_unittests.cc',
435 ], 435 ],
436 }, 436 },
437 { 437 {
438 'target_name': 'base_unittests', 438 'target_name': 'base_unittests',
439 'type': '<(gtest_target_type)', 439 'type': '<(gtest_target_type)',
440 'sources': [ 440 'sources': [
441 # Tests. 441 # Tests.
442 'android/activity_status_unittest.cc', 442 'android/application_status_listener_unittest.cc',
443 'android/jni_android_unittest.cc', 443 'android/jni_android_unittest.cc',
444 'android/jni_array_unittest.cc', 444 'android/jni_array_unittest.cc',
445 'android/jni_string_unittest.cc', 445 'android/jni_string_unittest.cc',
446 'android/path_utils_unittest.cc', 446 'android/path_utils_unittest.cc',
447 'android/scoped_java_ref_unittest.cc', 447 'android/scoped_java_ref_unittest.cc',
448 'android/sys_utils_unittest.cc', 448 'android/sys_utils_unittest.cc',
449 'async_socket_io_handler_unittest.cc', 449 'async_socket_io_handler_unittest.cc',
450 'at_exit_unittest.cc', 450 'at_exit_unittest.cc',
451 'atomicops_unittest.cc', 451 'atomicops_unittest.cc',
452 'barrier_closure_unittest.cc', 452 'barrier_closure_unittest.cc',
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 ], 1230 ],
1231 }, 1231 },
1232 ], 1232 ],
1233 }], 1233 }],
1234 ['OS == "android"', { 1234 ['OS == "android"', {
1235 'targets': [ 1235 'targets': [
1236 { 1236 {
1237 'target_name': 'base_jni_headers', 1237 'target_name': 'base_jni_headers',
1238 'type': 'none', 1238 'type': 'none',
1239 'sources': [ 1239 'sources': [
1240 'android/java/src/org/chromium/base/ActivityStatus.java', 1240 'android/java/src/org/chromium/base/ApplicationStatus.java',
1241 'android/java/src/org/chromium/base/BuildInfo.java', 1241 'android/java/src/org/chromium/base/BuildInfo.java',
1242 'android/java/src/org/chromium/base/CommandLine.java', 1242 'android/java/src/org/chromium/base/CommandLine.java',
1243 'android/java/src/org/chromium/base/ContentUriUtils.java', 1243 'android/java/src/org/chromium/base/ContentUriUtils.java',
1244 'android/java/src/org/chromium/base/CpuFeatures.java', 1244 'android/java/src/org/chromium/base/CpuFeatures.java',
1245 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' , 1245 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' ,
1246 'android/java/src/org/chromium/base/library_loader/LibraryLoader.jav a', 1246 'android/java/src/org/chromium/base/library_loader/LibraryLoader.jav a',
1247 'android/java/src/org/chromium/base/MemoryPressureListener.java', 1247 'android/java/src/org/chromium/base/MemoryPressureListener.java',
1248 'android/java/src/org/chromium/base/JavaHandlerThread.java', 1248 'android/java/src/org/chromium/base/JavaHandlerThread.java',
1249 'android/java/src/org/chromium/base/PathService.java', 1249 'android/java/src/org/chromium/base/PathService.java',
1250 'android/java/src/org/chromium/base/PathUtils.java', 1250 'android/java/src/org/chromium/base/PathUtils.java',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 'includes': [ '../build/android/java_cpp_template.gypi' ], 1288 'includes': [ '../build/android/java_cpp_template.gypi' ],
1289 }, 1289 },
1290 { 1290 {
1291 'target_name': 'base_java', 1291 'target_name': 'base_java',
1292 'type': 'none', 1292 'type': 'none',
1293 'variables': { 1293 'variables': {
1294 'java_in_dir': '../base/android/java', 1294 'java_in_dir': '../base/android/java',
1295 'jar_excluded_classes': [ '*/NativeLibraries.class' ], 1295 'jar_excluded_classes': [ '*/NativeLibraries.class' ],
1296 }, 1296 },
1297 'dependencies': [ 1297 'dependencies': [
1298 'base_java_activity_state', 1298 'base_java_application_state',
1299 'base_java_memory_pressure_level_list', 1299 'base_java_memory_pressure_level_list',
1300 'base_native_libraries_gen', 1300 'base_native_libraries_gen',
1301 ], 1301 ],
1302 'includes': [ '../build/java.gypi' ], 1302 'includes': [ '../build/java.gypi' ],
1303 'conditions': [ 1303 'conditions': [
1304 ['android_webview_build==0', { 1304 ['android_webview_build==0', {
1305 'dependencies': [ 1305 'dependencies': [
1306 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', 1306 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib',
1307 ], 1307 ],
1308 }] 1308 }]
1309 ], 1309 ],
1310 }, 1310 },
1311 { 1311 {
1312 'target_name': 'base_java_unittest_support', 1312 'target_name': 'base_java_unittest_support',
1313 'type': 'none', 1313 'type': 'none',
1314 'dependencies': [ 1314 'dependencies': [
1315 'base_java', 1315 'base_java',
1316 ], 1316 ],
1317 'variables': { 1317 'variables': {
1318 'java_in_dir': '../base/test/android/java', 1318 'java_in_dir': '../base/test/android/java',
1319 }, 1319 },
1320 'includes': [ '../build/java.gypi' ], 1320 'includes': [ '../build/java.gypi' ],
1321 }, 1321 },
1322 { 1322 {
1323 'target_name': 'base_java_activity_state', 1323 'target_name': 'base_java_application_state',
1324 'type': 'none', 1324 'type': 'none',
1325 # This target is used to auto-generate ActivityState.java 1325 # This target is used to auto-generate ApplicationState.java
1326 # from a template file. The source file contains a list of 1326 # from a template file. The source file contains a list of
1327 # Java constant declarations matching the ones in 1327 # Java constant declarations matching the ones in
1328 # android/activity_state_list.h. 1328 # android/application_state_list.h.
1329 'sources': [ 1329 'sources': [
1330 'android/java/src/org/chromium/base/ActivityState.template', 1330 'android/java/src/org/chromium/base/ApplicationState.template',
1331 ], 1331 ],
1332 'variables': { 1332 'variables': {
1333 'package_name': 'org/chromium/base', 1333 'package_name': 'org/chromium/base',
1334 'template_deps': ['android/activity_state_list.h'], 1334 'template_deps': ['android/application_state_list.h'],
1335 }, 1335 },
1336 'includes': [ '../build/android/java_cpp_template.gypi' ], 1336 'includes': [ '../build/android/java_cpp_template.gypi' ],
1337 }, 1337 },
1338 { 1338 {
1339 'target_name': 'base_java_memory_pressure_level_list', 1339 'target_name': 'base_java_memory_pressure_level_list',
1340 'type': 'none', 1340 'type': 'none',
1341 'sources': [ 1341 'sources': [
1342 'android/java/src/org/chromium/base/MemoryPressureLevelList.template ', 1342 'android/java/src/org/chromium/base/MemoryPressureLevelList.template ',
1343 ], 1343 ],
1344 'variables': { 1344 'variables': {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 'base_unittests.isolate', 1442 'base_unittests.isolate',
1443 ], 1443 ],
1444 'sources': [ 1444 'sources': [
1445 'base_unittests.isolate', 1445 'base_unittests.isolate',
1446 ], 1446 ],
1447 }, 1447 },
1448 ], 1448 ],
1449 }], 1449 }],
1450 ], 1450 ],
1451 } 1451 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698