| 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 # GYP version: //cc/blink/cc_blink.gyp:cc_blink | 7 # GYP version: //cc/blink/cc_blink.gyp:cc_blink |
| 8 component("blink") { | 8 component("blink") { |
| 9 output_name = "cc_blink" | 9 output_name = "cc_blink" |
| 10 | 10 |
| 11 sources = [ | 11 sources = [ |
| 12 "cc_blink_export.h", | 12 "cc_blink_export.h", |
| 13 "context_provider_web_context.h", | 13 "context_provider_web_context.h", |
| 14 "scrollbar_impl.cc", | 14 "scrollbar_impl.cc", |
| 15 "scrollbar_impl.h", | 15 "scrollbar_impl.h", |
| 16 "web_animation_curve_common.cc", | |
| 17 "web_animation_curve_common.h", | |
| 18 "web_animation_impl.cc", | 16 "web_animation_impl.cc", |
| 19 "web_animation_impl.h", | 17 "web_animation_impl.h", |
| 20 "web_compositor_animation_player_impl.cc", | 18 "web_compositor_animation_player_impl.cc", |
| 21 "web_compositor_animation_player_impl.h", | 19 "web_compositor_animation_player_impl.h", |
| 22 "web_compositor_animation_timeline_impl.cc", | 20 "web_compositor_animation_timeline_impl.cc", |
| 23 "web_compositor_animation_timeline_impl.h", | 21 "web_compositor_animation_timeline_impl.h", |
| 24 "web_compositor_mutable_state_impl.cc", | 22 "web_compositor_mutable_state_impl.cc", |
| 25 "web_compositor_mutable_state_impl.h", | 23 "web_compositor_mutable_state_impl.h", |
| 26 "web_compositor_mutable_state_provider_impl.cc", | 24 "web_compositor_mutable_state_provider_impl.cc", |
| 27 "web_compositor_mutable_state_provider_impl.h", | 25 "web_compositor_mutable_state_provider_impl.h", |
| 28 "web_compositor_support_impl.cc", | 26 "web_compositor_support_impl.cc", |
| 29 "web_compositor_support_impl.h", | 27 "web_compositor_support_impl.h", |
| 30 "web_content_layer_impl.cc", | 28 "web_content_layer_impl.cc", |
| 31 "web_content_layer_impl.h", | 29 "web_content_layer_impl.h", |
| 32 "web_display_item_list_impl.cc", | 30 "web_display_item_list_impl.cc", |
| 33 "web_display_item_list_impl.h", | 31 "web_display_item_list_impl.h", |
| 34 "web_external_bitmap_impl.cc", | 32 "web_external_bitmap_impl.cc", |
| 35 "web_external_bitmap_impl.h", | 33 "web_external_bitmap_impl.h", |
| 36 "web_external_texture_layer_impl.cc", | 34 "web_external_texture_layer_impl.cc", |
| 37 "web_external_texture_layer_impl.h", | 35 "web_external_texture_layer_impl.h", |
| 38 "web_filter_animation_curve_impl.cc", | |
| 39 "web_filter_animation_curve_impl.h", | |
| 40 "web_filter_operations_impl.cc", | |
| 41 "web_filter_operations_impl.h", | |
| 42 "web_float_animation_curve_impl.cc", | |
| 43 "web_float_animation_curve_impl.h", | |
| 44 "web_image_layer_impl.cc", | 36 "web_image_layer_impl.cc", |
| 45 "web_image_layer_impl.h", | 37 "web_image_layer_impl.h", |
| 46 "web_layer_impl.cc", | 38 "web_layer_impl.cc", |
| 47 "web_layer_impl.h", | 39 "web_layer_impl.h", |
| 48 "web_layer_impl_fixed_bounds.cc", | 40 "web_layer_impl_fixed_bounds.cc", |
| 49 "web_layer_impl_fixed_bounds.h", | 41 "web_layer_impl_fixed_bounds.h", |
| 50 "web_scroll_offset_animation_curve_impl.cc", | |
| 51 "web_scroll_offset_animation_curve_impl.h", | |
| 52 "web_scrollbar_layer_impl.cc", | 42 "web_scrollbar_layer_impl.cc", |
| 53 "web_scrollbar_layer_impl.h", | 43 "web_scrollbar_layer_impl.h", |
| 54 "web_to_cc_animation_delegate_adapter.cc", | 44 "web_to_cc_animation_delegate_adapter.cc", |
| 55 "web_to_cc_animation_delegate_adapter.h", | 45 "web_to_cc_animation_delegate_adapter.h", |
| 56 "web_transform_animation_curve_impl.cc", | |
| 57 "web_transform_animation_curve_impl.h", | |
| 58 "web_transform_operations_impl.cc", | |
| 59 "web_transform_operations_impl.h", | |
| 60 ] | 46 ] |
| 61 | 47 |
| 62 defines = [ "CC_BLINK_IMPLEMENTATION" ] | 48 defines = [ "CC_BLINK_IMPLEMENTATION" ] |
| 63 | 49 |
| 64 public_deps = [ | 50 public_deps = [ |
| 65 "//skia", | 51 "//skia", |
| 66 ] | 52 ] |
| 67 | 53 |
| 68 deps = [ | 54 deps = [ |
| 69 "//base", | 55 "//base", |
| 70 "//base/third_party/dynamic_annotations", | 56 "//base/third_party/dynamic_annotations", |
| 71 "//cc", | 57 "//cc", |
| 72 "//gpu", | 58 "//gpu", |
| 73 "//third_party/WebKit/public:blink", | 59 "//third_party/WebKit/public:blink", |
| 74 "//ui/gfx", | 60 "//ui/gfx", |
| 75 "//ui/gfx/geometry", | 61 "//ui/gfx/geometry", |
| 76 ] | 62 ] |
| 77 } | 63 } |
| 78 | 64 |
| 79 # GYP version: //cc/blink/cc_blink_tests.gyp:cc_blink_unittests | 65 # GYP version: //cc/blink/cc_blink_tests.gyp:cc_blink_unittests |
| 80 # TODO(GYP): make linking work on the mac. | 66 # TODO(GYP): make linking work on the mac. |
| 81 if (!is_mac) { | 67 if (!is_mac) { |
| 82 test("cc_blink_unittests") { | 68 test("cc_blink_unittests") { |
| 83 sources = [ | 69 sources = [ |
| 84 "web_animation_unittest.cc", | 70 "web_animation_unittest.cc", |
| 85 "web_compositor_animation_player_unittest.cc", | 71 "web_compositor_animation_player_unittest.cc", |
| 86 "web_compositor_mutable_state_impl_unittest.cc", | 72 "web_compositor_mutable_state_impl_unittest.cc", |
| 87 "web_float_animation_curve_unittest.cc", | |
| 88 "web_layer_impl_fixed_bounds_unittest.cc", | 73 "web_layer_impl_fixed_bounds_unittest.cc", |
| 89 | 74 |
| 90 # Setup. | 75 # Setup. |
| 91 "test/cc_blink_test_suite.cc", | 76 "test/cc_blink_test_suite.cc", |
| 92 "test/run_all_unittests.cc", | 77 "test/run_all_unittests.cc", |
| 93 ] | 78 ] |
| 94 | 79 |
| 95 deps = [ | 80 deps = [ |
| 96 ":blink", | 81 ":blink", |
| 97 "//base/test:test_support", | 82 "//base/test:test_support", |
| 98 "//base/third_party/dynamic_annotations", | 83 "//base/third_party/dynamic_annotations", |
| 99 "//cc", | 84 "//cc", |
| 100 "//cc:test_support", | 85 "//cc:test_support", |
| 101 "//skia", | 86 "//skia", |
| 102 "//testing/gmock", | 87 "//testing/gmock", |
| 103 "//testing/gtest", | 88 "//testing/gtest", |
| 104 "//third_party/WebKit/public:blink", | 89 "//third_party/WebKit/public:blink", |
| 105 "//ui/gfx:test_support", | 90 "//ui/gfx:test_support", |
| 106 "//ui/gfx/geometry", | 91 "//ui/gfx/geometry", |
| 107 ] | 92 ] |
| 108 } | 93 } |
| 109 } | 94 } |
| OLD | NEW |