| 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 component("cc") { | 5 component("cc") { |
| 6 sources = [ | 6 sources = [ |
| 7 "animation/animation.cc", | 7 "animation/animation.cc", |
| 8 "animation/animation.h", | 8 "animation/animation.h", |
| 9 "animation/animation_curve.cc", | 9 "animation/animation_curve.cc", |
| 10 "animation/animation_curve.h", | 10 "animation/animation_curve.h", |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 "trees/thread_proxy.h", | 471 "trees/thread_proxy.h", |
| 472 "trees/tree_synchronizer.cc", | 472 "trees/tree_synchronizer.cc", |
| 473 "trees/tree_synchronizer.h", | 473 "trees/tree_synchronizer.h", |
| 474 ] | 474 ] |
| 475 | 475 |
| 476 if (is_win) { | 476 if (is_win) { |
| 477 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 477 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 478 cflags = [ "/wd4267" ] # size_t -> int | 478 cflags = [ "/wd4267" ] # size_t -> int |
| 479 } | 479 } |
| 480 | 480 |
| 481 public_deps = [ |
| 482 "//skia", |
| 483 ] |
| 481 deps = [ | 484 deps = [ |
| 482 "//base", | 485 "//base", |
| 483 "//base/third_party/dynamic_annotations", | 486 "//base/third_party/dynamic_annotations", |
| 484 "//gpu", | 487 "//gpu", |
| 485 "//gpu/command_buffer/client:gles2_interface", | 488 "//gpu/command_buffer/client:gles2_interface", |
| 486 "//media", | 489 "//media", |
| 487 "//skia", | |
| 488 "//ui/events:events_base", | 490 "//ui/events:events_base", |
| 489 "//ui/gfx", | 491 "//ui/gfx", |
| 490 "//ui/gfx/geometry", | 492 "//ui/gfx/geometry", |
| 491 ] | 493 ] |
| 492 forward_dependent_configs_from = [ | |
| 493 "//skia", | |
| 494 ] | |
| 495 | 494 |
| 496 defines = [ "CC_IMPLEMENTATION=1" ] | 495 defines = [ "CC_IMPLEMENTATION=1" ] |
| 497 | 496 |
| 498 if (!is_debug && (is_win || is_android)) { | 497 if (!is_debug && (is_win || is_android)) { |
| 499 configs -= [ "//build/config/compiler:optimize" ] | 498 configs -= [ "//build/config/compiler:optimize" ] |
| 500 configs += [ "//build/config/compiler:optimize_max" ] | 499 configs += [ "//build/config/compiler:optimize_max" ] |
| 501 } | 500 } |
| 502 } | 501 } |
| 503 | 502 |
| 504 source_set("test_support") { | 503 source_set("test_support") { |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 "test/tiled_layer_test_common.h", | 620 "test/tiled_layer_test_common.h", |
| 622 ] | 621 ] |
| 623 | 622 |
| 624 include_dirs = [ | 623 include_dirs = [ |
| 625 ".", | 624 ".", |
| 626 "test", | 625 "test", |
| 627 ] | 626 ] |
| 628 | 627 |
| 629 public_deps = [ | 628 public_deps = [ |
| 630 ":cc", | 629 ":cc", |
| 630 "//gpu:test_support", |
| 631 ] | 631 ] |
| 632 deps = [ | 632 deps = [ |
| 633 "//base", | 633 "//base", |
| 634 "//base/third_party/dynamic_annotations", | 634 "//base/third_party/dynamic_annotations", |
| 635 "//gpu:test_support", | |
| 636 "//gpu/command_buffer/client:gles2_c_lib", | 635 "//gpu/command_buffer/client:gles2_c_lib", |
| 637 "//gpu/command_buffer/client:gles2_implementation", | 636 "//gpu/command_buffer/client:gles2_implementation", |
| 638 "//gpu/command_buffer/client:gl_in_process_context", | 637 "//gpu/command_buffer/client:gl_in_process_context", |
| 639 "//gpu/command_buffer/common:gles2_utils", | 638 "//gpu/command_buffer/common:gles2_utils", |
| 640 "//gpu/skia_bindings", | 639 "//gpu/skia_bindings", |
| 641 "//skia", | 640 "//skia", |
| 642 "//testing/gmock", | 641 "//testing/gmock", |
| 643 "//testing/gtest", | 642 "//testing/gtest", |
| 644 "//ui/gfx", | 643 "//ui/gfx", |
| 645 "//ui/gfx/geometry", | 644 "//ui/gfx/geometry", |
| 646 "//ui/gfx:test_support", | 645 "//ui/gfx:test_support", |
| 647 "//ui/gl", | 646 "//ui/gl", |
| 648 ] | 647 ] |
| 649 | 648 |
| 650 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. | 649 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. |
| 651 deps += [ "//third_party/mesa:osmesa" ] | 650 deps += [ "//third_party/mesa:osmesa" ] |
| 652 } | 651 } |
| 653 | |
| 654 forward_dependent_configs_from = [ | |
| 655 "//gpu:test_support", | |
| 656 ] | |
| 657 } | 652 } |
| 658 | 653 |
| 659 test("cc_unittests") { | 654 test("cc_unittests") { |
| 660 sources = [ | 655 sources = [ |
| 661 "animation/animation_unittest.cc", | 656 "animation/animation_unittest.cc", |
| 662 "animation/keyframed_animation_curve_unittest.cc", | 657 "animation/keyframed_animation_curve_unittest.cc", |
| 663 "animation/layer_animation_controller_unittest.cc", | 658 "animation/layer_animation_controller_unittest.cc", |
| 664 "animation/scroll_offset_animation_curve_unittest.cc", | 659 "animation/scroll_offset_animation_curve_unittest.cc", |
| 665 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", | 660 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", |
| 666 "animation/scrollbar_animation_controller_thinning_unittest.cc", | 661 "animation/scrollbar_animation_controller_thinning_unittest.cc", |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 824 "//gpu/command_buffer/common:gles2_utils", | 819 "//gpu/command_buffer/common:gles2_utils", |
| 825 "//media", | 820 "//media", |
| 826 "//skia", | 821 "//skia", |
| 827 "//testing/gmock", | 822 "//testing/gmock", |
| 828 "//testing/gtest", | 823 "//testing/gtest", |
| 829 "//testing/perf", | 824 "//testing/perf", |
| 830 "//ui/gfx", | 825 "//ui/gfx", |
| 831 "//ui/gfx/geometry", | 826 "//ui/gfx/geometry", |
| 832 ] | 827 ] |
| 833 } | 828 } |
| OLD | NEW |