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

Unified 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: rebase 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 side-by-side diff with in-line comments
Download patch
Index: base/base.gyp
diff --git a/base/base.gyp b/base/base.gyp
index 826bf8def88a4e866838971d1b19c91ef57843d1..1f801c881c00ac0eb435a9247fe1e0a4eabb6f5d 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -1343,7 +1343,7 @@
},
'dependencies': [
'base_java_application_state',
- 'base_java_memory_pressure_level_list',
+ 'base_java_memory_pressure_level',
'base_native_libraries_gen',
],
'includes': [ '../build/java.gypi' ],
@@ -1368,34 +1368,22 @@
'includes': [ '../build/java.gypi' ],
},
{
- # GN: //base:base_java_application_state
+ # GN: //base:base_android_java_enums_srcjar
'target_name': 'base_java_application_state',
'type': 'none',
- # This target is used to auto-generate ApplicationState.java
- # from a template file. The source file contains a list of
- # Java constant declarations matching the ones in
- # android/application_state_list.h.
- 'sources': [
- 'android/java/src/org/chromium/base/ApplicationState.template',
- ],
'variables': {
- 'package_name': 'org/chromium/base',
- 'template_deps': ['android/application_state_list.h'],
+ 'source_file': 'android/application_status_listener.h',
},
- 'includes': [ '../build/android/java_cpp_template.gypi' ],
+ 'includes': [ '../build/android/java_cpp_enum.gypi' ],
},
{
- # GN: //base:base_java_memory_pressure_level_list
- 'target_name': 'base_java_memory_pressure_level_list',
+ # GN: //base:base_android_java_enums_srcjar
+ 'target_name': 'base_java_memory_pressure_level',
'type': 'none',
- 'sources': [
- 'android/java/src/org/chromium/base/MemoryPressureLevelList.template',
- ],
'variables': {
- 'package_name': 'org/chromium/base',
- 'template_deps': ['memory/memory_pressure_level_list.h'],
+ 'source_file': 'memory/memory_pressure_listener.h',
},
- 'includes': [ '../build/android/java_cpp_template.gypi' ],
+ 'includes': [ '../build/android/java_cpp_enum.gypi' ],
},
{
# GN: //base:base_java_test_support
« no previous file with comments | « base/android/java/src/org/chromium/base/MemoryPressureListener.java ('k') | base/memory/memory_pressure_level_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698