| 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", |
| 11 [ rebase_path("../../chrome_browser_extensions.gypi") ], | 11 [ rebase_path("../../chrome_browser_extensions.gypi") ], |
| 12 "scope", | 12 "scope", |
| 13 [ "../../chrome_browser_extensions.gypi" ]) | 13 [ "../../chrome_browser_extensions.gypi" ]) |
| 14 | 14 |
| 15 # GYP version: chrome/chrome_browser_extensions.gypi:browser_extensions | 15 # GYP version: chrome/chrome_browser_extensions.gypi:browser_extensions |
| 16 static_library("extensions") { | 16 static_library("extensions") { |
| 17 sources = rebase_path( | 17 sources = [] |
| 18 gypi_values.chrome_browser_extensions_extensions_sources, | |
| 19 ".", "//chrome") | |
| 20 | |
| 21 defines = [] | 18 defines = [] |
| 22 | 19 |
| 23 # TODO(GYP) remove this when webrtc is ported. | 20 # TODO(GYP) remove this when webrtc is ported. |
| 24 configs += [ "//content:webrtc_stub_config" ] | 21 configs += [ "//content:webrtc_stub_config" ] |
| 25 | 22 |
| 26 # Since browser and browser_extensions actually depend on each other, | 23 # Since browser and browser_extensions actually depend on each other, |
| 27 # we must omit the dependency from browser_extensions to browser. | 24 # we must omit the dependency from browser_extensions to browser. |
| 28 # However, this means browser_extensions and browser should more or less | 25 # However, this means browser_extensions and browser should more or less |
| 29 # have the same dependencies. Once browser_extensions is untangled from | 26 # have the same dependencies. Once browser_extensions is untangled from |
| 30 # browser, then we can clean up these dependencies. | 27 # browser, then we can clean up these dependencies. |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 ".", "//chrome") | 216 ".", "//chrome") |
| 220 } | 217 } |
| 221 | 218 |
| 222 if (!use_ozone) { | 219 if (!use_ozone) { |
| 223 sources -= [ | 220 sources -= [ |
| 224 "global_shortcut_listener_ozone.cc", | 221 "global_shortcut_listener_ozone.cc", |
| 225 ] | 222 ] |
| 226 } | 223 } |
| 227 } | 224 } |
| 228 } | 225 } |
| OLD | NEW |