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

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

Issue 2684373002: Enable opening http://localhost WebAPK in WebAPK mode (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « chrome/android/webapk/shell_apk/AndroidManifest.xml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("shell_apk_version.gni")
7 7
8 declare_args() { 8 declare_args() {
9 # 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
10 # WebAPK. Example: "foo.com" 10 # WebAPK. Example: "foo.com"
(...skipping 14 matching lines...) Expand all
25 webapk_start_url = "https://www.template.com/home_page" 25 webapk_start_url = "https://www.template.com/home_page"
26 webapk_name = "Longer Sample WebAPK Name" 26 webapk_name = "Longer Sample WebAPK Name"
27 webapk_short_name = "Sample WebAPK" 27 webapk_short_name = "Sample WebAPK"
28 webapk_scope_url = "https://www.template.com/" 28 webapk_scope_url = "https://www.template.com/"
29 webapk_display_mode = "standalone" 29 webapk_display_mode = "standalone"
30 webapk_orientation = "portrait" 30 webapk_orientation = "portrait"
31 webapk_theme_color = "2147483648L" # HostBrowserLauncher#MANIFEST_COLOR_INVAL ID_OR_MISSING 31 webapk_theme_color = "2147483648L" # HostBrowserLauncher#MANIFEST_COLOR_INVAL ID_OR_MISSING
32 webapk_background_color = "2147483648L" #HostBrowserLauncher#MANIFEST_COLOR_I NVALID_OR_MISSING 32 webapk_background_color = "2147483648L" #HostBrowserLauncher#MANIFEST_COLOR_I NVALID_OR_MISSING
33 webapk_icon_urls_and_icon_murmur2_hashes = "http://www.template.com/icon1.png $webapk_icon_murmur2_hash http://www.template.com/icon2.png $webapk_icon_murmur2 _hash" 33 webapk_icon_urls_and_icon_murmur2_hashes = "http://www.template.com/icon1.png $webapk_icon_murmur2_hash http://www.template.com/icon2.png $webapk_icon_murmur2 _hash"
34 34
35 # Scheme part of |webapk_scope_url|.
36 webapk_scope_url_scheme = "https"
37
35 # Host part of |webapk_scope_url|. 38 # Host part of |webapk_scope_url|.
36 webapk_scope_url_host = "www.template.com" 39 webapk_scope_url_host = "www.template.com"
37 40
38 # Path part of |webapk_scope_url|. 41 # Path part of |webapk_scope_url|.
39 webapk_scope_url_path = "/" 42 webapk_scope_url_path = "/"
40 43
41 # Android version code for the WebAPK. 44 # Android version code for the WebAPK.
42 webapk_version_code = "1" 45 webapk_version_code = "1"
43 46
44 # Android version name for the WebAPK. 47 # Android version name for the WebAPK.
(...skipping 15 matching lines...) Expand all
60 "runtime_host=$webapk_runtime_host", 63 "runtime_host=$webapk_runtime_host",
61 "start_url=$webapk_start_url", 64 "start_url=$webapk_start_url",
62 "name=$webapk_name", 65 "name=$webapk_name",
63 "short_name=$webapk_short_name", 66 "short_name=$webapk_short_name",
64 "scope_url=$webapk_scope_url", 67 "scope_url=$webapk_scope_url",
65 "display_mode=$webapk_display_mode", 68 "display_mode=$webapk_display_mode",
66 "orientation=$webapk_orientation", 69 "orientation=$webapk_orientation",
67 "theme_color=$webapk_theme_color", 70 "theme_color=$webapk_theme_color",
68 "background_color=$webapk_background_color", 71 "background_color=$webapk_background_color",
69 "icon_urls_and_icon_murmur2_hashes=$webapk_icon_urls_and_icon_murmur2_hashes ", 72 "icon_urls_and_icon_murmur2_hashes=$webapk_icon_urls_and_icon_murmur2_hashes ",
73 "scope_url_scheme=$webapk_scope_url_scheme",
70 "scope_url_host=$webapk_scope_url_host", 74 "scope_url_host=$webapk_scope_url_host",
71 "scope_url_path=$webapk_scope_url_path", 75 "scope_url_path=$webapk_scope_url_path",
72 "web_manifest_url=$webapk_web_manifest_url", 76 "web_manifest_url=$webapk_web_manifest_url",
73 "version_code=$webapk_version_code", 77 "version_code=$webapk_version_code",
74 "version_name=$webapk_version_name", 78 "version_name=$webapk_version_name",
75 ] 79 ]
76 } 80 }
77 81
78 android_resources("shell_apk_resources") { 82 android_resources("shell_apk_resources") {
79 resource_dirs = [ "res" ] 83 resource_dirs = [ "res" ]
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 java_files = [ 142 java_files = [
139 "junit/src/org/chromium/webapk/shell_apk/HostBrowserClassLoaderTest.java", 143 "junit/src/org/chromium/webapk/shell_apk/HostBrowserClassLoaderTest.java",
140 "junit/src/org/chromium/webapk/shell_apk/MainActivityTest.java", 144 "junit/src/org/chromium/webapk/shell_apk/MainActivityTest.java",
141 ] 145 ]
142 deps = [ 146 deps = [
143 ":webapk_java", 147 ":webapk_java",
144 "//chrome/android/webapk/libs/common:common_java", 148 "//chrome/android/webapk/libs/common:common_java",
145 "//chrome/android/webapk/test:junit_test_support", 149 "//chrome/android/webapk/test:junit_test_support",
146 ] 150 ]
147 } 151 }
OLDNEW
« no previous file with comments | « chrome/android/webapk/shell_apk/AndroidManifest.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698