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/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 import("//build/config/locales.gni") | 7 import("//build/config/locales.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 import("system_webview_apk_tmpl.gni") | 9 import("system_webview_apk_tmpl.gni") |
10 import("webview_repack_locales.gni") | 10 import("webview_repack_locales.gni") |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 "//net:net_resources", | 105 "//net:net_resources", |
106 "//third_party/WebKit/public:image_resources", | 106 "//third_party/WebKit/public:image_resources", |
107 "//third_party/WebKit/public:resources", | 107 "//third_party/WebKit/public:resources", |
108 "//ui/resources", | 108 "//ui/resources", |
109 ] | 109 ] |
110 output = "$target_gen_dir/webviewchromium.pak" | 110 output = "$target_gen_dir/webviewchromium.pak" |
111 } | 111 } |
112 | 112 |
113 webview_license_path = "$target_gen_dir/webview_licenses.notice" | 113 webview_license_path = "$target_gen_dir/webview_licenses.notice" |
114 | 114 |
115 android_assets("uncompressed_assets") { | 115 android_assets("pak_file_assets") { |
116 sources = [ | 116 sources = [ |
117 "$target_gen_dir/webviewchromium.pak", | 117 "$target_gen_dir/webviewchromium.pak", |
118 ] | 118 ] |
119 deps = [ | 119 deps = [ |
120 ":repack_pack", | 120 ":repack_pack", |
121 ] | 121 ] |
122 disable_compression = true | 122 disable_compression = true |
123 } | 123 } |
124 | 124 |
125 android_assets("assets") { | 125 android_assets("assets") { |
126 sources = [ | 126 sources = [ |
127 webview_license_path, | 127 webview_license_path, |
128 ] | 128 ] |
129 deps = [ | 129 deps = [ |
130 ":generate_webview_license_notice", | 130 ":generate_webview_license_notice", |
131 ":uncompressed_assets", | 131 ":pak_file_assets", |
132 "//third_party/icu:icu_assets", | 132 "//third_party/icu:icu_assets", |
133 "//v8:v8_external_startup_data_assets", | 133 "//v8:v8_external_startup_data_assets", |
134 ] | 134 ] |
135 } | 135 } |
136 | 136 |
137 action("generate_webview_license_notice") { | 137 action("generate_webview_license_notice") { |
138 script = "tools/webview_licenses.py" | 138 script = "tools/webview_licenses.py" |
139 inputs = exec_script("//android_webview/tools/webview_licenses.py", | 139 inputs = exec_script("//android_webview/tools/webview_licenses.py", |
140 [ "gn_notice_deps" ], | 140 [ "gn_notice_deps" ], |
141 "value") | 141 "value") |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 android_manifest = get_target_outputs(":system_webview_manifest") | 638 android_manifest = get_target_outputs(":system_webview_manifest") |
639 android_manifest = android_manifest[1] | 639 android_manifest = android_manifest[1] |
640 android_manifest_dep = ":system_webview_manifest" | 640 android_manifest_dep = ":system_webview_manifest" |
641 deps = [ | 641 deps = [ |
642 ":system_webview_resources", | 642 ":system_webview_resources", |
643 "//android_webview/glue", | 643 "//android_webview/glue", |
644 ] | 644 ] |
645 apk_name = "SystemWebView" | 645 apk_name = "SystemWebView" |
646 } | 646 } |
647 } | 647 } |
OLD | NEW |