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

Unified 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: Addressed Comments 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 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 78e6ddb0227291275a47d6c275fc4ff9704272ad..b5d4b79810abb9aa291dbc9650f2343e47151c12 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -1312,6 +1312,7 @@
},
'dependencies': [
'base_java_activity_state',
+ 'base_java_application_state',
'base_java_memory_pressure_level_list',
'base_native_libraries_gen',
],
@@ -1352,6 +1353,22 @@
'includes': [ '../build/android/java_cpp_template.gypi' ],
},
{
+ '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'],
+ },
+ 'includes': [ '../build/android/java_cpp_template.gypi' ],
+ },
+ {
'target_name': 'base_java_memory_pressure_level_list',
'type': 'none',
'sources': [

Powered by Google App Engine
This is Rietveld 408576698