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.
11 'target_name': 'ui_touch_selection',
12 'type': '<(component)',
14 '../../base/base.gyp:base',
15 '../../skia/skia.gyp:skia',
16 '../aura/aura.gyp:aura',
17 '../aura_extra/aura_extra.gyp:aura_extra',
18 '../base/ui_base.gyp:ui_base',
19 '../compositor/compositor.gyp:compositor',
20 '../events/events.gyp:events',
21 '../events/events.gyp:gesture_detection',
23 '../gfx/gfx.gyp:gfx_geometry',
26 'UI_TOUCH_SELECTION_IMPLEMENTATION',
29 'longpress_drag_selector.cc',
30 'longpress_drag_selector.h',
31 'selection_event_type.h',
34 'touch_handle_drawable_aura.cc',
35 'touch_handle_drawable_aura.h',
36 'touch_handle_orientation.h',
37 'touch_selection_controller.cc',
38 'touch_selection_controller.h',
39 'touch_selection_draggable.h',
40 'touch_selection_menu_runner.cc',
41 'touch_selection_menu_runner.h',
42 'ui_touch_selection_export.h',
50 '../../skia/skia.gyp:skia',
51 '../aura/aura.gyp:aura',
52 '../aura_extra/aura_extra.gyp:aura_extra',
53 '../compositor/compositor.gyp:compositor',
57 'touch_handle_drawable_aura.cc',
58 'touch_handle_drawable_aura.h',
59 'touch_selection_menu_runner.cc',
60 'touch_selection_menu_runner.h',
66 'target_name': 'ui_touch_selection_test_support',
67 'type': 'static_library',
72 'touch_selection_controller_test_api.cc',
73 'touch_selection_controller_test_api.h',
77 'target_name': 'ui_touch_selection_unittests',
78 'type': '<(gtest_target_type)',
80 '../../base/base.gyp:base',
81 '../../base/base.gyp:run_all_unittests',
82 '../../base/base.gyp:test_support_base',
83 '../../testing/gmock.gyp:gmock',
84 '../../testing/gtest.gyp:gtest',
85 '../base/ui_base.gyp:ui_base',
86 '../events/events.gyp:events_test_support',
88 '../gfx/gfx.gyp:gfx_test_support',
90 'ui_touch_selection_test_support',
93 'longpress_drag_selector_unittest.cc',
94 'touch_handle_unittest.cc',
95 'touch_selection_controller_unittest.cc',
101 ['OS == "android"', {
103 '../../testing/android/native_test.gyp:native_test_native_code',
110 ['OS == "android"', {
113 'target_name': 'selection_event_type_java',
116 'source_file': 'selection_event_type.h',
118 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
121 'target_name': 'touch_handle_orientation_java',
124 'source_file': 'touch_handle_orientation.h',
126 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
129 'target_name': 'ui_touch_selection_unittests_apk',
132 'ui_touch_selection_unittests',
135 'test_suite_name': 'ui_touch_selection_unittests',
137 'includes': [ '../../build/apk_test.gypi' ],
140 }], # OS == "android"
141 ['test_isolation_mode != "noop"', {
144 'target_name': 'ui_touch_selection_unittests_run',
147 'ui_touch_selection_unittests',
150 '../../build/isolate.gypi',
153 'ui_touch_selection_unittests.isolate',
158 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',