summaryrefslogtreecommitdiffstats
path: root/webkit/compositor_bindings/compositor_bindings.gyp
blob: 2b421fcc90ec7e4a892988bc985740d49d968bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'webkit_compositor_bindings_sources': [
      'web_animation_curve_common.cc',
      'web_animation_curve_common.h',
      'web_animation_impl.cc',
      'web_animation_impl.h',
      'web_content_layer_impl.cc',
      'web_content_layer_impl.h',
      'web_delegated_renderer_layer_impl.cc',
      'web_delegated_renderer_layer_impl.h',
      'web_external_texture_layer_impl.cc',
      'web_external_texture_layer_impl.h',
      'web_float_animation_curve_impl.cc',
      'web_float_animation_curve_impl.h',
      'web_io_surface_layer_impl.cc',
      'web_io_surface_layer_impl.h',
      'web_image_layer_impl.cc',
      'web_image_layer_impl.h',
      'web_layer_impl.cc',
      'web_layer_impl.h',
      'web_nine_patch_layer_impl.cc',
      'web_nine_patch_layer_impl.h',
      'web_to_ccinput_handler_adapter.cc',
      'web_to_ccinput_handler_adapter.h',
      'web_layer_tree_view_impl.cc',
      'web_layer_tree_view_impl.h',
      'web_scrollbar_layer_impl.cc',
      'web_scrollbar_layer_impl.h',
      'web_solid_color_layer_impl.cc',
      'web_solid_color_layer_impl.h',
      'web_video_layer_impl.cc',
      'web_video_layer_impl.h',
      'web_transform_animation_curve_impl.cc',
      'web_transform_animation_curve_impl.h',
    ],
  },
  'targets': [
    {
      'target_name': 'webkit_compositor_support',
      'type': 'static_library',
      'dependencies': [
        '../../skia/skia.gyp:skia',
        '<(webkit_src_dir)/Source/WTF/WTF.gyp/WTF.gyp:wtf',
        'webkit_compositor_bindings',
      ],
      'sources': [
        'web_compositor_support_impl.cc',
        'web_compositor_support_impl.h',
      ],
      'includes': [
        '../../cc/cc.gypi',
      ],
      'include_dirs': [
        '../..',
        '../../cc',
        '<(SHARED_INTERMEDIATE_DIR)/webkit',
        '<(webkit_src_dir)/Source/Platform/chromium',
        '<@(cc_stubs_dirs)',
      ],
    },
    {
      'target_name': 'webkit_compositor_bindings',
      'type': 'static_library',
      'includes': [
        '../../cc/cc.gypi',
      ],
      'dependencies': [
        '../../base/base.gyp:base',
        '../../cc/cc.gyp:cc',
        '../../skia/skia.gyp:skia',
        '../../ui/ui.gyp:ui',
        # We have to depend on WTF directly to pick up the correct defines for WTF headers - for instance USE_SYSTEM_MALLOC.
        '<(webkit_src_dir)/Source/WTF/WTF.gyp/WTF.gyp:wtf',
        '<(webkit_src_dir)/Source/WebCore/WebCore.gyp/WebCore.gyp:webcore_platform_geometry',
        '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit_wtf_support',
      ],
      'include_dirs': [
        '../../cc',
        '<@(cc_stubs_dirs)',
        '<(webkit_src_dir)/Source/Platform/chromium',
      ],
      'sources': [
        '<@(webkit_compositor_bindings_sources)',
      ],
    },
  ],
}