| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 use_gio = is_linux && !is_chromeos && !is_chromecast | 76 use_gio = is_linux && !is_chromeos && !is_chromecast |
| 77 | 77 |
| 78 # Whether or not to use external popup menu. | 78 # Whether or not to use external popup menu. |
| 79 use_external_popup_menu = is_android || is_mac | 79 use_external_popup_menu = is_android || is_mac |
| 80 | 80 |
| 81 # Enable WebVR support by default on Android | 81 # Enable WebVR support by default on Android |
| 82 # Still requires command line flag to access API | 82 # Still requires command line flag to access API |
| 83 # TODO(bshe): Enable for other architecture too. Currently we only support arm | 83 # TODO(bshe): Enable for other architecture too. Currently we only support arm |
| 84 # and arm64. | 84 # and arm64. |
| 85 enable_webvr = is_android && is_component_build && | 85 enable_webvr = is_android && (current_cpu == "arm" || current_cpu == "arm64") |
| 86 (current_cpu == "arm" || current_cpu == "arm64") | |
| 87 } | 86 } |
| 88 | 87 |
| 89 # Additional dependent variables ----------------------------------------------- | 88 # Additional dependent variables ----------------------------------------------- |
| 90 | 89 |
| 91 # The seccomp-bpf sandbox is only supported on five architectures | 90 # The seccomp-bpf sandbox is only supported on five architectures |
| 92 # currently. | 91 # currently. |
| 93 # Do not disable seccomp_bpf anywhere without talking to | 92 # Do not disable seccomp_bpf anywhere without talking to |
| 94 # security@chromium.org! | 93 # security@chromium.org! |
| 95 use_seccomp_bpf = | 94 use_seccomp_bpf = |
| 96 (is_linux || is_android) && | 95 (is_linux || is_android) && |
| (...skipping 20 matching lines...) Expand all Loading... |
| 117 | 116 |
| 118 enable_configuration_policy = !is_ios | 117 enable_configuration_policy = !is_ios |
| 119 | 118 |
| 120 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 119 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
| 121 # | 120 # |
| 122 # ============================================= | 121 # ============================================= |
| 123 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 122 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
| 124 # ============================================= | 123 # ============================================= |
| 125 # | 124 # |
| 126 # See comment at the top. | 125 # See comment at the top. |
| OLD | NEW |