| 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("//android_webview/system_webview_apk_tmpl.gni") | 5 import("//android_webview/system_webview_apk_tmpl.gni") |
| 6 import("//android_webview/webview_repack_locales.gni") | 6 import("//android_webview/webview_repack_locales.gni") |
| 7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
| 8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
| 9 import("//build/config/locales.gni") | 9 import("//build/config/locales.gni") |
| 10 import("//components/spellcheck/spellcheck_build_features.gni") | 10 import("//components/spellcheck/spellcheck_build_features.gni") |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 android_assets("assets") { | 142 android_assets("assets") { |
| 143 deps = [ | 143 deps = [ |
| 144 ":locale_pak_assets", | 144 ":locale_pak_assets", |
| 145 ":monochrome_webview_assets", | 145 ":monochrome_webview_assets", |
| 146 ":pak_file_assets", | 146 ":pak_file_assets", |
| 147 ] | 147 ] |
| 148 } | 148 } |
| 149 | 149 |
| 150 action("generate_webview_license_notice") { | 150 action("generate_webview_license_notice") { |
| 151 script = "tools/webview_licenses.py" | 151 script = "tools/webview_licenses.py" |
| 152 inputs = exec_script("//android_webview/tools/webview_licenses.py", | 152 depfile = "$target_gen_dir/$target_name.d" |
| 153 [ "gn_notice_deps" ], | 153 inputs = [ |
| 154 "value") | 154 "tools/licenses_notice.tmpl", |
| 155 inputs += [ "tools/licenses_notice.tmpl" ] | 155 ] |
| 156 outputs = [ | 156 outputs = [ |
| 157 webview_license_path, | 157 webview_license_path, |
| 158 ] | 158 ] |
| 159 args = [ | 159 args = [ |
| 160 "notice", | 160 "notice", |
| 161 rebase_path(webview_license_path), | 161 rebase_path(webview_license_path, root_build_dir), |
| 162 "--depfile", |
| 163 rebase_path(depfile, root_build_dir), |
| 162 ] | 164 ] |
| 163 } | 165 } |
| 164 | 166 |
| 165 android_resources("system_webview_resources") { | 167 android_resources("system_webview_resources") { |
| 166 resource_dirs = [ "apk/java/res" ] | 168 resource_dirs = [ "apk/java/res" ] |
| 167 custom_package = system_webview_package_name | 169 custom_package = system_webview_package_name |
| 168 } | 170 } |
| 169 | 171 |
| 170 android_resources("resources") { | 172 android_resources("resources") { |
| 171 resource_dirs = [ "java/res" ] | 173 resource_dirs = [ "java/res" ] |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 system_webview_apk_tmpl("system_webview_apk") { | 787 system_webview_apk_tmpl("system_webview_apk") { |
| 786 android_manifest = system_webview_android_manifest | 788 android_manifest = system_webview_android_manifest |
| 787 android_manifest_dep = ":system_webview_manifest" | 789 android_manifest_dep = ":system_webview_manifest" |
| 788 deps = [ | 790 deps = [ |
| 789 ":system_webview_resources", | 791 ":system_webview_resources", |
| 790 "//android_webview/glue", | 792 "//android_webview/glue", |
| 791 ] | 793 ] |
| 792 apk_name = "SystemWebView" | 794 apk_name = "SystemWebView" |
| 793 } | 795 } |
| 794 } | 796 } |
| OLD | NEW |