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

Side by Side Diff: Source/platform/BUILD.gn

Issue 1285413007: Unify geometry test printers in a test support target. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: PrintTo instead of operator<< Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/OverflowModelTest.cpp ('k') | Source/platform/blink_platform.gypi » ('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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 7 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
8 import("//third_party/WebKit/Source/config.gni") 8 import("//third_party/WebKit/Source/config.gni")
9 import("//third_party/WebKit/Source/platform/platform.gni") 9 import("//third_party/WebKit/Source/platform/platform.gni")
10 import("//third_party/WebKit/Source/platform/platform_generated.gni") 10 import("//third_party/WebKit/Source/platform/platform_generated.gni")
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 if (use_webaudio_ffmpeg) { 312 if (use_webaudio_ffmpeg) {
313 include_dirs += [ "//third_party/ffmpeg" ] 313 include_dirs += [ "//third_party/ffmpeg" ]
314 deps += [ "//third_party/ffmpeg" ] 314 deps += [ "//third_party/ffmpeg" ]
315 } 315 }
316 if (use_openmax_dl_fft) { 316 if (use_openmax_dl_fft) {
317 include_dirs += [ "//third_party/openmax_dl" ] 317 include_dirs += [ "//third_party/openmax_dl" ]
318 deps += [ "//third_party/openmax_dl/dl" ] 318 deps += [ "//third_party/openmax_dl/dl" ]
319 } 319 }
320 } 320 }
321 321
322 source_set("test_support") {
323 sources = platform_test_support_files
324 visibility += [ "//third_party/WebKit/*" ]
325
326 configs += [
327 "//third_party/WebKit/Source:config",
328 "//third_party/WebKit/Source:inside_blink",
329 "//third_party/WebKit/Source:non_test_config",
330 ]
331
332 deps = [
333 ":platform",
334 ]
335 }
336
322 if (!is_mac) { 337 if (!is_mac) {
323 # TODO(GYP): Can't link Blink binaries yet. 338 # TODO(GYP): Can't link Blink binaries yet.
324 test("heap_unittests") { 339 test("heap_unittests") {
325 visibility = [] # Allow re-assignment of list. 340 visibility = [] # Allow re-assignment of list.
326 visibility = [ "*" ] 341 visibility = [ "*" ]
327 output_name = "blink_heap_unittests" 342 output_name = "blink_heap_unittests"
328 343
329 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") 344 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap")
330 sources += [ "heap/RunAllTests.cpp" ] 345 sources += [ "heap/RunAllTests.cpp" ]
331 346
(...skipping 29 matching lines...) Expand all
361 sources += [ "testing/RunAllTests.cpp" ] 376 sources += [ "testing/RunAllTests.cpp" ]
362 377
363 configs += [ 378 configs += [
364 "//third_party/WebKit/Source/wtf:wtf_config", 379 "//third_party/WebKit/Source/wtf:wtf_config",
365 "//third_party/WebKit/Source:config", 380 "//third_party/WebKit/Source:config",
366 ] 381 ]
367 382
368 deps = [ 383 deps = [
369 ":blink_common", 384 ":blink_common",
370 ":platform", 385 ":platform",
386 ":test_support",
371 "//base", 387 "//base",
372 "//base/allocator", 388 "//base/allocator",
373 "//base/test:test_support", 389 "//base/test:test_support",
374 "//skia", 390 "//skia",
375 "//testing/gmock", 391 "//testing/gmock",
376 "//testing/gtest", 392 "//testing/gtest",
377 "//third_party/harfbuzz-ng", 393 "//third_party/harfbuzz-ng",
378 "//third_party/WebKit/Source/wtf", 394 "//third_party/WebKit/Source/wtf",
379 "//third_party/WebKit/Source/wtf:test_support", 395 "//third_party/WebKit/Source/wtf:test_support",
380 "//url", 396 "//url",
(...skipping 29 matching lines...) Expand all
410 } 426 }
411 } 427 }
412 428
413 429
414 if (current_cpu == "x86" || current_cpu == "x64") { 430 if (current_cpu == "x86" || current_cpu == "x64") {
415 source_set("blink_x86_sse") { 431 source_set("blink_x86_sse") {
416 sources = blink_platform_sse_files 432 sources = blink_platform_sse_files
417 deps = [ ":blink_common" ] 433 deps = [ ":blink_common" ]
418 } 434 }
419 } 435 }
OLDNEW
« no previous file with comments | « Source/core/layout/OverflowModelTest.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698