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

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, 6 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 "//chrome/android/webapk/libs/common", 15 "//chrome/android/webapk/libs/common",
15 ] 16 ]
16 srcjar_deps = 17 srcjar_deps = [
17 [ "//chrome/android/webapk/libs/runtime_library:webapk_service_aidl" ] 18 ":runtime_library_version_java",
19 "//chrome/android/webapk/libs/runtime_library:webapk_service_aidl",
20 ]
21 }
22
23 java_cpp_template("runtime_library_version_java") {
24 package_name = "org/chromium/webapk/lib/client"
25 sources = [
26 "src/org/chromium/webapk/lib/client/WebApkVersion.template",
27 ]
28 defines = [ "CURRENT_RUNTIME_DEX_VERSION_VALUE=$runtime_library_version" ]
18 } 29 }
19 30
20 junit_binary("webapk_client_junit_tests") { 31 junit_binary("webapk_client_junit_tests") {
21 java_files = [ 32 java_files = [
22 "junit/src/org/chromium/webapk/lib/client/WebApkServiceConnectionManagerTest .java", 33 "junit/src/org/chromium/webapk/lib/client/WebApkServiceConnectionManagerTest .java",
23 "junit/src/org/chromium/webapk/lib/client/WebApkValidatorTest.java", 34 "junit/src/org/chromium/webapk/lib/client/WebApkValidatorTest.java",
24 ] 35 ]
25 deps = [ 36 deps = [
26 ":client", 37 ":client",
27 "//base:base_junit_test_support", 38 "//base:base_junit_test_support",
28 ] 39 ]
29 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698