| 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 'webkit_compositor_bindings_sources': [ | 7 'webkit_compositor_bindings_sources': [ |
| 8 'web_animation_curve_common.cc', | 8 'web_animation_curve_common.cc', |
| 9 'web_animation_curve_common.h', | 9 'web_animation_curve_common.h', |
| 10 'web_animation_id_provider.cc', | 10 'web_animation_id_provider.cc', |
| 11 'web_animation_id_provider.h', | 11 'web_animation_id_provider.h', |
| 12 'web_animation_impl.cc', | 12 'web_animation_impl.cc', |
| 13 'web_animation_impl.h', | 13 'web_animation_impl.h', |
| 14 'web_compositor_support_output_surface.cc', | 14 'web_compositor_support_output_surface.cc', |
| 15 'web_compositor_support_output_surface.h', | 15 'web_compositor_support_output_surface.h', |
| 16 'web_compositor_support_software_output_device.cc', | 16 'web_compositor_support_software_output_device.cc', |
| 17 'web_compositor_support_software_output_device.h', | 17 'web_compositor_support_software_output_device.h', |
| 18 'web_content_layer_impl.cc', | 18 'web_content_layer_impl.cc', |
| 19 'web_content_layer_impl.h', | 19 'web_content_layer_impl.h', |
| 20 'web_delegated_renderer_layer_impl.cc', | |
| 21 'web_delegated_renderer_layer_impl.h', | |
| 22 'web_external_texture_layer_impl.cc', | 20 'web_external_texture_layer_impl.cc', |
| 23 'web_external_texture_layer_impl.h', | 21 'web_external_texture_layer_impl.h', |
| 24 'web_float_animation_curve_impl.cc', | 22 'web_float_animation_curve_impl.cc', |
| 25 'web_float_animation_curve_impl.h', | 23 'web_float_animation_curve_impl.h', |
| 26 'web_io_surface_layer_impl.cc', | 24 'web_io_surface_layer_impl.cc', |
| 27 'web_io_surface_layer_impl.h', | 25 'web_io_surface_layer_impl.h', |
| 28 'web_image_layer_impl.cc', | 26 'web_image_layer_impl.cc', |
| 29 'web_image_layer_impl.h', | 27 'web_image_layer_impl.h', |
| 30 'web_layer_impl.cc', | 28 'web_layer_impl.cc', |
| 31 'web_layer_impl.h', | 29 'web_layer_impl.h', |
| 32 'web_nine_patch_layer_impl.cc', | 30 'web_nine_patch_layer_impl.cc', |
| 33 'web_nine_patch_layer_impl.h', | 31 'web_nine_patch_layer_impl.h', |
| 34 'web_to_ccinput_handler_adapter.cc', | 32 'web_to_ccinput_handler_adapter.cc', |
| 35 'web_to_ccinput_handler_adapter.h', | 33 'web_to_ccinput_handler_adapter.h', |
| 36 'web_to_ccscrollbar_theme_painter_adapter.cc', | 34 'web_to_ccscrollbar_theme_painter_adapter.cc', |
| 37 'web_to_ccscrollbar_theme_painter_adapter.h', | 35 'web_to_ccscrollbar_theme_painter_adapter.h', |
| 38 'web_layer_tree_view_impl.cc', | 36 'web_layer_tree_view_impl.cc', |
| 39 'web_layer_tree_view_impl.h', | 37 'web_layer_tree_view_impl.h', |
| 40 'web_scrollbar_layer_impl.cc', | 38 'web_scrollbar_layer_impl.cc', |
| 41 'web_scrollbar_layer_impl.h', | 39 'web_scrollbar_layer_impl.h', |
| 42 'web_solid_color_layer_impl.cc', | 40 'web_solid_color_layer_impl.cc', |
| 43 'web_solid_color_layer_impl.h', | 41 'web_solid_color_layer_impl.h', |
| 44 'web_video_layer_impl.cc', | 42 'web_video_layer_impl.cc', |
| 45 'web_video_layer_impl.h', | 43 'web_video_layer_impl.h', |
| 46 'web_transform_animation_curve_impl.cc', | 44 'web_transform_animation_curve_impl.cc', |
| 47 'web_transform_animation_curve_impl.h', | 45 'web_transform_animation_curve_impl.h', |
| 48 ], | 46 ], |
| 47 'conditions': [ |
| 48 ['inside_chromium_build==0', { |
| 49 'webkit_src_dir': '../../../../..', |
| 50 },{ |
| 51 'webkit_src_dir': '../../third_party/WebKit', |
| 52 }], |
| 53 ], |
| 49 }, | 54 }, |
| 50 'targets': [ | 55 'targets': [ |
| 51 { | 56 { |
| 52 'target_name': 'webkit_compositor_support', | 57 'target_name': 'webkit_compositor_support', |
| 53 'type': 'static_library', | 58 'type': 'static_library', |
| 54 'dependencies': [ | 59 'dependencies': [ |
| 55 '../../skia/skia.gyp:skia', | 60 '../../skia/skia.gyp:skia', |
| 61 '../../cc/cc.gyp:cc', |
| 56 'webkit_compositor_bindings', | 62 'webkit_compositor_bindings', |
| 57 ], | 63 ], |
| 58 'sources': [ | 64 'sources': [ |
| 59 'web_compositor_support_impl.cc', | 65 'web_compositor_support_impl.cc', |
| 60 'web_compositor_support_impl.h', | 66 'web_compositor_support_impl.h', |
| 61 ], | 67 ], |
| 62 'include_dirs': [ | 68 'include_dirs': [ |
| 63 '../..', | 69 '../..', |
| 64 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 70 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
| 65 ], | 71 ], |
| 66 }, | 72 }, |
| 67 { | 73 { |
| 68 'target_name': 'webkit_compositor_bindings', | 74 'target_name': 'webkit_compositor_bindings', |
| 69 'type': 'static_library', | 75 'type': '<(component)', |
| 70 'dependencies': [ | 76 'dependencies': [ |
| 71 '../../base/base.gyp:base', | 77 '../../base/base.gyp:base', |
| 72 '../../cc/cc.gyp:cc', | 78 '../../cc/cc.gyp:cc', |
| 73 '../../skia/skia.gyp:skia', | 79 '../../skia/skia.gyp:skia', |
| 74 '../../ui/ui.gyp:ui', | 80 '../../ui/ui.gyp:ui', |
| 81 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 75 ], | 82 ], |
| 76 'sources': [ | 83 'sources': [ |
| 77 '<@(webkit_compositor_bindings_sources)', | 84 '<@(webkit_compositor_bindings_sources)', |
| 78 ], | 85 ], |
| 86 'defines': [ |
| 87 'WEBKIT_COMPOSITOR_BINDINGS_IMPLEMENTATION=1' |
| 88 ] |
| 79 }, | 89 }, |
| 80 ], | 90 ], |
| 81 } | 91 } |
| OLD | NEW |