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

Unified Diff: base/BUILD.gn

Issue 264923007: Add java_cpp_template template (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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
« no previous file with comments | « no previous file | build/android/gn/zip.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index f1c53295cc182bf2bc1236f3d18c72c3599823b2..b4faecf84d4330f3cc3d62b686a375e61a850827 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -1319,4 +1319,40 @@ if (is_android) {
]
jni_package = "base"
}
+
+ java_cpp_template("base_java_application_state") {
+ sources = [
+ "android/java/src/org/chromium/base/ApplicationState.template",
+ ]
+ source_prereqs = [
+ "android/application_state_list.h"
+ ]
+
+ package_name = "org/chromium/base"
+ }
+
+ java_cpp_template("base_java_memory_pressure_level_list") {
+ sources = [
+ "android/java/src/org/chromium/base/MemoryPressureLevelList.template",
+ ]
+ source_prereqs = [
+ "memory/memory_pressure_level_list.h"
+ ]
+
+ package_name = "org/chromium/base"
+ }
+
+ java_cpp_template("base_native_libraries_gen") {
+ sources = [
+ "android/java/templates/NativeLibraries.template",
+ ]
+ source_prereqs = [
+ "android/java/templates/native_libraries_array.h",
+ ]
+
+ package_name = "org/chromium/base/library_loader"
+ include_path = "android/java/templates"
+ }
+
+
}
« no previous file with comments | « no previous file | build/android/gn/zip.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698