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") |
11 | 11 |
| 12 if (!defined(use_webview_internal_framework)) { |
| 13 use_webview_internal_framework = false |
| 14 } |
| 15 |
12 group("android_webview") { | 16 group("android_webview") { |
13 if (!use_webview_internal_framework) { | 17 if (!use_webview_internal_framework) { |
14 deps = [ | 18 deps = [ |
15 ":system_webview_apk", | 19 ":system_webview_apk", |
16 ] | 20 ] |
17 } | 21 } |
18 } | 22 } |
19 | 23 |
20 jinja_template("system_webview_manifest") { | 24 jinja_template("system_webview_manifest") { |
21 input = "apk/java/AndroidManifest.xml" | 25 input = "apk/java/AndroidManifest.xml" |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 android_manifest = get_target_outputs(":system_webview_manifest") | 642 android_manifest = get_target_outputs(":system_webview_manifest") |
639 android_manifest = android_manifest[1] | 643 android_manifest = android_manifest[1] |
640 android_manifest_dep = ":system_webview_manifest" | 644 android_manifest_dep = ":system_webview_manifest" |
641 deps = [ | 645 deps = [ |
642 ":system_webview_resources", | 646 ":system_webview_resources", |
643 "//android_webview/glue", | 647 "//android_webview/glue", |
644 ] | 648 ] |
645 apk_name = "SystemWebView" | 649 apk_name = "SystemWebView" |
646 } | 650 } |
647 } | 651 } |
OLD | NEW |