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 # 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. |
47 # TODO(GYP) make mac and android work. | 47 # TODO(GYP) make mac and android work. |
48 enable_webrtc = !is_ios && !is_mac && !is_android | 48 enable_webrtc = !is_ios && !is_mac && !is_android |
49 | 49 |
| 50 # Enables the Media Router. |
| 51 enable_media_router = !is_ios && !is_android |
| 52 |
50 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. | 53 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
51 proprietary_codecs = false | 54 proprietary_codecs = false |
52 | 55 |
53 enable_configuration_policy = true | 56 enable_configuration_policy = true |
54 | 57 |
55 # Enables support for background apps. | 58 # Enables support for background apps. |
56 enable_background = !is_ios && !is_android | 59 enable_background = !is_ios && !is_android |
57 | 60 |
58 enable_captive_portal_detection = !is_android && !is_ios | 61 enable_captive_portal_detection = !is_android && !is_ios |
59 | 62 |
60 # Enables use of the session service, which is enabled by default. | 63 # Enables use of the session service, which is enabled by default. |
61 # Android stores them separately on the Java side. | 64 # Android stores them separately on the Java side. |
62 enable_session_service = !is_android && !is_ios | 65 enable_session_service = !is_android && !is_ios |
63 | 66 |
64 enable_plugin_installation = is_win || is_mac | 67 enable_plugin_installation = is_win || is_mac |
65 | 68 |
66 enable_app_list = !is_ios && !is_android | 69 enable_app_list = !is_ios && !is_android |
67 | 70 |
68 enable_supervised_users = !is_ios | 71 enable_supervised_users = !is_ios |
69 | 72 |
70 enable_autofill_dialog = !is_ios && !(is_android && is_android_webview_build) | 73 enable_autofill_dialog = !is_ios |
71 | 74 |
72 enable_google_now = !is_ios && !is_android | 75 enable_google_now = !is_ios && !is_android |
73 | 76 |
74 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) | 77 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) |
75 | 78 |
76 enable_remoting = !is_ios && !is_android | 79 enable_remoting = !is_ios && !is_android |
| 80 |
| 81 # Enable hole punching for the protected video. |
| 82 enable_video_hole = is_android |
| 83 |
| 84 # Enables browser side Content Decryption Modules. Required for embedders |
| 85 # (e.g. Android and ChromeCast) that use a browser side CDM. |
| 86 enable_browser_cdms = is_android |
77 } | 87 } |
78 | 88 |
79 # Additional dependent variables ----------------------------------------------- | 89 # Additional dependent variables ----------------------------------------------- |
80 | 90 |
81 # Set the version of CLD. | 91 # Set the version of CLD. |
82 # 0: Don't specify the version. This option is for the Finch testing. | 92 # 0: Don't specify the version. This option is for the Finch testing. |
83 # 1: Use only CLD1. | 93 # 1: Use only CLD1. |
84 # 2: Use only CLD2. | 94 # 2: Use only CLD2. |
85 if (is_android) { | 95 if (is_android) { |
86 cld_version = 1 | 96 cld_version = 1 |
87 } else { | 97 } else { |
88 cld_version = 2 | 98 cld_version = 2 |
89 } | 99 } |
90 | 100 |
91 # libudev usage. This currently only affects the content layer. | 101 # libudev usage. This currently only affects the content layer. |
92 use_udev = is_linux | 102 use_udev = is_linux |
93 | 103 |
94 # Enable the spell checker. | 104 # Enable the spell checker. |
95 enable_spellcheck = !is_android | 105 enable_spellcheck = !is_android |
96 | 106 |
97 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) | 107 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
98 | 108 |
99 enable_browser_cdms = is_android | |
100 | |
101 # Enable basic printing support and UI. | 109 # Enable basic printing support and UI. |
102 enable_basic_printing = !is_chromeos | 110 enable_basic_printing = !is_chromeos |
103 | 111 |
104 # Enable printing with print preview. It does not imply | 112 # Enable printing with print preview. It does not imply |
105 # enable_basic_printing. It's possible to build Chrome with preview only. | 113 # enable_basic_printing. It's possible to build Chrome with preview only. |
106 enable_print_preview = !is_android | 114 enable_print_preview = !is_android |
107 | 115 |
108 # The seccomp-bpf sandbox is only supported on three architectures | 116 # The seccomp-bpf sandbox is only supported on three architectures |
109 # currently. | 117 # currently. |
110 # Do not disable seccomp_bpf anywhere without talking to | 118 # Do not disable seccomp_bpf anywhere without talking to |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 # TODO(GYP) also require !embedded to enable. | 182 # TODO(GYP) also require !embedded to enable. |
175 use_gconf = is_linux && !is_chromeos | 183 use_gconf = is_linux && !is_chromeos |
176 | 184 |
177 # Hangout services is an extension that adds extra features to Hangouts. | 185 # Hangout services is an extension that adds extra features to Hangouts. |
178 # For official GYP builds, this flag is set, it will likely need to be | 186 # For official GYP builds, this flag is set, it will likely need to be |
179 # parameterized in the future for a similar use. | 187 # parameterized in the future for a similar use. |
180 enable_hangout_services_extension = false | 188 enable_hangout_services_extension = false |
181 | 189 |
182 # Whether to back up data before sync. | 190 # Whether to back up data before sync. |
183 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 191 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
OLD | NEW |