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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 "//skia", | 545 "//skia", |
546 ] | 546 ] |
547 deps = [ | 547 deps = [ |
548 "//base", | 548 "//base", |
549 "//base/third_party/dynamic_annotations", | 549 "//base/third_party/dynamic_annotations", |
550 "//cc/proto", | 550 "//cc/proto", |
551 "//cc/surfaces:surface_id", | 551 "//cc/surfaces:surface_id", |
552 "//gpu", | 552 "//gpu", |
553 "//gpu/command_buffer/client:gles2_interface", | 553 "//gpu/command_buffer/client:gles2_interface", |
554 "//media", | 554 "//media", |
| 555 "//ui/events:events_base", |
555 "//ui/gfx", | 556 "//ui/gfx", |
556 "//ui/gfx/geometry", | 557 "//ui/gfx/geometry", |
557 "//ui/gl", | 558 "//ui/gl", |
558 "//ui/latency_info", | |
559 ] | 559 ] |
560 | 560 |
561 defines = [ "CC_IMPLEMENTATION=1" ] | 561 defines = [ "CC_IMPLEMENTATION=1" ] |
562 | 562 |
563 if (!is_debug && (is_win || is_android)) { | 563 if (!is_debug && (is_win || is_android)) { |
564 configs -= [ "//build/config/compiler:default_optimization" ] | 564 configs -= [ "//build/config/compiler:default_optimization" ] |
565 configs += [ "//build/config/compiler:optimize_max" ] | 565 configs += [ "//build/config/compiler:optimize_max" ] |
566 } | 566 } |
567 | 567 |
568 if (enable_vulkan) { | 568 if (enable_vulkan) { |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 "//cc/proto", | 943 "//cc/proto", |
944 "//cc/surfaces", | 944 "//cc/surfaces", |
945 "//cc/surfaces:surface_id", | 945 "//cc/surfaces:surface_id", |
946 "//gpu", | 946 "//gpu", |
947 "//gpu:test_support", | 947 "//gpu:test_support", |
948 "//gpu/command_buffer/client:gles2_interface", | 948 "//gpu/command_buffer/client:gles2_interface", |
949 "//gpu/command_buffer/common:gles2_utils", | 949 "//gpu/command_buffer/common:gles2_utils", |
950 "//media", | 950 "//media", |
951 "//testing/gmock", | 951 "//testing/gmock", |
952 "//testing/gtest", | 952 "//testing/gtest", |
| 953 "//ui/events:events_base", |
953 "//ui/gfx", | 954 "//ui/gfx", |
954 "//ui/gfx:test_support", | 955 "//ui/gfx:test_support", |
955 "//ui/gfx/geometry", | 956 "//ui/gfx/geometry", |
956 "//ui/gl", | 957 "//ui/gl", |
957 "//ui/gl:test_support", | 958 "//ui/gl:test_support", |
958 "//ui/latency_info", | |
959 ] | 959 ] |
960 | 960 |
961 data_deps = [ | 961 data_deps = [ |
962 "//third_party/mesa:osmesa", | 962 "//third_party/mesa:osmesa", |
963 ] | 963 ] |
964 } | 964 } |
965 | 965 |
966 test("cc_perftests") { | 966 test("cc_perftests") { |
967 sources = [ | 967 sources = [ |
968 "animation/animation_host_perftest.cc", | 968 "animation/animation_host_perftest.cc", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 "//ui/gl", | 1002 "//ui/gl", |
1003 "//ui/gl:test_support", | 1003 "//ui/gl:test_support", |
1004 ] | 1004 ] |
1005 | 1005 |
1006 if (is_android) { | 1006 if (is_android) { |
1007 isolate_file = "cc_perftests.isolate" | 1007 isolate_file = "cc_perftests.isolate" |
1008 } | 1008 } |
1009 } | 1009 } |
1010 # When adding support for isolates, please have a look at run-time dependencies | 1010 # When adding support for isolates, please have a look at run-time dependencies |
1011 # in the cc_unittests_run target in cc_tests.gyp. | 1011 # in the cc_unittests_run target in cc_tests.gyp. |
OLD | NEW |