| 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 "//skia", | 544 "//skia", |
| 545 ] | 545 ] |
| 546 deps = [ | 546 deps = [ |
| 547 "//base", | 547 "//base", |
| 548 "//base/third_party/dynamic_annotations", | 548 "//base/third_party/dynamic_annotations", |
| 549 "//cc/proto", | 549 "//cc/proto", |
| 550 "//cc/surfaces:surface_id", | 550 "//cc/surfaces:surface_id", |
| 551 "//gpu", | 551 "//gpu", |
| 552 "//gpu/command_buffer/client:gles2_interface", | 552 "//gpu/command_buffer/client:gles2_interface", |
| 553 "//media", | 553 "//media", |
| 554 "//ui/events:events_base", | |
| 555 "//ui/gfx", | 554 "//ui/gfx", |
| 556 "//ui/gfx/geometry", | 555 "//ui/gfx/geometry", |
| 557 "//ui/gl", | 556 "//ui/gl", |
| 557 "//ui/latency_info", |
| 558 ] | 558 ] |
| 559 | 559 |
| 560 defines = [ "CC_IMPLEMENTATION=1" ] | 560 defines = [ "CC_IMPLEMENTATION=1" ] |
| 561 | 561 |
| 562 if (!is_debug && (is_win || is_android)) { | 562 if (!is_debug && (is_win || is_android)) { |
| 563 configs -= [ "//build/config/compiler:default_optimization" ] | 563 configs -= [ "//build/config/compiler:default_optimization" ] |
| 564 configs += [ "//build/config/compiler:optimize_max" ] | 564 configs += [ "//build/config/compiler:optimize_max" ] |
| 565 } | 565 } |
| 566 | 566 |
| 567 if (enable_vulkan) { | 567 if (enable_vulkan) { |
| (...skipping 375 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", | |
| 954 "//ui/gfx", | 953 "//ui/gfx", |
| 955 "//ui/gfx:test_support", | 954 "//ui/gfx:test_support", |
| 956 "//ui/gfx/geometry", | 955 "//ui/gfx/geometry", |
| 957 "//ui/gl", | 956 "//ui/gl", |
| 958 "//ui/gl:test_support", | 957 "//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 29 matching lines...) Expand all Loading... |
| 998 "//testing/gtest", | 998 "//testing/gtest", |
| 999 "//testing/perf", | 999 "//testing/perf", |
| 1000 "//ui/gfx", | 1000 "//ui/gfx", |
| 1001 "//ui/gfx/geometry", | 1001 "//ui/gfx/geometry", |
| 1002 "//ui/gl", | 1002 "//ui/gl", |
| 1003 "//ui/gl:test_support", | 1003 "//ui/gl:test_support", |
| 1004 ] | 1004 ] |
| 1005 } | 1005 } |
| 1006 # When adding support for isolates, please have a look at run-time dependencies | 1006 # When adding support for isolates, please have a look at run-time dependencies |
| 1007 # in the cc_unittests_run target in cc_tests.gyp. | 1007 # in the cc_unittests_run target in cc_tests.gyp. |
| OLD | NEW |