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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 | 585 |
586 data_deps = [ | 586 data_deps = [ |
587 ":blink_platform_unittests_data", | 587 ":blink_platform_unittests_data", |
588 ] | 588 ] |
589 | 589 |
590 defines = [ "INSIDE_BLINK" ] | 590 defines = [ "INSIDE_BLINK" ] |
591 | 591 |
592 include_dirs = [ "$root_gen_dir/blink" ] | 592 include_dirs = [ "$root_gen_dir/blink" ] |
593 } | 593 } |
594 | 594 |
| 595 test("blink_platform_perftests") { |
| 596 sources = [ |
| 597 "scheduler/base/task_queue_manager_delegate_for_test.cc", |
| 598 "scheduler/base/task_queue_manager_delegate_for_test.h", |
| 599 "scheduler/base/task_queue_manager_perftest.cc", |
| 600 ] |
| 601 |
| 602 configs += [ |
| 603 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 604 "//build/config/compiler:no_size_t_to_int_warning", |
| 605 "//third_party/WebKit/Source/wtf:wtf_config", |
| 606 "//third_party/WebKit/Source:config", |
| 607 ] |
| 608 |
| 609 deps = [ |
| 610 ":blink_common", |
| 611 ":platform", |
| 612 "//base", |
| 613 "//base/test:test_support", |
| 614 "//base/test:test_support_perf", |
| 615 "//testing/gtest", |
| 616 "//testing/perf", |
| 617 ] |
| 618 } |
| 619 |
595 group("blink_platform_unittests_data") { | 620 group("blink_platform_unittests_data") { |
596 data = [ | 621 data = [ |
597 "testing/data/", | 622 "testing/data/", |
598 | 623 |
599 # Required by some image decoder tests. | 624 # Required by some image decoder tests. |
600 "image-decoders/testing/", | 625 "image-decoders/testing/", |
601 "../../LayoutTests/fast/images/resources/", | 626 "../../LayoutTests/fast/images/resources/", |
602 ] | 627 ] |
603 } | 628 } |
604 | 629 |
(...skipping 19 matching lines...) Expand all Loading... |
624 } | 649 } |
625 | 650 |
626 if (current_cpu == "x86" || current_cpu == "x64") { | 651 if (current_cpu == "x86" || current_cpu == "x64") { |
627 source_set("blink_x86_sse") { | 652 source_set("blink_x86_sse") { |
628 sources = blink_platform_sse_files | 653 sources = blink_platform_sse_files |
629 deps = [ | 654 deps = [ |
630 ":blink_common", | 655 ":blink_common", |
631 ] | 656 ] |
632 } | 657 } |
633 } | 658 } |
OLD | NEW |