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 Chrome-feature-related build flags (see ui.gni for | 5 # This file contains Chrome-feature-related build flags (see ui.gni for |
6 # UI-related ones). These should theoretically be moved to the build files of | 6 # UI-related ones). These should theoretically be moved to the build files of |
7 # the features themselves. | 7 # the features themselves. |
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 to match the GYP configuration. Also, | 10 # e.g. base, so they need to be global to match the GYP configuration. Also, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 # 2: Use only CLD2. | 57 # 2: Use only CLD2. |
58 if (is_android) { | 58 if (is_android) { |
59 cld_version = 1 | 59 cld_version = 1 |
60 } else { | 60 } else { |
61 cld_version = 2 | 61 cld_version = 2 |
62 } | 62 } |
63 | 63 |
64 # libudev usage. | 64 # libudev usage. |
65 use_udev = is_linux && !is_fnl | 65 use_udev = is_linux && !is_fnl |
66 | 66 |
67 # Enable basic printing support and UI. | |
68 enable_basic_printing = !is_chromeos | |
69 | |
70 # Enable printing with print preview. It does not imply | |
71 # enable_basic_printing. It's possible to build Chrome with preview only. | |
72 enable_print_preview = !is_android | |
73 | |
74 # The seccomp-bpf sandbox is only supported on three architectures | 67 # The seccomp-bpf sandbox is only supported on three architectures |
75 # currently. | 68 # currently. |
76 # Do not disable seccomp_bpf anywhere without talking to | 69 # Do not disable seccomp_bpf anywhere without talking to |
77 # security@chromium.org! | 70 # security@chromium.org! |
78 use_seccomp_bpf = (is_linux || is_android) && | 71 use_seccomp_bpf = (is_linux || is_android) && |
79 (current_cpu == "x86" || current_cpu == "x64" || | 72 (current_cpu == "x86" || current_cpu == "x64" || |
80 current_cpu == "arm" || current_cpu == "mipsel") | 73 current_cpu == "arm" || current_cpu == "mipsel") |
81 | 74 |
82 # Use brlapi from brltty for braille display support. | 75 # Use brlapi from brltty for braille display support. |
83 use_brlapi = is_chromeos | 76 use_brlapi = is_chromeos |
84 | 77 |
85 # Option controlling the use of GConf (the classic GNOME configuration | 78 # Option controlling the use of GConf (the classic GNOME configuration |
86 # system). | 79 # system). |
87 # TODO(GYP) also require !embedded to enable. | 80 # TODO(GYP) also require !embedded to enable. |
88 use_gconf = is_linux && !is_chromeos | 81 use_gconf = is_linux && !is_chromeos |
OLD | NEW |