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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 8 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
9 import("//third_party/WebKit/Source/config.gni") | 9 import("//third_party/WebKit/Source/config.gni") |
10 import("//third_party/WebKit/Source/platform/platform.gni") | 10 import("//third_party/WebKit/Source/platform/platform.gni") |
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 | 604 |
605 data_deps = [ | 605 data_deps = [ |
606 ":blink_platform_unittests_data", | 606 ":blink_platform_unittests_data", |
607 ] | 607 ] |
608 | 608 |
609 defines = [ "INSIDE_BLINK" ] | 609 defines = [ "INSIDE_BLINK" ] |
610 | 610 |
611 include_dirs = [ "$root_gen_dir/blink" ] | 611 include_dirs = [ "$root_gen_dir/blink" ] |
612 } | 612 } |
613 | 613 |
| 614 test("blink_platform_perftests") { |
| 615 sources = [ |
| 616 "scheduler/base/task_queue_manager_delegate_for_test.cc", |
| 617 "scheduler/base/task_queue_manager_delegate_for_test.h", |
| 618 "scheduler/base/task_queue_manager_perftest.cc", |
| 619 ] |
| 620 |
| 621 configs += [ |
| 622 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 623 "//build/config/compiler:no_size_t_to_int_warning", |
| 624 "//third_party/WebKit/Source/wtf:wtf_config", |
| 625 "//third_party/WebKit/Source:config", |
| 626 ] |
| 627 |
| 628 deps = [ |
| 629 ":blink_common", |
| 630 ":platform", |
| 631 "//base", |
| 632 "//base/test:test_support", |
| 633 "//base/test:test_support_perf", |
| 634 "//testing/gtest", |
| 635 "//testing/perf", |
| 636 ] |
| 637 } |
| 638 |
614 group("blink_platform_unittests_data") { | 639 group("blink_platform_unittests_data") { |
615 data = [ | 640 data = [ |
616 "testing/data/", | 641 "testing/data/", |
617 | 642 |
618 # Required by some image decoder tests. | 643 # Required by some image decoder tests. |
619 "image-decoders/testing/", | 644 "image-decoders/testing/", |
620 "../../LayoutTests/fast/images/resources/", | 645 "../../LayoutTests/fast/images/resources/", |
621 ] | 646 ] |
622 } | 647 } |
623 | 648 |
(...skipping 19 matching lines...) Expand all Loading... |
643 } | 668 } |
644 | 669 |
645 if (current_cpu == "x86" || current_cpu == "x64") { | 670 if (current_cpu == "x86" || current_cpu == "x64") { |
646 source_set("blink_x86_sse") { | 671 source_set("blink_x86_sse") { |
647 sources = blink_platform_sse_files | 672 sources = blink_platform_sse_files |
648 deps = [ | 673 deps = [ |
649 ":blink_common", | 674 ":blink_common", |
650 ] | 675 ] |
651 } | 676 } |
652 } | 677 } |
OLD | NEW |