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

Side by Side Diff: chrome/android/webapk/shell_apk/BUILD.gn

Issue 2011613003: Upstream: Extract "WebAPK service" implementation from Chrome APK (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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 6
7 declare_args() { 7 declare_args() {
8 # The origin URL of the WebAPK. Used to generate a unique package name for 8 # The origin URL of the WebAPK. Used to generate a unique package name for
9 # WebAPK. Example: "foo.com" 9 # WebAPK. Example: "foo.com"
10 webapk_manifest_package_origin = "template" 10 webapk_manifest_package_origin = "template"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 # - Android manifest is customized to the website. 57 # - Android manifest is customized to the website.
58 # - App icon is extracted from the website and added to the APK's resources. 58 # - App icon is extracted from the website and added to the APK's resources.
59 android_apk("webapk") { 59 android_apk("webapk") {
60 android_manifest = shell_apk_manifest 60 android_manifest = shell_apk_manifest
61 apk_name = "WebApk.$webapk_manifest_package_origin" 61 apk_name = "WebApk.$webapk_manifest_package_origin"
62 java_files = [ 62 java_files = [
63 "src/org/chromium/webapk/shell_apk/MainActivity.java", 63 "src/org/chromium/webapk/shell_apk/MainActivity.java",
64 "src/org/chromium/webapk/shell_apk/WebApkServiceFactory.java", 64 "src/org/chromium/webapk/shell_apk/WebApkServiceFactory.java",
65 ] 65 ]
66 deps = [ 66 deps = [
67 ":dex_loader_lib",
67 ":shell_apk_manifest", 68 ":shell_apk_manifest",
68 ":shell_apk_resources", 69 ":shell_apk_resources",
69 "//chrome/android/webapk/libs/common", 70 "//chrome/android/webapk/libs/common",
70 "//chrome/android/webapk/libs/runtime_library", 71 "//chrome/android/webapk/libs/runtime_library",
71 ] 72 ]
72 } 73 }
73 74
74 android_library("shell_apk_javatests") { 75 android_library("shell_apk_javatests") {
75 testonly = true 76 testonly = true
76 java_files = 77 java_files =
77 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ] 78 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ]
78 deps = [ 79 deps = [
79 ":dex_loader_lib", 80 ":dex_loader_lib",
80 "//base:base_java", 81 "//base:base_java",
81 "//base:base_java_test_support", 82 "//base:base_java_test_support",
82 "//chrome/android/webapk/libs/common", 83 "//chrome/android/webapk/libs/common",
83 "//content/public/test/android:content_java_test_support", 84 "//content/public/test/android:content_java_test_support",
84 ] 85 ]
85 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ] 86 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ]
86 } 87 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698