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

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
« no previous file with comments | « crypto/BUILD.gn ('k') | net/BUILD.gn » ('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 # TODO(rockot) bug 505926: Don't include chrome files from here.
6 # See chrome_browser_tests_extensions_sources below
7 import("//chrome/chrome_tests.gni")
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 # TODO(rockot) bug 505926: These should be moved to extensions_browsertests but have
232 # old dependencies on chrome files. The chrome dependencies should be removed
233 # and these moved to the extensions_browsertests target. Currently, we solve
234 # the problem by making this a source set and linking it into
235 # //chrome/test:browser_tests.
236 source_set("chrome_extensions_browsertests") {
237 testonly = true
238 sources = rebase_path(
239 chrome_tests_gypi_values.chrome_browser_tests_extensions_sources,
240 ".",
241 "//chrome")
242
243 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
244
245 # These are the deps from browser_tests minus some internal Chrome ones that
246 # aren't allowed to be included here and that aren't needed.
247 deps = [
248 "//base",
249 "//base:i18n",
250 "//base/allocator",
251 "//base/test:test_support",
252 "//chrome/browser",
253 "//chrome/browser/resources:extension_resource_demo",
254 "//chrome/common/extensions/api",
255 "//chrome/renderer",
256 "//components/autofill/content/browser:risk_proto",
257 "//components/autofill/content/browser/wallet:test_support",
258 "//components/autofill/content/renderer:test_support",
259 "//components/captive_portal:test_support",
260 "//components/dom_distiller/content",
261 "//components/dom_distiller/core:test_support",
262 "//components/guest_view/browser:test_support",
263 "//components/resources",
264 "//components/strings",
265 "//components/translate/core/common",
266 "//components/user_manager:test_support",
267 "//crypto:platform",
268 "//crypto:test_support",
269 "//device/bluetooth:mocks",
270 "//device/serial:test_support",
271 "//extensions/common/api",
272 "//google_apis:test_support",
273 "//media",
274 "//media/base:test_support",
275 "//media/cast:test_support",
276 "//net",
277 "//net:test_support",
278 "//sdch",
279 "//skia",
280 "//sync",
281 "//sync:test_support_sync_api",
282 "//testing/gmock",
283 "//testing/gtest",
284 "//testing/perf",
285 "//third_party/cacheinvalidation",
286 "//third_party/icu",
287 "//third_party/leveldatabase",
288 "//third_party/libaddressinput",
289 "//third_party/libjingle",
290 "//third_party/safe_browsing:test_support",
291 "//third_party/WebKit/public:blink",
292 "//third_party/webrtc/modules/desktop_capture",
293 "//third_party/widevine/cdm:version_h",
294 "//ui/accessibility:test_support",
295 "//ui/base:test_support",
296 "//ui/compositor:test_support",
297 "//ui/resources",
298 "//ui/web_dialogs:test_support",
299 "//v8",
300 ]
301 }
302
303 # TODO(rockot) bug 505926: This should be deleted for the same reason as
304 # chrome_extensions_browsertests.
305 source_set("chrome_extensions_interactive_uitests") {
306 testonly = true
307 sources = rebase_path(
308 chrome_tests_gypi_values.chrome_interactive_ui_test_extensions_sources ,
309 ".",
310 "//chrome")
311
312 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
313
314 # These are the deps from interactive_uitests minus some internal Chrome
315 # ones that aren't allowed to be included here and that aren't needed.
316 deps = [
317 "//base/allocator",
318 "//chrome/browser",
319 "//chrome/browser/devtools",
320 "//chrome/renderer",
321 "//chrome/test:test_support",
322 "//content/app/resources",
323 "//crypto:platform",
324 "//crypto:test_support",
325 "//google_apis:test_support",
326 "//net",
327 "//net:net_resources",
328 "//net:test_support",
329 "//skia",
330 "//sync",
331 "//testing/gmock",
332 "//testing/gtest",
333 "//third_party/hunspell",
334 "//third_party/icu",
335 "//third_party/libpng",
336 "//third_party/zlib",
337 "//ui/base:test_support",
338 "//ui/resources:ui_test_pak",
339 "//ui/web_dialogs:test_support",
340 ]
341 }
OLDNEW
« no previous file with comments | « crypto/BUILD.gn ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698