| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 enable_autofill_dialog = !is_ios | 73 enable_autofill_dialog = !is_ios |
| 74 | 74 |
| 75 enable_google_now = !is_ios && !is_android | 75 enable_google_now = !is_ios && !is_android |
| 76 | 76 |
| 77 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) |
| 78 | 78 |
| 79 enable_remoting = !is_ios && !is_android | 79 enable_remoting = !is_ios && !is_android |
| 80 | 80 |
| 81 # Enable hole punching for the protected video. | 81 # Enable hole punching for the protected video. |
| 82 enable_video_hole = is_android | 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 |
| 83 } | 87 } |
| 84 | 88 |
| 85 # Additional dependent variables ----------------------------------------------- | 89 # Additional dependent variables ----------------------------------------------- |
| 86 | 90 |
| 87 # Set the version of CLD. | 91 # Set the version of CLD. |
| 88 # 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. |
| 89 # 1: Use only CLD1. | 93 # 1: Use only CLD1. |
| 90 # 2: Use only CLD2. | 94 # 2: Use only CLD2. |
| 91 if (is_android) { | 95 if (is_android) { |
| 92 cld_version = 1 | 96 cld_version = 1 |
| 93 } else { | 97 } else { |
| 94 cld_version = 2 | 98 cld_version = 2 |
| 95 } | 99 } |
| 96 | 100 |
| 97 # libudev usage. This currently only affects the content layer. | 101 # libudev usage. This currently only affects the content layer. |
| 98 use_udev = is_linux | 102 use_udev = is_linux |
| 99 | 103 |
| 100 # Enable the spell checker. | 104 # Enable the spell checker. |
| 101 enable_spellcheck = !is_android | 105 enable_spellcheck = !is_android |
| 102 | 106 |
| 103 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) | 107 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
| 104 | 108 |
| 105 enable_browser_cdms = is_android | |
| 106 | |
| 107 # Enable basic printing support and UI. | 109 # Enable basic printing support and UI. |
| 108 enable_basic_printing = !is_chromeos | 110 enable_basic_printing = !is_chromeos |
| 109 | 111 |
| 110 # Enable printing with print preview. It does not imply | 112 # Enable printing with print preview. It does not imply |
| 111 # 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. |
| 112 enable_print_preview = !is_android | 114 enable_print_preview = !is_android |
| 113 | 115 |
| 114 # The seccomp-bpf sandbox is only supported on three architectures | 116 # The seccomp-bpf sandbox is only supported on three architectures |
| 115 # currently. | 117 # currently. |
| 116 # 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... |
| 180 # TODO(GYP) also require !embedded to enable. | 182 # TODO(GYP) also require !embedded to enable. |
| 181 use_gconf = is_linux && !is_chromeos | 183 use_gconf = is_linux && !is_chromeos |
| 182 | 184 |
| 183 # Hangout services is an extension that adds extra features to Hangouts. | 185 # Hangout services is an extension that adds extra features to Hangouts. |
| 184 # 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 |
| 185 # parameterized in the future for a similar use. | 187 # parameterized in the future for a similar use. |
| 186 enable_hangout_services_extension = false | 188 enable_hangout_services_extension = false |
| 187 | 189 |
| 188 # Whether to back up data before sync. | 190 # Whether to back up data before sync. |
| 189 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 |