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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("//chrome/android/webapk/libs/runtime_library_version.gni")
6 7
7 android_library("client") { 8 android_library("client") {
8 java_files = [ 9 java_files = [
9 "src/org/chromium/webapk/lib/client/DexOptimizer.java", 10 "src/org/chromium/webapk/lib/client/DexOptimizer.java",
10 "src/org/chromium/webapk/lib/client/WebApkServiceConnectionManager.java", 11 "src/org/chromium/webapk/lib/client/WebApkServiceConnectionManager.java",
11 "src/org/chromium/webapk/lib/client/WebApkValidator.java", 12 "src/org/chromium/webapk/lib/client/WebApkValidator.java",
12 ] 13 ]
13 deps = [ 14 deps = [
14 "//base:base_java", 15 "//base:base_java",
15 "//chrome/android/webapk/libs/common", 16 "//chrome/android/webapk/libs/common",
16 ] 17 ]
17 srcjar_deps = 18 srcjar_deps = [
18 [ "//chrome/android/webapk/libs/runtime_library:webapk_service_aidl" ] 19 ":runtime_library_version_java",
20 "//chrome/android/webapk/libs/runtime_library:webapk_service_aidl",
21 ]
22 }
23
24 java_cpp_template("runtime_library_version_java") {
25 package_name = "org/chromium/webapk/lib/client"
26 sources = [
27 "src/org/chromium/webapk/lib/client/WebApkVersion.template",
28 ]
29 defines = [ "CURRENT_RUNTIME_DEX_VERSION_VALUE=$runtime_library_version" ]
19 } 30 }
20 31
21 junit_binary("webapk_client_junit_tests") { 32 junit_binary("webapk_client_junit_tests") {
22 java_files = 33 java_files =
23 [ "junit/src/org/chromium/webapk/lib/client/WebApkValidatorTest.java" ] 34 [ "junit/src/org/chromium/webapk/lib/client/WebApkValidatorTest.java" ]
24 deps = [ 35 deps = [
25 ":client", 36 ":client",
26 "//base:base_junit_test_support", 37 "//base:base_junit_test_support",
27 ] 38 ]
28 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698