| 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", | |
| 51 "//components/proximity_auth", | 50 "//components/proximity_auth", |
| 52 "//components/resources", | 51 "//components/resources", |
| 53 "//components/strings", | 52 "//components/strings", |
| 54 "//components/update_client", | 53 "//components/update_client", |
| 55 "//components/url_matcher", | 54 "//components/url_matcher", |
| 56 "//content/app/resources", | 55 "//content/app/resources", |
| 57 "//content/public/common", | 56 "//content/public/common", |
| 58 "//crypto", | 57 "//crypto", |
| 59 "//device/bluetooth", | 58 "//device/bluetooth", |
| 60 "//device/hid", | 59 "//device/hid", |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 ] | 155 ] |
| 157 } | 156 } |
| 158 if (!is_chromeos) { | 157 if (!is_chromeos) { |
| 159 sources += rebase_path( | 158 sources += rebase_path( |
| 160 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources, | 159 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources, |
| 161 ".", | 160 ".", |
| 162 "//chrome") | 161 "//chrome") |
| 163 } | 162 } |
| 164 } | 163 } |
| 165 | 164 |
| 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 |
| 166 if (enable_webrtc) { | 176 if (enable_webrtc) { |
| 167 sources += [ "api/webrtc_logging_private/webrtc_logging_private_api.cc" ] | 177 sources += [ "api/webrtc_logging_private/webrtc_logging_private_api.cc" ] |
| 168 } else { | 178 } else { |
| 169 sources += | 179 sources += |
| 170 [ "api/webrtc_logging_private/webrtc_logging_private_api_stub.cc" ] | 180 [ "api/webrtc_logging_private/webrtc_logging_private_api_stub.cc" ] |
| 171 } | 181 } |
| 172 | 182 |
| 173 if (use_brlapi) { | 183 if (use_brlapi) { |
| 174 deps += [ "//build/linux:libbrlapi" ] | 184 deps += [ "//build/linux:libbrlapi" ] |
| 175 sources += rebase_path(gypi_values.chrome_browser_extensions_brlapi_sources, | 185 sources += rebase_path(gypi_values.chrome_browser_extensions_brlapi_sources, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 "//chrome") | 228 "//chrome") |
| 219 } | 229 } |
| 220 | 230 |
| 221 if (is_chromeos && use_ozone) { | 231 if (is_chromeos && use_ozone) { |
| 222 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 232 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
| 223 } | 233 } |
| 224 if (!use_ozone) { | 234 if (!use_ozone) { |
| 225 sources -= [ "global_shortcut_listener_ozone.cc" ] | 235 sources -= [ "global_shortcut_listener_ozone.cc" ] |
| 226 } | 236 } |
| 227 } | 237 } |
| OLD | NEW |