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