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 # This file contains UI-related build flags. It should theoretically be in the | 5 # This file contains UI-related build flags. It should theoretically be in the |
6 # src/ui directory and only things that depend on the ui module should get the | 6 # src/ui directory and only things that depend on the ui module should get the |
7 # definitions. | 7 # definitions. |
8 # | 8 # |
9 # However, today we have many "bad" dependencies on some of these flags from, | 9 # However, today we have many "bad" dependencies on some of these flags from, |
10 # e.g. base, so they need to be global. | 10 # e.g. base, so they need to be global. |
(...skipping 14 matching lines...) Expand all Loading... |
25 # TODO(GYP): Get NaCl linking on other platforms. | 25 # TODO(GYP): Get NaCl linking on other platforms. |
26 # Also, see if we can always get rid of enable_nacl_untrusted and | 26 # Also, see if we can always get rid of enable_nacl_untrusted and |
27 # enable_pnacl and always build them if enable_nacl is true. | 27 # enable_pnacl and always build them if enable_nacl is true. |
28 # The "is_nacl" part of the condition is needed to ensure that | 28 # The "is_nacl" part of the condition is needed to ensure that |
29 # the untrusted code is built properly; arguably it should be | 29 # the untrusted code is built properly; arguably it should be |
30 # guarded by "is_nacl" directly rather than enable_nacl_untrusted, but | 30 # guarded by "is_nacl" directly rather than enable_nacl_untrusted, but |
31 # this will go away when Mac and Win are working and we can just use | 31 # this will go away when Mac and Win are working and we can just use |
32 # the commented out logic. | 32 # the commented out logic. |
33 # Eventually we want this to be: | 33 # Eventually we want this to be: |
34 # enable_nacl = !is_ios && !is_android | 34 # enable_nacl = !is_ios && !is_android |
35 enable_nacl = (is_linux && !is_chromeos && !is_debug && | 35 enable_nacl = |
36 build_cpu_arch == "x64") || is_nacl | 36 (is_linux && !is_chromeos && !is_debug && current_cpu == "x64") || is_nacl |
37 enable_nacl_untrusted = enable_nacl | 37 enable_nacl_untrusted = enable_nacl |
38 enable_pnacl = enable_nacl_untrusted | 38 enable_pnacl = enable_nacl_untrusted |
39 | 39 |
40 # If debug_devtools is set to true, JavaScript files for DevTools are stored | 40 # If debug_devtools is set to true, JavaScript files for DevTools are stored |
41 # as is and loaded from disk. Otherwise, a concatenated file is stored in | 41 # as is and loaded from disk. Otherwise, a concatenated file is stored in |
42 # resources.pak. It is still possible to load JS files from disk by passing | 42 # resources.pak. It is still possible to load JS files from disk by passing |
43 # --debug-devtools cmdline switch. | 43 # --debug-devtools cmdline switch. |
44 debug_devtools = false | 44 debug_devtools = false |
45 | 45 |
46 # Enables WebRTC. | 46 # Enables WebRTC. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 170 |
171 # Option controlling the use of GConf (the classic GNOME configuration | 171 # Option controlling the use of GConf (the classic GNOME configuration |
172 # system). | 172 # system). |
173 # TODO(GYP) also require !embedded to enable. | 173 # TODO(GYP) also require !embedded to enable. |
174 use_gconf = is_linux && !is_chromeos | 174 use_gconf = is_linux && !is_chromeos |
175 | 175 |
176 # Hangout services is an extension that adds extra features to Hangouts. | 176 # Hangout services is an extension that adds extra features to Hangouts. |
177 # For official GYP builds, this flag is set, it will likely need to be | 177 # For official GYP builds, this flag is set, it will likely need to be |
178 # parameterized in the future for a similar use. | 178 # parameterized in the future for a similar use. |
179 enable_hangout_services_extension = false | 179 enable_hangout_services_extension = false |
OLD | NEW |