Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(695)

Side by Side Diff: chrome/browser/extensions/BUILD.gn

Issue 680213003: Cleanup: Remove most enable_extensions logic in chrome/ extensions code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/api_registration.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/api_registration.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698