| 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("//net/features.gni") | 9 import("//net/features.gni") |
| 10 import("//printing/features/features.gni") |
| 10 | 11 |
| 11 # Please keep features in alphabetical order. | 12 # Please keep features in alphabetical order. |
| 12 declare_args() { | 13 declare_args() { |
| 13 # Whether the Java UI is being used (Java infobars and popups, Java native | 14 # Whether the Java UI is being used (Java infobars and popups, Java native |
| 14 # settings and first run experience, sign-in etc.). | 15 # settings and first run experience, sign-in etc.). |
| 15 # Default to true if compiling for android, but allow this being overriden | 16 # Default to true if compiling for android, but allow this being overriden |
| 16 # through the environment. | 17 # through the environment. |
| 17 android_java_ui = is_android | 18 android_java_ui = is_android |
| 18 | 19 |
| 19 enable_app_list = is_chromeos | 20 enable_app_list = is_chromeos |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 enable_xpc_notifications = false | 68 enable_xpc_notifications = false |
| 68 | 69 |
| 69 # Indicates if the build is using PGO. | 70 # Indicates if the build is using PGO. |
| 70 pgo_build = chrome_pgo_phase > 0 | 71 pgo_build = chrome_pgo_phase > 0 |
| 71 | 72 |
| 72 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) | 73 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) |
| 73 # pages. https://github.com/polymer/vulcanize | 74 # pages. https://github.com/polymer/vulcanize |
| 74 use_vulcanize = true | 75 use_vulcanize = true |
| 75 } | 76 } |
| 76 | 77 |
| 78 _enable_printing = enable_basic_printing || enable_print_preview |
| 79 |
| 77 chrome_grit_defines = [ | 80 chrome_grit_defines = [ |
| 78 "enable_app_list=$enable_app_list", | 81 "enable_app_list=$enable_app_list", |
| 79 "enable_background=$enable_background", | 82 "enable_background=$enable_background", |
| 80 "enable_google_now=$enable_google_now", | 83 "enable_google_now=$enable_google_now", |
| 81 "enable_hangout_services_extension=$enable_hangout_services_extension", | 84 "enable_hangout_services_extension=$enable_hangout_services_extension", |
| 82 "enable_hotwording=$enable_hotwording", | 85 "enable_hotwording=$enable_hotwording", |
| 86 "enable_print_preview=$enable_print_preview", |
| 87 "enable_printing=$_enable_printing", |
| 83 "enable_service_discovery=$enable_service_discovery", | 88 "enable_service_discovery=$enable_service_discovery", |
| 84 "enable_vr_shell=$enable_vr_shell", | 89 "enable_vr_shell=$enable_vr_shell", |
| 85 "enable_webvr=$enable_webvr", | 90 "enable_webvr=$enable_webvr", |
| 86 "safe_browsing_mode=$safe_browsing_mode", | 91 "safe_browsing_mode=$safe_browsing_mode", |
| 87 "use_vulcanize=$use_vulcanize", | 92 "use_vulcanize=$use_vulcanize", |
| 88 ] | 93 ] |
| OLD | NEW |