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

Side by Side Diff: chrome/common/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
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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 gypi_values = exec_script( 7 gypi_values = exec_script(
8 "//build/gypi_to_gn.py", 8 "//build/gypi_to_gn.py",
9 [ rebase_path("../chrome_common.gypi") ], 9 [ rebase_path("../chrome_common.gypi") ],
10 "scope", 10 "scope",
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 "//third_party/re2", 97 "//third_party/re2",
98 "//third_party/widevine/cdm:version_h", 98 "//third_party/widevine/cdm:version_h",
99 ] 99 ]
100 } 100 }
101 101
102 if (enable_extensions) { 102 if (enable_extensions) {
103 sources += rebase_path( 103 sources += rebase_path(
104 gypi_values.chrome_common_extensions_sources, 104 gypi_values.chrome_common_extensions_sources,
105 ".", "//chrome") 105 ".", "//chrome")
106 deps += [ 106 deps += [
107 "//device/bluetooth", # TODO(thestig) Still needed? Not in gyp version.
108 "//device/usb", 107 "//device/usb",
109 "//chrome/common/extensions/api", 108 "//chrome/common/extensions/api",
110 "//extensions/common", 109 "//extensions/common",
111 "//extensions/common/api", 110 "//extensions/common/api",
112 "//extensions:extensions_resources", 111 "//extensions:extensions_resources",
113 "//extensions/strings", 112 "//extensions/strings",
114 ] 113 ]
115 } 114 }
116 115
117 if (is_win || is_mac) { 116 if (is_win || is_mac) {
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 } 310 }
312 311
313 if (enable_extensions) { 312 if (enable_extensions) {
314 sources += [ 313 sources += [
315 "extensions/extension_test_util.cc", 314 "extensions/extension_test_util.cc",
316 "extensions/extension_test_util.h", 315 "extensions/extension_test_util.h",
317 ] 316 ]
318 } 317 }
319 318
320 } 319 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_settings_handler.cc ('k') | chrome/common/common_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698