| 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 | 8 |
| 9 gypi_values = exec_script( | 9 gypi_values = exec_script( |
| 10 "//build/gypi_to_gn.py", | 10 "//build/gypi_to_gn.py", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 # Since browser and browser_extensions actually depend on each other, | 26 # Since browser and browser_extensions actually depend on each other, |
| 27 # we must omit the dependency from browser_extensions to browser. | 27 # we must omit the dependency from browser_extensions to browser. |
| 28 # However, this means browser_extensions and browser should more or less | 28 # However, this means browser_extensions and browser should more or less |
| 29 # have the same dependencies. Once browser_extensions is untangled from | 29 # have the same dependencies. Once browser_extensions is untangled from |
| 30 # browser, then we can clean up these dependencies. | 30 # browser, then we can clean up these dependencies. |
| 31 deps = [ | 31 deps = [ |
| 32 "//chrome:extra_resources", | 32 "//chrome:extra_resources", |
| 33 "//chrome:resources", | 33 "//chrome:resources", |
| 34 "//chrome:strings", | 34 "//chrome:strings", |
| 35 "//chrome/app/resources:platform_locale_settings", | 35 "//chrome/app/resources:platform_locale_settings", |
| 36 "//chrome/browser/extensions/api/cast_channel:cast_channel_proto", | |
| 37 "//chrome/app/theme:theme_resources", | 36 "//chrome/app/theme:theme_resources", |
| 38 "//chrome/browser/history:in_memory_url_index_cache_proto", | 37 "//chrome/browser/history:in_memory_url_index_cache_proto", |
| 39 "//chrome/browser/sync_file_system:sync_file_system_proto", | 38 "//chrome/browser/sync_file_system:sync_file_system_proto", |
| 40 "//chrome/common", | 39 "//chrome/common", |
| 41 "//chrome/common/extensions/api", | 40 "//chrome/common/extensions/api", |
| 42 "//chrome/common/net", | 41 "//chrome/common/net", |
| 43 "//chrome/common/safe_browsing:proto", | 42 "//chrome/common/safe_browsing:proto", |
| 44 "//components/onc", | 43 "//components/onc", |
| 45 "//components/strings", | 44 "//components/strings", |
| 46 "//components/url_matcher", | 45 "//components/url_matcher", |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 if (is_win) { | 195 if (is_win) { |
| 197 deps += [ | 196 deps += [ |
| 198 "//third_party/iaccessible2", | 197 "//third_party/iaccessible2", |
| 199 "//third_party/isimpledom", | 198 "//third_party/isimpledom", |
| 200 #'launcher_support', TODO(GYP) | 199 #'launcher_support', TODO(GYP) |
| 201 ] | 200 ] |
| 202 } else if (!is_chromeos) { | 201 } else if (!is_chromeos) { |
| 203 sources += [ "api/system_display/display_info_provider_aura.cc" ] | 202 sources += [ "api/system_display/display_info_provider_aura.cc" ] |
| 204 } | 203 } |
| 205 | 204 |
| 206 if (use_openssl) { | |
| 207 sources += [ "api/cast_channel/cast_auth_util_openssl.cc" ] | |
| 208 } else { | |
| 209 # cast_auth_util_nss.cc uses NSS functions. | |
| 210 sources += [ "api/cast_channel/cast_auth_util_nss.cc" ] | |
| 211 } | |
| 212 | |
| 213 if (is_android) { | 205 if (is_android) { |
| 214 sources += rebase_path( | 206 sources += rebase_path( |
| 215 gypi_values.chrome_browser_extensions_android_sources, | 207 gypi_values.chrome_browser_extensions_android_sources, |
| 216 ".", "//chrome") | 208 ".", "//chrome") |
| 217 } | 209 } |
| 218 | 210 |
| 219 if (enable_app_list) { | 211 if (enable_app_list) { |
| 220 sources += rebase_path( | 212 sources += rebase_path( |
| 221 gypi_values.chrome_browser_extensions_app_list_sources, | 213 gypi_values.chrome_browser_extensions_app_list_sources, |
| 222 ".", "//chrome") | 214 ".", "//chrome") |
| 223 } | 215 } |
| 224 | 216 |
| 225 if (!use_ozone) { | 217 if (!use_ozone) { |
| 226 sources -= [ | 218 sources -= [ |
| 227 "global_shortcut_listener_ozone.cc", | 219 "global_shortcut_listener_ozone.cc", |
| 228 ] | 220 ] |
| 229 } | 221 } |
| 230 } | 222 } |
| 231 } | 223 } |
| OLD | NEW |