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

Side by Side Diff: android_webview/BUILD.gn

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

Powered by Google App Engine
This is Rietveld 408576698