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