Index: ui/views_core/views_core.gyp |
diff --git a/ui/views_core/views_core.gyp b/ui/views_core/views_core.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b606bde8baf8205d436e1a2688d406e240ba81da |
--- /dev/null |
+++ b/ui/views_core/views_core.gyp |
@@ -0,0 +1,160 @@ |
+# Copyright 2013 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': { |
+ 'chromium_code': 1, |
+ }, |
+ 'targets': [ |
+ { |
+ 'target_name': 'views_core', |
+ 'type': '<(component)', |
+ 'dependencies': [ |
+ '../../base/base.gyp:base', |
+ '../../base/base.gyp:base_i18n', |
+ '../../skia/skia.gyp:skia', |
+ '../accessibility/accessibility.gyp:accessibility', |
+ '../accessibility/accessibility.gyp:ax_gen', |
+ '../base/strings/ui_strings.gyp:ui_strings', |
+ '../base/ui_base.gyp:ui_base', |
+ '../compositor/compositor.gyp:compositor', |
+ '../events/events.gyp:events_base', |
+ '../events/events.gyp:events', |
+ '../gfx/gfx.gyp:gfx', |
+ '../gfx/gfx.gyp:gfx_geometry', |
+ '../native_theme/native_theme.gyp:native_theme', |
+ '../resources/ui_resources.gyp:ui_resources', |
+ ], |
+ 'export_dependent_settings': [ |
+ '../accessibility/accessibility.gyp:ax_gen', |
+ ], |
+ 'defines': [ |
+ 'VIEWS_IMPLEMENTATION', |
+ ], |
+ 'sources': [ |
+ '../views/accessibility/native_view_accessibility.cc', |
+ '../views/accessibility/native_view_accessibility.h', |
+ '../views/animation/bounds_animator.cc', |
+ '../views/animation/bounds_animator.h', |
+ '../views/background.cc', |
+ '../views/background.h', |
+ '../views/border.cc', |
+ '../views/border.h', |
+ '../views/color_constants.cc', |
+ '../views/color_constants.h', |
+ '../views/controls/button/button.cc', |
+ '../views/controls/button/button.h', |
+ '../views/controls/button/checkbox.cc', |
+ '../views/controls/button/checkbox.h', |
+ '../views/controls/button/custom_button.cc', |
+ '../views/controls/button/custom_button.h', |
+ '../views/controls/button/image_button.cc', |
+ '../views/controls/button/image_button.h', |
+ '../views/controls/button/label_button.cc', |
+ '../views/controls/button/label_button.h', |
+ '../views/controls/button/label_button_border.cc', |
+ '../views/controls/button/label_button_border.h', |
+ '../views/controls/button/menu_button.cc', |
+ '../views/controls/button/menu_button.h', |
+ '../views/controls/button/radio_button.cc', |
+ '../views/controls/button/radio_button.h', |
+ '../views/controls/button/text_button.cc', |
+ '../views/controls/button/text_button.h', |
+ '../views/controls/focusable_border.cc', |
+ '../views/controls/focusable_border.h', |
+ '../views/controls/image_view.cc', |
+ '../views/controls/image_view.h', |
+ '../views/controls/label.cc', |
+ '../views/controls/labe l.h', |
+ '../views/controls/native/native_view_host.cc', |
+ '../views/controls/native/native_view_host.h', |
+ '../views/controls/native/native_view_host_mac.mm', |
+ '../views/controls/menu/menu_runner.h', |
+ '../views/controls/progress_bar.cc', |
+ '../views/controls/progress_bar.h', |
+ '../views/controls/textfield/textfield.cc', |
+ '../views/controls/textfield/textfield.h', |
+ '../views/controls/textfield/textfield_controller.cc', |
+ '../views/controls/textfield/textfield_controller.h', |
+ '../views/controls/textfield/textfield_model.cc', |
+ '../views/controls/textfield/textfield_model.h', |
+# '../views/drag_controller.cc', |
+ '../views/drag_controller.h', |
+ '../views/drag_utils.cc', |
+ '../views/drag_utils.h', |
+ '../views/focus/focus_manager.cc', |
+ '../views/focus/focus_manager.h', |
+ '../views/focus/focus_manager_delegate.h', |
+ '../views/focus/focus_manager_factory.cc', |
+ '../views/focus/focus_manager_factory.h', |
+ '../views/focus/focus_search.cc', |
+ '../views/focus/focus_search.h', |
+ '../views/focus/view_storage.cc', |
+ '../views/focus/view_storage.h', |
+ '../views/focus/widget_focus_manager.cc', |
+ '../views/focus/widget_focus_manager.h', |
+ '../views/layout/box_layout.cc', |
+ '../views/layout/box_layout.h', |
+ '../views/layout/fill_layout.cc', |
+ '../views/layout/fill_layout.h', |
+ '../views/layout/layout_manager.cc', |
+ '../views/layout/layout_manager.h', |
+ '../views/metrics.cc', |
+ '../views/metrics.h', |
+ '../views/metrics_mac.mm', |
+ '../views/painter.cc', |
+ '../views/painter.h', |
+ '../views/rect_based_targeting_utils.cc', |
+ '../views/rect_based_targeting_utils.h', |
+ '../views/view.cc', |
+ '../views/view.h', |
+ '../views/view_mac.cc', |
+ '../views/view_model.cc', |
+ '../views/view_model.h', |
+ '../views/view_model_utils.cc', |
+ '../views/view_model_utils.h', |
+ '../views/view_targeter.cc', |
+ '../views/view_targeter.h', |
+ '../views/views_switches.cc', |
+ '../views/views_switches.h', |
+ '../views/widget/native_widget_private.h', |
+ '../views/widget/native_widget_mac.mm', |
+ '../views/widget/root_view.cc', |
+ '../views/widget/root_view.h', |
+ '../views/widget/widget.cc', |
+ '../views/widget/widget.h', |
+ '../views/widget/widget_delegate.cc', |
+ '../views/widget/widget_delegate.h', |
+ '../views/widget/widget_deletion_observer.cc', |
+ '../views/widget/widget_deletion_observer.h', |
+ '../views/window/client_view.cc', |
+ '../views/window/client_view.h', |
+ '../views/window/custom_frame_view.cc', |
+ '../views/window/custom_frame_view.h', |
+ '../views/window/frame_background.cc', |
+ '../views/window/frame_background.h', |
+ '../views/window/non_client_view.cc', |
+ '../views/window/non_client_view.h', |
+ '../views/window/window_shape.cc', |
+ '../views/window/window_shape.h', |
+ 'accessibility/native_view_accessibility_mac.h', |
+ 'accessibility/native_view_accessibility_mac.mm', |
+ 'bridged_view_impl_mac.h', |
+ 'bridged_view_impl_mac.mm', |
+ 'bridged_view_mac.h', |
+ 'bridged_view_mac.mm', |
+ 'menu_runner_mac.mm', |
+ ], |
+ }, # target_name: views_core |
+ { |
+ 'target_name': 'views_core_unittests', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'views_core', |
+ ], |
+ 'sources': [ |
+ '../views/controls/progress_bar_unittest.cc', |
+ ], |
+ }, # target_name: views_core_unittests |
+ ], |
+} |