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

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

Issue 2124513002: Introduce ManifestUpgradeDetector for WebAPK to detect web manifest changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduce manifest upgrade detector. Created 4 years, 5 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"
11 11
12 # The browser that the WebAPK will be bound to. 12 # The browser that the WebAPK will be bound to.
13 webapk_runtime_host = "com.google.android.apps.chrome" 13 webapk_runtime_host = "com.google.android.apps.chrome"
14 14
15 # Attributes from Web Manifest. 15 # Attributes from Web Manifest.
16 webapk_start_url = "https://www.template.com/home_page" 16 webapk_start_url = "https://www.template.com/home_page"
17 webapk_name = "Longer Sample WebAPK Name" 17 webapk_name = "Longer Sample WebAPK Name"
18 webapk_short_name = "Sample WebAPK" 18 webapk_short_name = "Sample WebAPK"
19 webapk_scope_url = "https://www.template.com" 19 webapk_scope_url = "https://www.template.com"
20 webapk_display_mode = "standalone" 20 webapk_display_mode = "standalone"
21 webapk_orientation = "portrait" 21 webapk_orientation = "portrait"
22 webapk_theme_color = "4288230399L" #0xFF9933FF 22 webapk_theme_color = "2147483648L"
23 webapk_background_color = "4291624959L" #0xFFCCFFFF 23 webapk_background_color = "2147483648L"
24 24
25 # The URL of the app icon. Empty if the app icon is generated. 25 # The URL of the app icon. Empty if the app icon is generated.
26 webapk_icon_url = "http://www.template.com/icon.png" 26 webapk_icon_url = "http://www.template.com/icon.png"
27 27
28 # Host part of |webapk_scope_url|. 28 # Host part of |webapk_scope_url|.
29 webapk_scope_url_host = "www.template.com" 29 webapk_scope_url_host = "www.template.com"
30 } 30 }
31 31
32 shell_apk_manifest_package = 32 shell_apk_manifest_package =
33 "org.chromium.webapk.$webapk_manifest_package_origin" 33 "org.chromium.webapk.$webapk_manifest_package_origin"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ] 96 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ]
97 deps = [ 97 deps = [
98 ":dex_loader_java", 98 ":dex_loader_java",
99 "//base:base_java", 99 "//base:base_java",
100 "//base:base_java_test_support", 100 "//base:base_java_test_support",
101 "//chrome/android/webapk/libs/common:common_java", 101 "//chrome/android/webapk/libs/common:common_java",
102 "//content/public/test/android:content_java_test_support", 102 "//content/public/test/android:content_java_test_support",
103 ] 103 ]
104 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ] 104 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ]
105 } 105 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698