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