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 29 matching lines...) Expand all Loading... | |
40 | 40 |
41 # Enable printing support and UI. This variable is used to configure which | 41 # Enable printing support and UI. This variable is used to configure which |
42 # parts of printing will be built. 0 disables printing completely, 1 enables it | 42 # parts of printing will be built. 0 disables printing completely, 1 enables it |
43 # fully, and 2 enables only the codepath to generate a Metafile (e.g. usually | 43 # fully, and 2 enables only the codepath to generate a Metafile (e.g. usually |
44 # a PDF or EMF) and disables print preview, cloud print, UI, etc. | 44 # a PDF or EMF) and disables print preview, cloud print, UI, etc. |
45 if (is_android) { | 45 if (is_android) { |
46 enable_printing = 2 | 46 enable_printing = 2 |
47 } else { | 47 } else { |
48 enable_printing = 1 | 48 enable_printing = 1 |
49 } | 49 } |
50 | |
51 # The seccomp-bpf sandbox is only supported on three architectures | |
52 # currently. | |
53 # Do not disable seccomp_bpf anywhere without talking to | |
54 # security@chromium.org! | |
55 use_seccomp_bpf = is_linux || is_android && | |
scottmg
2014/05/20 19:06:02
parens around (linux | android) would be easier to
| |
56 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") | |
57 | |
58 enable_webrtc = !is_ios | |
OLD | NEW |