| 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 1efe7b4d9081e4adcddf44b10ca361a0816ed2b6..1025e70b041690b900a51ecfea8fae01ccd45a81 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 = [
|
| @@ -13,8 +14,18 @@ android_library("client") {
|
| deps = [
|
| "//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") {
|
|
|