| 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 assert(enable_extensions) | 8 assert(enable_extensions) |
| 9 | 9 |
| 10 gypi_values = | 10 gypi_values = |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 "//chrome/app/theme:theme_resources", | 40 "//chrome/app/theme:theme_resources", |
| 41 "//chrome/browser/devtools", | 41 "//chrome/browser/devtools", |
| 42 "//chrome/common", | 42 "//chrome/common", |
| 43 "//chrome/common/extensions/api:api_registration", | 43 "//chrome/common/extensions/api:api_registration", |
| 44 "//chrome/common/safe_browsing:proto", | 44 "//chrome/common/safe_browsing:proto", |
| 45 "//chrome/installer/util:with_no_strings", | 45 "//chrome/installer/util:with_no_strings", |
| 46 "//components/copresence", | 46 "//components/copresence", |
| 47 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", | 47 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", |
| 48 "//components/dom_distiller/core", | 48 "//components/dom_distiller/core", |
| 49 "//components/onc", | 49 "//components/onc", |
| 50 "//components/policy", |
| 50 "//components/proximity_auth", | 51 "//components/proximity_auth", |
| 51 "//components/resources", | 52 "//components/resources", |
| 52 "//components/strings", | 53 "//components/strings", |
| 53 "//components/update_client", | 54 "//components/update_client", |
| 54 "//components/url_matcher", | 55 "//components/url_matcher", |
| 55 "//content/app/resources", | 56 "//content/app/resources", |
| 56 "//content/public/common", | 57 "//content/public/common", |
| 57 "//crypto", | 58 "//crypto", |
| 58 "//device/bluetooth", | 59 "//device/bluetooth", |
| 59 "//device/hid", | 60 "//device/hid", |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 ] | 156 ] |
| 156 } | 157 } |
| 157 if (!is_chromeos) { | 158 if (!is_chromeos) { |
| 158 sources += rebase_path( | 159 sources += rebase_path( |
| 159 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources, | 160 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources, |
| 160 ".", | 161 ".", |
| 161 "//chrome") | 162 "//chrome") |
| 162 } | 163 } |
| 163 } | 164 } |
| 164 | 165 |
| 165 if (enable_configuration_policy) { | |
| 166 deps += [ "//components/policy" ] | |
| 167 sources += [ | |
| 168 "policy_handlers.cc", | |
| 169 "policy_handlers.h", | |
| 170 ] | |
| 171 sources += rebase_path(gypi_values.chrome_browser_extensions_policy_sources, | |
| 172 ".", | |
| 173 "//chrome") | |
| 174 } | |
| 175 | |
| 176 if (enable_webrtc) { | 166 if (enable_webrtc) { |
| 177 sources += [ "api/webrtc_logging_private/webrtc_logging_private_api.cc" ] | 167 sources += [ "api/webrtc_logging_private/webrtc_logging_private_api.cc" ] |
| 178 } else { | 168 } else { |
| 179 sources += | 169 sources += |
| 180 [ "api/webrtc_logging_private/webrtc_logging_private_api_stub.cc" ] | 170 [ "api/webrtc_logging_private/webrtc_logging_private_api_stub.cc" ] |
| 181 } | 171 } |
| 182 | 172 |
| 183 if (use_brlapi) { | 173 if (use_brlapi) { |
| 184 deps += [ "//build/linux:libbrlapi" ] | 174 deps += [ "//build/linux:libbrlapi" ] |
| 185 sources += rebase_path(gypi_values.chrome_browser_extensions_brlapi_sources, | 175 sources += rebase_path(gypi_values.chrome_browser_extensions_brlapi_sources, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 "//chrome") | 218 "//chrome") |
| 229 } | 219 } |
| 230 | 220 |
| 231 if (is_chromeos && use_ozone) { | 221 if (is_chromeos && use_ozone) { |
| 232 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 222 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
| 233 } | 223 } |
| 234 if (!use_ozone) { | 224 if (!use_ozone) { |
| 235 sources -= [ "global_shortcut_listener_ozone.cc" ] | 225 sources -= [ "global_shortcut_listener_ozone.cc" ] |
| 236 } | 226 } |
| 237 } | 227 } |
| OLD | NEW |