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

Side by Side Diff: extensions/BUILD.gn

Issue 1647453002: allocator cleanup: remove dependencies on allocator from all targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pure rebase Created 4 years, 10 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 | « device/device_tests.gyp ('k') | extensions/extensions_tests.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 # TODO(rockot) bug 505926: Don't include chrome files from here. 5 # TODO(rockot) bug 505926: Don't include chrome files from here.
6 # See chrome_browser_tests_extensions_sources below 6 # See chrome_browser_tests_extensions_sources below
7 import("//chrome/chrome_tests.gni") 7 import("//chrome/chrome_tests.gni")
8 import("//extensions/extensions.gni") 8 import("//extensions/extensions.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 "//testing/gtest", 198 "//testing/gtest",
199 "//third_party/leveldatabase", 199 "//third_party/leveldatabase",
200 "//third_party/mojo/src/mojo/edk/js", 200 "//third_party/mojo/src/mojo/edk/js",
201 "//third_party/mojo/src/mojo/edk/system", 201 "//third_party/mojo/src/mojo/edk/system",
202 ] 202 ]
203 203
204 data_deps = [ 204 data_deps = [
205 "//third_party/mesa:osmesa", 205 "//third_party/mesa:osmesa",
206 ] 206 ]
207 207
208 if (is_win) {
209 deps += [ "//base/allocator" ]
210 }
211
212 if (is_chromeos) { 208 if (is_chromeos) {
213 sources += [ 209 sources += [
214 "browser/api/webcam_private/visca_webcam_unittest.cc", 210 "browser/api/webcam_private/visca_webcam_unittest.cc",
215 211
216 # TODO(rockot): There are two implementations of VpnServiceFactory, a 212 # TODO(rockot): There are two implementations of VpnServiceFactory, a
217 # stub in app_shell and a real one in Chrome. This is wrong. 213 # stub in app_shell and a real one in Chrome. This is wrong.
218 "shell/browser/api/vpn_provider/vpn_service_factory.cc", 214 "shell/browser/api/vpn_provider/vpn_service_factory.cc",
219 ] 215 ]
220 216
221 deps += [ "//chromeos:test_support" ] 217 deps += [ "//chromeos:test_support" ]
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 "//testing/gtest", 265 "//testing/gtest",
270 "//third_party/mojo/src/mojo/edk/js", 266 "//third_party/mojo/src/mojo/edk/js",
271 "//third_party/mojo/src/mojo/edk/system", 267 "//third_party/mojo/src/mojo/edk/system",
272 ] 268 ]
273 269
274 data_deps = [ 270 data_deps = [
275 "//third_party/mesa:osmesa", 271 "//third_party/mesa:osmesa",
276 ] 272 ]
277 273
278 if (is_win) { 274 if (is_win) {
279 deps += [ "//base/allocator" ]
280
281 if (target_cpu == "x86") { 275 if (target_cpu == "x86") {
282 data_deps += [ 276 data_deps += [
283 # "$root_out_dir/wow_helper.exe" # TODO(GYP) 277 # "$root_out_dir/wow_helper.exe" # TODO(GYP)
284 ] 278 ]
285 } 279 }
286 } 280 }
287 281
288 if (is_mac) { 282 if (is_mac) {
289 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper. 283 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper.
290 } 284 }
(...skipping 11 matching lines...) Expand all
302 ".", 296 ".",
303 "//chrome") 297 "//chrome")
304 298
305 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 299 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
306 300
307 # These are the deps from browser_tests minus some internal Chrome ones that 301 # These are the deps from browser_tests minus some internal Chrome ones that
308 # aren't allowed to be included here and that aren't needed. 302 # aren't allowed to be included here and that aren't needed.
309 deps = [ 303 deps = [
310 "//base", 304 "//base",
311 "//base:i18n", 305 "//base:i18n",
312 "//base/allocator",
313 "//base/test:test_support", 306 "//base/test:test_support",
314 "//chrome/browser", 307 "//chrome/browser",
315 "//chrome/browser/resources:extension_resource_demo", 308 "//chrome/browser/resources:extension_resource_demo",
316 "//chrome/common/extensions/api", 309 "//chrome/common/extensions/api",
317 "//chrome/renderer", 310 "//chrome/renderer",
318 "//components/autofill/content/browser:risk_proto", 311 "//components/autofill/content/browser:risk_proto",
319 "//components/autofill/content/browser/wallet:test_support", 312 "//components/autofill/content/browser/wallet:test_support",
320 "//components/autofill/content/renderer:test_support", 313 "//components/autofill/content/renderer:test_support",
321 "//components/captive_portal:test_support", 314 "//components/captive_portal:test_support",
322 "//components/dom_distiller/content/browser", 315 "//components/dom_distiller/content/browser",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 sources = rebase_path( 362 sources = rebase_path(
370 chrome_tests_gypi_values.chrome_interactive_ui_test_extensions_sources , 363 chrome_tests_gypi_values.chrome_interactive_ui_test_extensions_sources ,
371 ".", 364 ".",
372 "//chrome") 365 "//chrome")
373 366
374 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 367 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
375 368
376 # These are the deps from interactive_uitests minus some internal Chrome 369 # These are the deps from interactive_uitests minus some internal Chrome
377 # ones that aren't allowed to be included here and that aren't needed. 370 # ones that aren't allowed to be included here and that aren't needed.
378 deps = [ 371 deps = [
379 "//base/allocator",
380 "//chrome/browser", 372 "//chrome/browser",
381 "//chrome/browser/devtools", 373 "//chrome/browser/devtools",
382 "//chrome/renderer", 374 "//chrome/renderer",
383 "//chrome/test:test_support", 375 "//chrome/test:test_support",
384 "//content/app/resources", 376 "//content/app/resources",
385 "//crypto:platform", 377 "//crypto:platform",
386 "//crypto:test_support", 378 "//crypto:test_support",
387 "//google_apis:test_support", 379 "//google_apis:test_support",
388 "//net", 380 "//net",
389 "//net:net_resources", 381 "//net:net_resources",
390 "//net:test_support", 382 "//net:test_support",
391 "//skia", 383 "//skia",
392 "//sync", 384 "//sync",
393 "//testing/gmock", 385 "//testing/gmock",
394 "//testing/gtest", 386 "//testing/gtest",
395 "//third_party/hunspell", 387 "//third_party/hunspell",
396 "//third_party/icu", 388 "//third_party/icu",
397 "//third_party/libpng", 389 "//third_party/libpng",
398 "//third_party/zlib", 390 "//third_party/zlib",
399 "//ui/base:test_support", 391 "//ui/base:test_support",
400 "//ui/resources:ui_test_pak", 392 "//ui/resources:ui_test_pak",
401 "//ui/web_dialogs:test_support", 393 "//ui/web_dialogs:test_support",
402 ] 394 ]
403 } 395 }
OLDNEW
« no previous file with comments | « device/device_tests.gyp ('k') | extensions/extensions_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698