OLD | NEW |
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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 | 352 |
353 deps = [ | 353 deps = [ |
354 ":platform", | 354 ":platform", |
355 ] | 355 ] |
356 | 356 |
357 if (is_win) { | 357 if (is_win) { |
358 cflags = [ "/wd4267" ] # Truncation from size_t to int. | 358 cflags = [ "/wd4267" ] # Truncation from size_t to int. |
359 } | 359 } |
360 } | 360 } |
361 | 361 |
| 362 # TODO(GYP): Delete this after we've converted everything to GN. |
| 363 # The _run targets exist only for compatibility w/ GYP. |
| 364 group("blink_heap_unittests_run") { |
| 365 testonly = true |
| 366 deps = [ |
| 367 ":blink_heap_unittests", |
| 368 ] |
| 369 } |
| 370 |
362 # GYP: blink_heap_unittests | 371 # GYP: blink_heap_unittests |
363 test("blink_heap_unittests") { | 372 test("blink_heap_unittests") { |
364 visibility = [] # Allow re-assignment of list. | 373 visibility = [] # Allow re-assignment of list. |
365 visibility = [ "*" ] | 374 visibility = [ "*" ] |
366 | 375 |
367 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") | 376 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") |
368 sources += [ "heap/RunAllTests.cpp" ] | 377 sources += [ "heap/RunAllTests.cpp" ] |
369 | 378 |
370 configs += [ | 379 configs += [ |
371 "//third_party/WebKit/Source/wtf:wtf_config", | 380 "//third_party/WebKit/Source/wtf:wtf_config", |
(...skipping 14 matching lines...) Expand all Loading... |
386 ] | 395 ] |
387 if (is_android) { | 396 if (is_android) { |
388 deps += [ | 397 deps += [ |
389 "//base:base_java", | 398 "//base:base_java", |
390 "//content/shell/android:content_shell_assets", | 399 "//content/shell/android:content_shell_assets", |
391 "//net/android:net_java", | 400 "//net/android:net_java", |
392 ] | 401 ] |
393 } | 402 } |
394 } | 403 } |
395 | 404 |
| 405 # TODO(GYP): Delete this after we've converted everything to GN. |
| 406 # The _run targets exist only for compatibility w/ GYP. |
| 407 group("blink_platform_unittests_run") { |
| 408 testonly = true |
| 409 deps = [ |
| 410 ":blink_platform_unittests", |
| 411 ] |
| 412 } |
| 413 |
396 test("blink_platform_unittests") { | 414 test("blink_platform_unittests") { |
397 visibility = [] # Allow re-assignment of list. | 415 visibility = [] # Allow re-assignment of list. |
398 visibility = [ "*" ] | 416 visibility = [ "*" ] |
399 | 417 |
400 sources = platform_test_files | 418 sources = platform_test_files |
401 | 419 |
402 if (is_win) { | 420 if (is_win) { |
403 sources += [ "text/LocaleWinTest.cpp" ] | 421 sources += [ "text/LocaleWinTest.cpp" ] |
404 } else if (is_mac) { | 422 } else if (is_mac) { |
405 sources += [ "text/LocaleMacTest.cpp" ] | 423 sources += [ "text/LocaleMacTest.cpp" ] |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 } | 483 } |
466 | 484 |
467 if (current_cpu == "x86" || current_cpu == "x64") { | 485 if (current_cpu == "x86" || current_cpu == "x64") { |
468 source_set("blink_x86_sse") { | 486 source_set("blink_x86_sse") { |
469 sources = blink_platform_sse_files | 487 sources = blink_platform_sse_files |
470 deps = [ | 488 deps = [ |
471 ":blink_common", | 489 ":blink_common", |
472 ] | 490 ] |
473 } | 491 } |
474 } | 492 } |
OLD | NEW |