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

Side by Side Diff: android_webview/BUILD.gn

Issue 2558043004: Remove enable_configuration_policy build define. (Closed)
Patch Set: Merge Created 4 years 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 | « BUILD.gn ('k') | build/config/features.gni » ('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("//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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 "//components/cdm/browser", 481 "//components/cdm/browser",
482 "//components/cdm/renderer", 482 "//components/cdm/renderer",
483 "//components/crash/content/app", 483 "//components/crash/content/app",
484 "//components/crash/content/browser", 484 "//components/crash/content/browser",
485 "//components/metrics", 485 "//components/metrics",
486 "//components/metrics:gpu", 486 "//components/metrics:gpu",
487 "//components/metrics:net", 487 "//components/metrics:net",
488 "//components/metrics:profiler", 488 "//components/metrics:profiler",
489 "//components/metrics:ui", 489 "//components/metrics:ui",
490 "//components/navigation_interception", 490 "//components/navigation_interception",
491 "//components/policy:generated",
492 "//components/policy/core/browser",
491 "//components/prefs", 493 "//components/prefs",
492 "//components/printing/browser", 494 "//components/printing/browser",
493 "//components/printing/common", 495 "//components/printing/common",
494 "//components/printing/renderer", 496 "//components/printing/renderer",
495 "//components/spellcheck:build_features", 497 "//components/spellcheck:build_features",
496 "//components/supervised_user_error_page", 498 "//components/supervised_user_error_page",
497 "//components/supervised_user_error_page:gin", 499 "//components/supervised_user_error_page:gin",
498 "//components/version_info", 500 "//components/version_info",
499 "//components/visitedlink/browser", 501 "//components/visitedlink/browser",
500 "//components/visitedlink/renderer", 502 "//components/visitedlink/renderer",
(...skipping 18 matching lines...) Expand all
519 "//services/service_manager/public/cpp", 521 "//services/service_manager/public/cpp",
520 "//skia", 522 "//skia",
521 "//third_party/WebKit/public:blink", 523 "//third_party/WebKit/public:blink",
522 "//ui/events:gesture_detection", 524 "//ui/events:gesture_detection",
523 "//ui/gl", 525 "//ui/gl",
524 "//ui/gl/init", 526 "//ui/gl/init",
525 "//ui/shell_dialogs", 527 "//ui/shell_dialogs",
526 "//v8", 528 "//v8",
527 ] 529 ]
528 530
529 if (enable_configuration_policy) {
530 deps += [
531 "//components/policy:generated",
532 "//components/policy/core/browser",
533 ]
534 }
535
536 if (enable_spellcheck) { 531 if (enable_spellcheck) {
537 deps += [ 532 deps += [
538 "//components/spellcheck/browser", 533 "//components/spellcheck/browser",
539 "//components/spellcheck/renderer", 534 "//components/spellcheck/renderer",
540 ] 535 ]
541 } 536 }
542 537
543 configs += [ "//v8:external_startup_data" ] 538 configs += [ "//v8:external_startup_data" ]
544 } 539 }
545 540
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 "java/src/org/chromium/android_webview/permission/AwGeolocationCallback.java ", 605 "java/src/org/chromium/android_webview/permission/AwGeolocationCallback.java ",
611 "java/src/org/chromium/android_webview/permission/AwPermissionRequest.java", 606 "java/src/org/chromium/android_webview/permission/AwPermissionRequest.java",
612 "java/src/org/chromium/android_webview/policy/AwPolicyProvider.java", 607 "java/src/org/chromium/android_webview/policy/AwPolicyProvider.java",
613 ] 608 ]
614 deps = [ 609 deps = [
615 ":resources", 610 ":resources",
616 ":strings_grd", 611 ":strings_grd",
617 "//base:base_java", 612 "//base:base_java",
618 "//components/autofill/android:autofill_java", 613 "//components/autofill/android:autofill_java",
619 "//components/navigation_interception/android:navigation_interception_java", 614 "//components/navigation_interception/android:navigation_interception_java",
615 "//components/policy/android:policy_java",
620 "//components/web_contents_delegate_android:web_contents_delegate_android_ja va", 616 "//components/web_contents_delegate_android:web_contents_delegate_android_ja va",
621 "//components/web_restrictions:web_restrictions_java", 617 "//components/web_restrictions:web_restrictions_java",
622 "//content/public/android:content_java", 618 "//content/public/android:content_java",
623 "//device/geolocation:geolocation_java", 619 "//device/geolocation:geolocation_java",
624 "//net/android:net_java", 620 "//net/android:net_java",
625 "//third_party/android_tools:android_support_annotations_java", 621 "//third_party/android_tools:android_support_annotations_java",
626 "//ui/android:ui_java", 622 "//ui/android:ui_java",
627 google_play_services_library, 623 google_play_services_library,
628 google_play_services_resources, 624 google_play_services_resources,
629 ] 625 ]
630 626
631 if (enable_configuration_policy) {
632 deps += [ "//components/policy/android:policy_java" ]
633 }
634
635 if (enable_spellcheck) { 627 if (enable_spellcheck) {
636 deps += [ "//components/spellcheck/browser/android:java" ] 628 deps += [ "//components/spellcheck/browser/android:java" ]
637 } 629 }
638 630
639 srcjar_deps = [ "//android_webview/native:aw_permission_request_resource" ] 631 srcjar_deps = [ "//android_webview/native:aw_permission_request_resource" ]
640 } 632 }
641 633
642 java_strings_grd("strings_grd") { 634 java_strings_grd("strings_grd") {
643 grd_file = "java/strings/android_webview_strings.grd" 635 grd_file = "java/strings/android_webview_strings.grd"
644 outputs = [ 636 outputs = [
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 system_webview_apk_tmpl("system_webview_apk") { 685 system_webview_apk_tmpl("system_webview_apk") {
694 android_manifest = system_webview_android_manifest 686 android_manifest = system_webview_android_manifest
695 android_manifest_dep = ":system_webview_manifest" 687 android_manifest_dep = ":system_webview_manifest"
696 deps = [ 688 deps = [
697 ":system_webview_resources", 689 ":system_webview_resources",
698 "//android_webview/glue", 690 "//android_webview/glue",
699 ] 691 ]
700 apk_name = "SystemWebView" 692 apk_name = "SystemWebView"
701 } 693 }
702 } 694 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698