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