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

Side by Side Diff: extensions/BUILD.gn

Issue 1208963003: Move GN obj files to target-specific dirs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months 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 # TODO(brettw) don't include chrome files from here.
6 # See chrome_browser_tests_extensions_sources below
7 import("//chrome/chrome_tests.gni")
Nico 2015/06/30 20:38:46 eek!
5 import("//extensions/extensions.gni") 8 import("//extensions/extensions.gni")
6 import("//testing/test.gni") 9 import("//testing/test.gni")
7 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
8 import("//tools/grit/repack.gni") 11 import("//tools/grit/repack.gni")
9 12
10 assert(enable_extensions) 13 assert(enable_extensions)
11 14
12 # GYP version: extensions/extensions_resources.gyp:extensions_resources 15 # GYP version: extensions/extensions_resources.gyp:extensions_resources
13 group("extensions_resources") { 16 group("extensions_resources") {
14 deps = [ 17 deps = [
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 ] 220 ]
218 221
219 if (is_win) { 222 if (is_win) {
220 deps += [ "//base/allocator" ] 223 deps += [ "//base/allocator" ]
221 } 224 }
222 225
223 if (is_mac) { 226 if (is_mac) {
224 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper. 227 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper.
225 } 228 }
226 } 229 }
230
231 # These should be moved to extensions_browsertests but have old dependencies on
232 # chrome files. The chrome dependencies should be removed and these moved to
233 # the extensions_browsertests target. Currently, we solve the problem by making
234 # this a source set and linking it into //chrome/test:browser_tests.
235 source_set("chrome_extensions_browsertests") {
236 testonly = true
237 sources = rebase_path(
238 chrome_tests_gypi_values.chrome_browser_tests_extensions_sources,
239 ".",
240 "//chrome")
241 }
242
243 # This should be deleted for the same reason as chrome_extensions_browsertests.
244 source_set("chrome_extensions_interactive_uitests") {
245 testonly = true
246 sources = rebase_path(
247 chrome_tests_gypi_values.chrome_interactive_ui_test_extensions_sources ,
248 ".",
249 "//chrome")
250 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698