OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # ============================================= | 5 # ============================================= |
6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
7 # ============================================= | 7 # ============================================= |
8 # | 8 # |
9 # These flags are effectively global. Your feature flag should go near the | 9 # These flags are effectively global. Your feature flag should go near the |
10 # code it controls. Most of these items are here now because they control | 10 # code it controls. Most of these items are here now because they control |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 # Enable WebVR support by default on Android | 73 # Enable WebVR support by default on Android |
74 # Still requires command line flag to access API | 74 # Still requires command line flag to access API |
75 # TODO(bshe): Enable for other architecture too. Currently we only support arm | 75 # TODO(bshe): Enable for other architecture too. Currently we only support arm |
76 # and arm64. | 76 # and arm64. |
77 enable_webvr = is_android && (current_cpu == "arm" || current_cpu == "arm64") | 77 enable_webvr = is_android && (current_cpu == "arm" || current_cpu == "arm64") |
78 } | 78 } |
79 | 79 |
80 # Additional dependent variables ----------------------------------------------- | 80 # Additional dependent variables ----------------------------------------------- |
81 | 81 |
82 # The seccomp-bpf sandbox is only supported on five architectures | |
83 # currently. | |
84 # Do not disable seccomp_bpf anywhere without talking to | |
85 # security@chromium.org! | |
86 use_seccomp_bpf = | |
87 (is_linux || is_android) && | |
88 (current_cpu == "x86" || current_cpu == "x64" || current_cpu == "arm" || | |
89 current_cpu == "arm64" || current_cpu == "mipsel") | |
90 | |
91 # Enable notifications everywhere except iOS. | 82 # Enable notifications everywhere except iOS. |
92 enable_notifications = !is_ios | 83 enable_notifications = !is_ios |
93 | 84 |
94 enable_web_speech = !is_android && !is_ios | 85 enable_web_speech = !is_android && !is_ios |
95 | 86 |
96 enable_task_manager = !is_ios && !is_android | 87 enable_task_manager = !is_ios && !is_android |
97 | 88 |
98 enable_themes = !is_android && !is_ios | 89 enable_themes = !is_android && !is_ios |
99 | 90 |
100 # Whether we are using the rlz library or not. Platforms like Android send | 91 # Whether we are using the rlz library or not. Platforms like Android send |
101 # rlz codes for searches but do not use the library. | 92 # rlz codes for searches but do not use the library. |
102 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos | 93 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos |
103 enable_rlz = is_chrome_branded && enable_rlz_support | 94 enable_rlz = is_chrome_branded && enable_rlz_support |
104 | 95 |
105 # Chrome OS: whether to also build the upcoming version of | 96 # Chrome OS: whether to also build the upcoming version of |
106 # ChromeVox, which can then be enabled via a command-line switch. | 97 # ChromeVox, which can then be enabled via a command-line switch. |
107 enable_chromevox_next = false | 98 enable_chromevox_next = false |
108 | 99 |
109 enable_configuration_policy = !is_ios | 100 enable_configuration_policy = !is_ios |
110 | 101 |
111 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 102 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
112 # | 103 # |
113 # ============================================= | 104 # ============================================= |
114 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 105 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
115 # ============================================= | 106 # ============================================= |
116 # | 107 # |
117 # See comment at the top. | 108 # See comment at the top. |
OLD | NEW |