OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'webkit_compositor_bindings_sources': [ | 8 'webkit_compositor_bindings_sources': [ |
9 'web_animation_curve_common.cc', | 9 'web_animation_curve_common.cc', |
10 'web_animation_curve_common.h', | 10 'web_animation_curve_common.h', |
(...skipping 19 matching lines...) Expand all Loading... |
30 'web_layer_tree_view_impl_for_testing.h', | 30 'web_layer_tree_view_impl_for_testing.h', |
31 'web_scrollbar_layer_impl.cc', | 31 'web_scrollbar_layer_impl.cc', |
32 'web_scrollbar_layer_impl.h', | 32 'web_scrollbar_layer_impl.h', |
33 'web_solid_color_layer_impl.cc', | 33 'web_solid_color_layer_impl.cc', |
34 'web_solid_color_layer_impl.h', | 34 'web_solid_color_layer_impl.h', |
35 'web_transform_operations_impl.cc', | 35 'web_transform_operations_impl.cc', |
36 'web_transform_operations_impl.h', | 36 'web_transform_operations_impl.h', |
37 'web_transform_animation_curve_impl.cc', | 37 'web_transform_animation_curve_impl.cc', |
38 'web_transform_animation_curve_impl.h', | 38 'web_transform_animation_curve_impl.h', |
39 ], | 39 ], |
40 'conditions': [ | |
41 ['inside_chromium_build==0', { | |
42 'webkit_src_dir': '../../../../..', | |
43 },{ | |
44 'webkit_src_dir': '../../third_party/WebKit', | |
45 }], | |
46 ], | |
47 }, | 40 }, |
48 'targets': [ | 41 'targets': [ |
49 { | 42 { |
50 'target_name': 'webkit_compositor_support', | 43 'target_name': 'webkit_compositor_support', |
51 'type': 'static_library', | 44 'type': 'static_library', |
52 'dependencies': [ | 45 'dependencies': [ |
53 '../../skia/skia.gyp:skia', | 46 '../../skia/skia.gyp:skia', |
54 '../../cc/cc.gyp:cc', | 47 '../../cc/cc.gyp:cc', |
55 'webkit_compositor_bindings', | 48 'webkit_compositor_bindings', |
56 ], | 49 ], |
57 'sources': [ | 50 'sources': [ |
58 'web_compositor_support_impl.cc', | 51 'web_compositor_support_impl.cc', |
59 'web_compositor_support_impl.h', | 52 'web_compositor_support_impl.h', |
60 ], | 53 ], |
61 'include_dirs': [ | 54 'include_dirs': [ |
62 '../..', | 55 '../..', |
63 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 56 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
64 ], | 57 ], |
65 }, | 58 }, |
66 { | 59 { |
67 'target_name': 'webkit_compositor_bindings', | 60 'target_name': 'webkit_compositor_bindings', |
68 'type': '<(component)', | 61 'type': '<(component)', |
69 'dependencies': [ | 62 'dependencies': [ |
70 '../../base/base.gyp:base', | 63 '../../base/base.gyp:base', |
71 '../../cc/cc.gyp:cc', | 64 '../../cc/cc.gyp:cc', |
72 '../../gpu/gpu.gyp:gpu', | 65 '../../gpu/gpu.gyp:gpu', |
73 '../../media/media.gyp:media', | 66 '../../media/media.gyp:media', |
74 '../../skia/skia.gyp:skia', | 67 '../../skia/skia.gyp:skia', |
| 68 '../../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
75 '../../ui/ui.gyp:ui', | 69 '../../ui/ui.gyp:ui', |
76 '../../webkit/gpu/webkit_gpu.gyp:webkit_gpu', | 70 '../../webkit/gpu/webkit_gpu.gyp:webkit_gpu', |
77 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | |
78 ], | 71 ], |
79 'sources': [ | 72 'sources': [ |
80 '<@(webkit_compositor_bindings_sources)', | 73 '<@(webkit_compositor_bindings_sources)', |
81 ], | 74 ], |
82 'defines': [ | 75 'defines': [ |
83 'WEBKIT_COMPOSITOR_BINDINGS_IMPLEMENTATION=1' | 76 'WEBKIT_COMPOSITOR_BINDINGS_IMPLEMENTATION=1' |
84 ] | 77 ] |
85 }, | 78 }, |
86 ], | 79 ], |
87 } | 80 } |
OLD | NEW |