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

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: Remove ManifestUpgradeDetector.Observer. 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 # The Url of the Web Manifest file. 15 # The Url of the Web Manifest file.
16 webapk_web_manifest_url = "https://www.template.com/manifest.json" 16 webapk_web_manifest_url = "https://www.template.com/manifest.json"
17 17
18 # Attributes from Web Manifest. 18 # Attributes from Web Manifest.
19 webapk_start_url = "https://www.template.com/home_page" 19 webapk_start_url = "https://www.template.com/home_page"
20 webapk_name = "Longer Sample WebAPK Name" 20 webapk_name = "Longer Sample WebAPK Name"
21 webapk_short_name = "Sample WebAPK" 21 webapk_short_name = "Sample WebAPK"
22 webapk_scope_url = "https://www.template.com" 22 webapk_scope_url = "https://www.template.com"
23 webapk_display_mode = "standalone" 23 webapk_display_mode = "standalone"
24 webapk_orientation = "portrait" 24 webapk_orientation = "portrait"
25 webapk_theme_color = "4288230399L" #0xFF9933FF 25 webapk_theme_color = "2147483648L"
pkotwicz 2016/07/19 18:02:37 Can you add a comment as to what this number repre
Xi Han 2016/07/20 18:54:59 Done.
26 webapk_background_color = "4291624959L" #0xFFCCFFFF 26 webapk_background_color = "2147483648L"
27 27
28 # The URL of the app icon. Empty if the app icon is generated. 28 # The URL of the app icon. Empty if the app icon is generated.
29 webapk_icon_url = "http://www.template.com/icon.png" 29 webapk_icon_url = "http://www.template.com/icon.png"
30 30
31 # Host part of |webapk_scope_url|. 31 # Host part of |webapk_scope_url|.
32 webapk_scope_url_host = "www.template.com" 32 webapk_scope_url_host = "www.template.com"
33 } 33 }
34 34
35 shell_apk_manifest_package = 35 shell_apk_manifest_package =
36 "org.chromium.webapk.$webapk_manifest_package_origin" 36 "org.chromium.webapk.$webapk_manifest_package_origin"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ] 100 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ]
101 deps = [ 101 deps = [
102 ":dex_loader_java", 102 ":dex_loader_java",
103 "//base:base_java", 103 "//base:base_java",
104 "//base:base_java_test_support", 104 "//base:base_java_test_support",
105 "//chrome/android/webapk/libs/common:common_java", 105 "//chrome/android/webapk/libs/common:common_java",
106 "//content/public/test/android:content_java_test_support", 106 "//content/public/test/android:content_java_test_support",
107 ] 107 ]
108 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ] 108 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ]
109 } 109 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698