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 | 7 |
8 component("cc") { | 8 component("cc") { |
9 sources = [ | 9 sources = [ |
10 "animation/animation.cc", | 10 "animation/animation.cc", |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 "//skia", | 551 "//skia", |
552 ] | 552 ] |
553 deps = [ | 553 deps = [ |
554 "//base", | 554 "//base", |
555 "//base/third_party/dynamic_annotations", | 555 "//base/third_party/dynamic_annotations", |
556 "//cc/proto", | 556 "//cc/proto", |
557 "//cc/surfaces:surface_id", | 557 "//cc/surfaces:surface_id", |
558 "//gpu", | 558 "//gpu", |
559 "//gpu/command_buffer/client:gles2_interface", | 559 "//gpu/command_buffer/client:gles2_interface", |
560 "//media", | 560 "//media", |
561 "//ui/events:events_base", | |
562 "//ui/gfx", | 561 "//ui/gfx", |
563 "//ui/gfx/geometry", | 562 "//ui/gfx/geometry", |
564 "//ui/gl", | 563 "//ui/gl", |
| 564 "//ui/latency_info", |
565 ] | 565 ] |
566 | 566 |
567 defines = [ "CC_IMPLEMENTATION=1" ] | 567 defines = [ "CC_IMPLEMENTATION=1" ] |
568 | 568 |
569 if (!is_debug && (is_win || is_android)) { | 569 if (!is_debug && (is_win || is_android)) { |
570 configs -= [ "//build/config/compiler:default_optimization" ] | 570 configs -= [ "//build/config/compiler:default_optimization" ] |
571 configs += [ "//build/config/compiler:optimize_max" ] | 571 configs += [ "//build/config/compiler:optimize_max" ] |
572 } | 572 } |
573 | 573 |
574 if (enable_vulkan) { | 574 if (enable_vulkan) { |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 "//cc/proto", | 949 "//cc/proto", |
950 "//cc/surfaces", | 950 "//cc/surfaces", |
951 "//cc/surfaces:surface_id", | 951 "//cc/surfaces:surface_id", |
952 "//gpu", | 952 "//gpu", |
953 "//gpu:test_support", | 953 "//gpu:test_support", |
954 "//gpu/command_buffer/client:gles2_interface", | 954 "//gpu/command_buffer/client:gles2_interface", |
955 "//gpu/command_buffer/common:gles2_utils", | 955 "//gpu/command_buffer/common:gles2_utils", |
956 "//media", | 956 "//media", |
957 "//testing/gmock", | 957 "//testing/gmock", |
958 "//testing/gtest", | 958 "//testing/gtest", |
959 "//ui/events:events_base", | |
960 "//ui/gfx", | 959 "//ui/gfx", |
961 "//ui/gfx:test_support", | 960 "//ui/gfx:test_support", |
962 "//ui/gfx/geometry", | 961 "//ui/gfx/geometry", |
963 "//ui/gl", | 962 "//ui/gl", |
964 "//ui/gl:test_support", | 963 "//ui/gl:test_support", |
| 964 "//ui/latency_info", |
965 ] | 965 ] |
966 | 966 |
967 data_deps = [ | 967 data_deps = [ |
968 "//third_party/mesa:osmesa", | 968 "//third_party/mesa:osmesa", |
969 ] | 969 ] |
970 } | 970 } |
971 | 971 |
972 test("cc_perftests") { | 972 test("cc_perftests") { |
973 sources = [ | 973 sources = [ |
974 "animation/animation_host_perftest.cc", | 974 "animation/animation_host_perftest.cc", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1008 "//ui/gl", | 1008 "//ui/gl", |
1009 "//ui/gl:test_support", | 1009 "//ui/gl:test_support", |
1010 ] | 1010 ] |
1011 | 1011 |
1012 if (is_android) { | 1012 if (is_android) { |
1013 isolate_file = "cc_perftests.isolate" | 1013 isolate_file = "cc_perftests.isolate" |
1014 } | 1014 } |
1015 } | 1015 } |
1016 # When adding support for isolates, please have a look at run-time dependencies | 1016 # When adding support for isolates, please have a look at run-time dependencies |
1017 # in the cc_unittests_run target in cc_tests.gyp. | 1017 # in the cc_unittests_run target in cc_tests.gyp. |
OLD | NEW |