Roll src/third_party/skia 199ba8e:bb928a0
[chromium-blink-merge.git] / cc / blink / BUILD.gn
blobf95291a62af50c9077611afe927ef6872ab2d687
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.
5 # GYP version: //cc/blink/cc_blink.gyp:cc_blink
6 component("blink") {
7   output_name = "cc_blink"
9   sources = [
10     "cc_blink_export.h",
11     "scrollbar_impl.cc",
12     "scrollbar_impl.h",
13     "web_animation_curve_common.cc",
14     "web_animation_curve_common.h",
15     "web_animation_impl.cc",
16     "web_animation_impl.h",
17     "web_compositor_support_impl.cc",
18     "web_compositor_support_impl.h",
19     "web_content_layer_impl.cc",
20     "web_content_layer_impl.h",
21     "web_display_item_list_impl.cc",
22     "web_display_item_list_impl.h",
23     "web_external_bitmap_impl.cc",
24     "web_external_bitmap_impl.h",
25     "web_external_texture_layer_impl.cc",
26     "web_external_texture_layer_impl.h",
27     "web_filter_animation_curve_impl.cc",
28     "web_filter_animation_curve_impl.h",
29     "web_filter_operations_impl.cc",
30     "web_filter_operations_impl.h",
31     "web_float_animation_curve_impl.cc",
32     "web_float_animation_curve_impl.h",
33     "web_image_layer_impl.cc",
34     "web_image_layer_impl.h",
35     "web_layer_impl.cc",
36     "web_layer_impl.h",
37     "web_layer_impl_fixed_bounds.cc",
38     "web_layer_impl_fixed_bounds.h",
39     "web_nine_patch_layer_impl.cc",
40     "web_nine_patch_layer_impl.h",
41     "web_scroll_offset_animation_curve_impl.cc",
42     "web_scroll_offset_animation_curve_impl.h",
43     "web_scrollbar_layer_impl.cc",
44     "web_scrollbar_layer_impl.h",
45     "web_to_cc_animation_delegate_adapter.cc",
46     "web_to_cc_animation_delegate_adapter.h",
47     "web_transform_animation_curve_impl.cc",
48     "web_transform_animation_curve_impl.h",
49     "web_transform_operations_impl.cc",
50     "web_transform_operations_impl.h",
51   ]
53   defines = [ "CC_BLINK_IMPLEMENTATION" ]
55   public_deps = [
56     "//skia",
57   ]
59   deps = [
60     "//base",
61     "//base/third_party/dynamic_annotations",
62     "//cc",
63     "//gpu",
64     "//third_party/WebKit/public:blink",
65     "//ui/gfx",
66     "//ui/gfx/geometry",
67   ]
70 # GYP version: //cc/blink/cc_blink_tests.gyp:cc_blink_unittests
71 # TODO(GYP): make linking work on the mac.
72 if (!is_mac) {
73   test("cc_blink_unittests") {
74     sources = [
75       "web_animation_unittest.cc",
76       "web_float_animation_curve_unittest.cc",
77       "web_layer_impl_fixed_bounds_unittest.cc",
78     ]
80     deps = [
81       ":blink",
82       "//base/test:run_all_unittests",
83       "//base/third_party/dynamic_annotations",
84       "//skia",
85       "//testing/gtest",
86       "//ui/gfx/geometry",
87       "//ui/gfx:test_support",
88       "//cc",
89       "//cc:test_support",
90     ]
91   }