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

Unified Diff: chrome/android/webapk/libs/client/BUILD.gn

Issue 2009423002: Upstream: Version WebAPK runtime library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: chrome/android/webapk/libs/client/BUILD.gn
diff --git a/chrome/android/webapk/libs/client/BUILD.gn b/chrome/android/webapk/libs/client/BUILD.gn
index f19a392906c267a2147527908a08df0ea8b637c1..e0582a9c54ae438dccb8bba8009e603b5596e4dc 100644
--- a/chrome/android/webapk/libs/client/BUILD.gn
+++ b/chrome/android/webapk/libs/client/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/android/rules.gni")
+import("//chrome/android/webapk/libs/runtime_library_version.gni")
android_library("client") {
java_files = [
@@ -14,8 +15,18 @@ android_library("client") {
"//base:base_java",
"//chrome/android/webapk/libs/common",
]
- srcjar_deps =
- [ "//chrome/android/webapk/libs/runtime_library:webapk_service_aidl" ]
+ srcjar_deps = [
+ ":runtime_library_version_java",
+ "//chrome/android/webapk/libs/runtime_library:webapk_service_aidl",
+ ]
+}
+
+java_cpp_template("runtime_library_version_java") {
+ package_name = "org/chromium/webapk/lib/client"
+ sources = [
+ "src/org/chromium/webapk/lib/client/WebApkVersion.template",
+ ]
+ defines = [ "CURRENT_RUNTIME_DEX_VERSION_VALUE=$runtime_library_version" ]
}
junit_binary("webapk_client_junit_tests") {

Powered by Google App Engine
This is Rietveld 408576698