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

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

Issue 1046783002: wip: Aura-specific implementation of unified touch selection: touch_selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving the responsibility for showing the menu into the client. Created 5 years, 8 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_handle_orientation.h', 33 'touch_handle_orientation.h',
28 'touch_selection_controller.cc',
29 'touch_selection_controller.h', 34 'touch_selection_controller.h',
35 'touch_selection_controller_android.cc',
36 'touch_selection_controller_android.h',
37 'touch_selection_controller_aura.cc',
38 'touch_selection_controller_aura.h',
39 'touch_selection_controller_impl.cc',
40 'touch_selection_controller_impl.h',
41 'touch_selection_menu_runner.cc',
42 'touch_selection_menu_runner.h',
30 'ui_touch_selection_export.h', 43 'ui_touch_selection_export.h',
31 ], 44 ],
32 'include_dirs': [ 45 'include_dirs': [
33 '../..', 46 '../..',
34 ], 47 ],
48 'conditions': [
49 ['OS != "android"', {
50 'sources!': [
51 'touch_selection_controller_android.cc',
52 'touch_selection_controller_android.h',
53 ],
54 }],
55 ['use_aura==0', {
56 'dependencies!': [
57 '../aura/aura.gyp:aura',
58 '../aura_extra/aura_extra.gyp:aura_extra',
59 '../compositor/compositor.gyp:compositor',
60 '../gfx/gfx.gyp:gfx',
61 ],
62 'sources!': [
63 'touch_handle_drawable_aura.cc',
64 'touch_handle_drawable_aura.h',
65 'touch_selection_controller_aura.cc',
66 'touch_selection_controller_aura.h',
67 'touch_selection_menu_runner.cc',
68 'touch_selection_menu_runner.h',
69 ],
70 }],
71 ],
35 }, 72 },
36 { 73 {
37 'target_name': 'ui_touch_selection_unittests', 74 'target_name': 'ui_touch_selection_unittests',
38 'type': '<(gtest_target_type)', 75 'type': '<(gtest_target_type)',
39 'dependencies': [ 76 'dependencies': [
40 '../../base/base.gyp:base', 77 '../../base/base.gyp:base',
41 '../../base/base.gyp:run_all_unittests',
42 '../../base/base.gyp:test_support_base', 78 '../../base/base.gyp:test_support_base',
43 '../../testing/gmock.gyp:gmock', 79 '../../testing/gmock.gyp:gmock',
44 '../../testing/gtest.gyp:gtest', 80 '../../testing/gtest.gyp:gtest',
81 '../aura/aura.gyp:aura_test_support',
45 '../base/ui_base.gyp:ui_base', 82 '../base/ui_base.gyp:ui_base',
46 '../events/events.gyp:events_test_support', 83 '../events/events.gyp:events_test_support',
47 '../gfx/gfx.gyp:gfx', 84 '../gfx/gfx.gyp:gfx',
48 '../gfx/gfx.gyp:gfx_test_support', 85 '../gfx/gfx.gyp:gfx_test_support',
86 '../gl/gl.gyp:gl',
87 '../resources/ui_resources.gyp:ui_test_pak',
49 'ui_touch_selection', 88 'ui_touch_selection',
50 ], 89 ],
51 'sources': [ 90 'sources': [
91 'run_all_unittests.cc',
52 'touch_handle_unittest.cc', 92 'touch_handle_unittest.cc',
93 'touch_selection_controller_aura_test_api.cc',
94 'touch_selection_controller_aura_test_api.h',
95 'touch_selection_controller_aura_unittest.cc',
53 'touch_selection_controller_unittest.cc', 96 'touch_selection_controller_unittest.cc',
54 ], 97 ],
55 'include_dirs': [ 98 'include_dirs': [
56 '../..', 99 '../..',
57 ], 100 ],
58 'conditions': [ 101 'conditions': [
59 ['OS == "android"', { 102 ['OS == "android"', {
60 'dependencies': [ 103 'dependencies': [
61 '../../testing/android/native_test.gyp:native_test_native_code', 104 '../../testing/android/native_test.gyp:native_test_native_code',
62 ], 105 ],
63 }], 106 }],
107 ['use_aura==0', {
108 'dependencies!': [
109 '../aura/aura.gyp:aura_test_support',
110 '../resources/ui_resources.gyp:ui_test_pak',
111 ],
112 'sources!': [
113 'touch_selection_controller_aura_test_api.cc',
114 'touch_selection_controller_aura_test_api.h',
115 'touch_selection_controller_aura_unittest.cc',
116 ]
117 }],
64 ] 118 ]
65 }, 119 },
66 ], 120 ],
67 'conditions': [ 121 'conditions': [
68 ['OS == "android"', { 122 ['OS == "android"', {
69 'targets': [ 123 'targets': [
70 { 124 {
71 'target_name': 'selection_event_type_java', 125 'target_name': 'selection_event_type_java',
72 'type': 'none', 126 'type': 'none',
73 'variables': { 127 'variables': {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 'dependencies': [ 169 'dependencies': [
116 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 170 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
117 ], 171 ],
118 }], 172 }],
119 ], 173 ],
120 }, 174 },
121 ], 175 ],
122 }], 176 }],
123 ], 177 ],
124 } 178 }
OLDNEW
« no previous file with comments | « ui/touch_selection/touch_selection_menu_runner.cc ('k') | ui/touch_selection/ui_touch_selection_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698