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_unittests',
67 'type': '<(gtest_target_type)',
69 '../../base/base.gyp:base',
70 '../../base/base.gyp:run_all_unittests',
71 '../../base/base.gyp:test_support_base',
72 '../../testing/gmock.gyp:gmock',
73 '../../testing/gtest.gyp:gtest',
74 '../base/ui_base.gyp:ui_base',
75 '../events/events.gyp:events_test_support',
77 '../gfx/gfx.gyp:gfx_test_support',
81 'longpress_drag_selector_unittest.cc',
82 'touch_handle_unittest.cc',
83 'touch_selection_controller_unittest.cc',
91 '../../testing/android/native_test.gyp:native_test_native_code',
101 'target_name': 'selection_event_type_java',
104 'source_file': 'selection_event_type.h',
106 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
109 'target_name': 'touch_handle_orientation_java',
112 'source_file': 'touch_handle_orientation.h',
114 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
117 'target_name': 'ui_touch_selection_unittests_apk',
120 'ui_touch_selection_unittests',
123 'test_suite_name': 'ui_touch_selection_unittests',
125 'includes': [ '../../build/apk_test.gypi' ],
128 }], # OS == "android"
129 ['test_isolation_mode != "noop"', {
132 'target_name': 'ui_touch_selection_unittests_run',
135 'ui_touch_selection_unittests',
138 '../../build/isolate.gypi',
141 'ui_touch_selection_unittests.isolate',
146 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',