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