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

Side by Side Diff: android_webview/BUILD.gn

Issue 1452893002: GN WebView: make system_webview_apk work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove chromium_code Created 5 years, 1 month 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 | « no previous file | android_webview/glue/BUILD.gn » ('j') | 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/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("webview_repack_locales.gni") 10 import("webview_repack_locales.gni")
10 11
11 group("android_webview") { 12 group("android_webview") {
12 deps = [ 13 deps = [
13 ":system_webview_apk", 14 ":system_webview_apk",
14 ] 15 ]
15 } 16 }
16 17
17 jinja_template("system_webview_manifest") { 18 jinja_template("system_webview_manifest") {
18 input = "apk/java/AndroidManifest.xml" 19 input = "apk/java/AndroidManifest.xml"
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 "renderer/aw_render_view_ext.cc", 459 "renderer/aw_render_view_ext.cc",
459 "renderer/aw_render_view_ext.h", 460 "renderer/aw_render_view_ext.h",
460 "renderer/print_render_frame_observer.cc", 461 "renderer/print_render_frame_observer.cc",
461 "renderer/print_render_frame_observer.h", 462 "renderer/print_render_frame_observer.h",
462 ] 463 ]
463 464
464 deps = [ 465 deps = [
465 ":generate_aw_resources", 466 ":generate_aw_resources",
466 ":generate_aw_strings", 467 ":generate_aw_strings",
467 ":generate_components_strings", 468 ":generate_components_strings",
469 "//android_webview/common:version",
468 "//android_webview/native:native", 470 "//android_webview/native:native",
469 "//cc/surfaces", 471 "//cc/surfaces",
470 "//components/auto_login_parser:auto_login_parser", 472 "//components/auto_login_parser:auto_login_parser",
471 "//components/autofill/content/renderer", 473 "//components/autofill/content/renderer",
472 "//components/crash/content/app", 474 "//components/crash/content/app",
473 "//components/crash/content/browser", 475 "//components/crash/content/browser",
474 "//components/cdm/browser", 476 "//components/cdm/browser",
475 "//components/cdm/renderer", 477 "//components/cdm/renderer",
476 "//components/data_reduction_proxy/core/browser", 478 "//components/data_reduction_proxy/core/browser",
477 "//components/devtools_discovery", 479 "//components/devtools_discovery",
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 "values-tl/android_webview_strings.xml", 636 "values-tl/android_webview_strings.xml",
635 "values-tr/android_webview_strings.xml", 637 "values-tr/android_webview_strings.xml",
636 "values-uk/android_webview_strings.xml", 638 "values-uk/android_webview_strings.xml",
637 "values-vi/android_webview_strings.xml", 639 "values-vi/android_webview_strings.xml",
638 "values-zh-rCN/android_webview_strings.xml", 640 "values-zh-rCN/android_webview_strings.xml",
639 "values-zh-rTW/android_webview_strings.xml", 641 "values-zh-rTW/android_webview_strings.xml",
640 "values/android_webview_strings.xml", 642 "values/android_webview_strings.xml",
641 ] 643 ]
642 } 644 }
643 645
644 android_apk("system_webview_apk") { 646 system_webview_apk_tmpl("system_webview_apk") {
645 android_manifest = get_target_outputs(":system_webview_manifest") 647 android_manifest = get_target_outputs(":system_webview_manifest")
646 android_manifest = android_manifest[1] 648 android_manifest = android_manifest[1]
647 android_manifest_dep = ":system_webview_manifest" 649 android_manifest_dep = ":system_webview_manifest"
648 chromium_code = true
649 deps = [ 650 deps = [
650 ":system_webview_resources", 651 ":system_webview_resources",
651 ":assets",
652 ":libwebviewchromium",
653 "//android_webview/glue", 652 "//android_webview/glue",
654 "//base:base_java",
655 ] 653 ]
656 apk_name = "SystemWebView" 654 apk_name = "SystemWebView"
657 native_libs = [ "$root_build_dir/libwebviewchromium.so" ]
658 } 655 }
OLDNEW
« no previous file with comments | « no previous file | android_webview/glue/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698