Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: ui/touch_selection/ui_touch_selection.gyp

Issue 698253004: Reland: Implement Aura side of unified touch text selection for contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improved tap-on-selection tests Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'ui_touch_selection', 11 'target_name': 'ui_touch_selection',
12 'type': '<(component)', 12 'type': '<(component)',
13 'dependencies': [ 13 'dependencies': [
14 '../../base/base.gyp:base', 14 '../../base/base.gyp:base',
15 '../aura/aura.gyp:aura',
16 '../aura_extra/aura_extra.gyp:aura_extra',
15 '../base/ui_base.gyp:ui_base', 17 '../base/ui_base.gyp:ui_base',
18 '../compositor/compositor.gyp:compositor',
16 '../events/events.gyp:events', 19 '../events/events.gyp:events',
17 '../events/events.gyp:gesture_detection', 20 '../events/events.gyp:gesture_detection',
21 '../gfx/gfx.gyp:gfx',
18 '../gfx/gfx.gyp:gfx_geometry', 22 '../gfx/gfx.gyp:gfx_geometry',
19 ], 23 ],
20 'defines': [ 24 'defines': [
21 'UI_TOUCH_SELECTION_IMPLEMENTATION', 25 'UI_TOUCH_SELECTION_IMPLEMENTATION',
22 ], 26 ],
23 'sources': [ 27 'sources': [
24 'selection_event_type.h', 28 'selection_event_type.h',
25 'touch_handle.cc', 29 'touch_handle.cc',
26 'touch_handle.h', 30 'touch_handle.h',
31 'touch_handle_drawable_aura.cc',
32 'touch_handle_drawable_aura.h',
27 'touch_selection_controller.cc', 33 'touch_selection_controller.cc',
28 'touch_selection_controller.h', 34 'touch_selection_controller.h',
35 'touch_selection_controller_aura.cc',
36 'touch_selection_controller_aura.h',
37 'touch_selection_menu_runner.cc',
38 'touch_selection_menu_runner.h',
29 'ui_touch_selection_export.h', 39 'ui_touch_selection_export.h',
30 ], 40 ],
31 'include_dirs': [ 41 'include_dirs': [
32 '../..', 42 '../..',
33 ], 43 ],
44 'conditions': [
45 ['use_aura==0', {
46 'dependencies!': [
47 '../aura/aura.gyp:aura',
48 '../aura_extra/aura_extra.gyp:aura_extra',
49 '../compositor/compositor.gyp:compositor',
50 '../gfx/gfx.gyp:gfx',
51 ],
52 'sources!': [
53 'touch_handle_drawable_aura.cc',
54 'touch_handle_drawable_aura.h',
55 'touch_selection_controller_aura.cc',
56 'touch_selection_controller_aura.h',
57 'touch_selection_menu_runner.cc',
58 'touch_selection_menu_runner.h',
59 ],
60 }],
61 ],
34 }, 62 },
35 { 63 {
36 'target_name': 'ui_touch_selection_unittests', 64 'target_name': 'ui_touch_selection_unittests',
37 'type': '<(gtest_target_type)', 65 'type': '<(gtest_target_type)',
38 'dependencies': [ 66 'dependencies': [
39 '../../base/base.gyp:base', 67 '../../base/base.gyp:base',
40 '../../base/base.gyp:run_all_unittests',
41 '../../base/base.gyp:test_support_base', 68 '../../base/base.gyp:test_support_base',
42 '../../testing/gmock.gyp:gmock', 69 '../../testing/gmock.gyp:gmock',
43 '../../testing/gtest.gyp:gtest', 70 '../../testing/gtest.gyp:gtest',
71 '../aura/aura.gyp:aura_test_support',
44 '../base/ui_base.gyp:ui_base', 72 '../base/ui_base.gyp:ui_base',
45 '../events/events.gyp:events_test_support', 73 '../events/events.gyp:events_test_support',
46 '../gfx/gfx.gyp:gfx', 74 '../gfx/gfx.gyp:gfx',
47 '../gfx/gfx.gyp:gfx_test_support', 75 '../gfx/gfx.gyp:gfx_test_support',
76 '../gl/gl.gyp:gl',
48 'ui_touch_selection', 77 'ui_touch_selection',
49 ], 78 ],
50 'sources': [ 79 'sources': [
80 'run_all_unittests.cc',
51 'touch_handle_unittest.cc', 81 'touch_handle_unittest.cc',
82 'touch_selection_controller_aura_unittest.cc',
52 'touch_selection_controller_unittest.cc', 83 'touch_selection_controller_unittest.cc',
53 ], 84 ],
54 'include_dirs': [ 85 'include_dirs': [
55 '../..', 86 '../..',
56 ], 87 ],
57 'conditions': [ 88 'conditions': [
58 ['OS == "android"', { 89 ['OS == "android"', {
59 'dependencies': [ 90 'dependencies': [
60 '../../testing/android/native_test.gyp:native_test_native_code', 91 '../../testing/android/native_test.gyp:native_test_native_code',
61 ], 92 ],
62 }], 93 }],
94 ['use_aura==0', {
95 'dependencies!': [
96 '../aura/aura.gyp:aura_test_support',
97 ],
98 'sources!': [
99 'touch_selection_controller_aura_unittest.cc',
100 ]
101 }],
63 ] 102 ]
64 }, 103 },
65 ], 104 ],
66 'conditions': [ 105 'conditions': [
67 ['OS == "android"', { 106 ['OS == "android"', {
68 'targets': [ 107 'targets': [
69 { 108 {
70 'target_name': 'selection_event_type_java', 109 'target_name': 'selection_event_type_java',
71 'type': 'none', 110 'type': 'none',
72 'variables': { 111 'variables': {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 'dependencies': [ 145 'dependencies': [
107 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 146 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
108 ], 147 ],
109 }], 148 }],
110 ], 149 ],
111 }, 150 },
112 ], 151 ],
113 }], 152 }],
114 ], 153 ],
115 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698