| 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 assert(enable_extensions) |
| 10 |
| 9 gypi_values = exec_script( | 11 gypi_values = exec_script( |
| 10 "//build/gypi_to_gn.py", | 12 "//build/gypi_to_gn.py", |
| 11 [ rebase_path("../../chrome_browser_extensions.gypi") ], | 13 [ rebase_path("../../chrome_browser_extensions.gypi") ], |
| 12 "scope", | 14 "scope", |
| 13 [ "../../chrome_browser_extensions.gypi" ]) | 15 [ "../../chrome_browser_extensions.gypi" ]) |
| 14 | 16 |
| 15 # GYP version: chrome/chrome_browser_extensions.gypi:browser_extensions | 17 # GYP version: chrome/chrome_browser_extensions.gypi:browser_extensions |
| 16 static_library("extensions") { | 18 static_library("extensions") { |
| 17 sources = [] | 19 sources = [] |
| 18 sources += rebase_path( | 20 sources += rebase_path( |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 gypi_values.chrome_browser_extensions_app_list_sources, | 218 gypi_values.chrome_browser_extensions_app_list_sources, |
| 217 ".", "//chrome") | 219 ".", "//chrome") |
| 218 } | 220 } |
| 219 | 221 |
| 220 if (!use_ozone) { | 222 if (!use_ozone) { |
| 221 sources -= [ | 223 sources -= [ |
| 222 "global_shortcut_listener_ozone.cc", | 224 "global_shortcut_listener_ozone.cc", |
| 223 ] | 225 ] |
| 224 } | 226 } |
| 225 } | 227 } |
| OLD | NEW |