| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
| 7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//extensions/features/features.gni") | 9 import("//extensions/features/features.gni") |
| 10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
| 11 import("//net/features.gni") | 11 import("//net/features.gni") |
| 12 import("//ppapi/features/features.gni") | 12 import("//ppapi/features/features.gni") |
| 13 import("//printing/features/features.gni") | 13 import("//printing/features/features.gni") |
| 14 import("//ui/base/ui_features.gni") | 14 import("//ui/base/ui_features.gni") |
| 15 | 15 |
| 16 # Please keep features in alphabetical order. | 16 # Please keep features in alphabetical order. |
| 17 declare_args() { | 17 declare_args() { |
| 18 # Whether the Java UI is being used (Java infobars and popups, Java native | |
| 19 # settings and first run experience, sign-in etc.). | |
| 20 # Default to true if compiling for android, but allow this being overriden | |
| 21 # through the environment. | |
| 22 android_java_ui = is_android | |
| 23 | |
| 24 enable_app_list = is_chromeos | 18 enable_app_list = is_chromeos |
| 25 | 19 |
| 26 # Enables support for background apps. | 20 # Enables support for background apps. |
| 27 enable_background = !is_ios && !is_android && !is_chromecast | 21 enable_background = !is_ios && !is_android && !is_chromecast |
| 28 | 22 |
| 29 # Enable the printing system dialog for platforms that support printing | 23 # Enable the printing system dialog for platforms that support printing |
| 30 # and have a system dialog. | 24 # and have a system dialog. |
| 31 enable_basic_print_dialog = enable_basic_printing && !is_chromeos | 25 enable_basic_print_dialog = enable_basic_printing && !is_chromeos |
| 32 | 26 |
| 33 enable_captive_portal_detection = !is_android && !is_ios && !is_chromecast | 27 enable_captive_portal_detection = !is_android && !is_ios && !is_chromecast |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 "enable_print_preview=$enable_print_preview", | 93 "enable_print_preview=$enable_print_preview", |
| 100 "enable_printing=$_enable_printing", | 94 "enable_printing=$_enable_printing", |
| 101 "enable_service_discovery=$enable_service_discovery", | 95 "enable_service_discovery=$enable_service_discovery", |
| 102 "enable_vr_shell=$enable_vr_shell", | 96 "enable_vr_shell=$enable_vr_shell", |
| 103 "enable_webrtc=$enable_webrtc", | 97 "enable_webrtc=$enable_webrtc", |
| 104 "enable_webvr=$enable_webvr", | 98 "enable_webvr=$enable_webvr", |
| 105 "mac_views_browser=$mac_views_browser", | 99 "mac_views_browser=$mac_views_browser", |
| 106 "safe_browsing_mode=$safe_browsing_mode", | 100 "safe_browsing_mode=$safe_browsing_mode", |
| 107 "use_vulcanize=$use_vulcanize", | 101 "use_vulcanize=$use_vulcanize", |
| 108 ] | 102 ] |
| OLD | NEW |