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

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

Issue 2259713002: Request upgraded WebAPK from WebAPK server if the ShellAPK version changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into shell_apk_version Created 4 years, 3 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 import("shell_apk_version.gni")
6 7
7 declare_args() { 8 declare_args() {
8 # The origin URL of the WebAPK. Used to generate a unique package name for 9 # The origin URL of the WebAPK. Used to generate a unique package name for
9 # WebAPK. Example: "foo.com" 10 # WebAPK. Example: "foo.com"
10 webapk_manifest_package_origin = "template" 11 webapk_manifest_package_origin = "template"
11 12
12 # The browser that the WebAPK will be bound to. 13 # The browser that the WebAPK will be bound to.
13 webapk_runtime_host = "com.google.android.apps.chrome" 14 webapk_runtime_host = "com.google.android.apps.chrome"
14 15
15 # The Url of the Web Manifest file. 16 # The Url of the Web Manifest file.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 shell_apk_manifest_package = 50 shell_apk_manifest_package =
50 "org.chromium.webapk.$webapk_manifest_package_origin" 51 "org.chromium.webapk.$webapk_manifest_package_origin"
51 52
52 shell_apk_manifest = "$target_gen_dir/shell_apk_manifest/AndroidManifest.xml" 53 shell_apk_manifest = "$target_gen_dir/shell_apk_manifest/AndroidManifest.xml"
53 54
54 jinja_template("shell_apk_manifest") { 55 jinja_template("shell_apk_manifest") {
55 input = "AndroidManifest.xml" 56 input = "AndroidManifest.xml"
56 output = shell_apk_manifest 57 output = shell_apk_manifest
57 58
58 variables = [ 59 variables = [
60 "shell_apk_version=$shell_apk_version",
59 "manifest_package=$shell_apk_manifest_package", 61 "manifest_package=$shell_apk_manifest_package",
60 "runtime_host=$webapk_runtime_host", 62 "runtime_host=$webapk_runtime_host",
61 "start_url=$webapk_start_url", 63 "start_url=$webapk_start_url",
62 "name=$webapk_name", 64 "name=$webapk_name",
63 "short_name=$webapk_short_name", 65 "short_name=$webapk_short_name",
64 "scope_url=$webapk_scope_url", 66 "scope_url=$webapk_scope_url",
65 "display_mode=$webapk_display_mode", 67 "display_mode=$webapk_display_mode",
66 "orientation=$webapk_orientation", 68 "orientation=$webapk_orientation",
67 "theme_color=$webapk_theme_color", 69 "theme_color=$webapk_theme_color",
68 "background_color=$webapk_background_color", 70 "background_color=$webapk_background_color",
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 junit_binary("webapk_shell_apk_junit_tests") { 139 junit_binary("webapk_shell_apk_junit_tests") {
138 java_files = [ 140 java_files = [
139 "junit/src/org/chromium/webapk/shell_apk/HostBrowserClassLoaderTest.java", 141 "junit/src/org/chromium/webapk/shell_apk/HostBrowserClassLoaderTest.java",
140 "junit/src/org/chromium/webapk/shell_apk/MainActivityTest.java", 142 "junit/src/org/chromium/webapk/shell_apk/MainActivityTest.java",
141 ] 143 ]
142 deps = [ 144 deps = [
143 ":webapk_java", 145 ":webapk_java",
144 "//chrome/android/webapk/libs/common:common_java", 146 "//chrome/android/webapk/libs/common:common_java",
145 ] 147 ]
146 } 148 }
OLDNEW
« no previous file with comments | « chrome/android/webapk/shell_apk/AndroidManifest.xml ('k') | chrome/android/webapk/shell_apk/shell_apk_version.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698