OLD | NEW |
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" # HostBrowserLauncher#MANIFEST_COLOR_INVAL
ID_OR_MISSING |
26 webapk_background_color = "4291624959L" #0xFFCCFFFF | 26 webapk_background_color = "2147483648L" #HostBrowserLauncher#MANIFEST_COLOR_I
NVALID_OR_MISSING |
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ] | 105 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ] |
106 deps = [ | 106 deps = [ |
107 ":dex_loader_java", | 107 ":dex_loader_java", |
108 "//base:base_java", | 108 "//base:base_java", |
109 "//base:base_java_test_support", | 109 "//base:base_java_test_support", |
110 "//chrome/android/webapk/libs/common:common_java", | 110 "//chrome/android/webapk/libs/common:common_java", |
111 "//content/public/test/android:content_java_test_support", | 111 "//content/public/test/android:content_java_test_support", |
112 ] | 112 ] |
113 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ] | 113 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ] |
114 } | 114 } |
OLD | NEW |