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

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

Issue 2306743002: Nukes the gyp/gypi files in ui (Closed)
Patch Set: keep webui Created 4 years, 3 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
« no previous file with comments | « ui/surface/surface.gyp ('k') | ui/views/controls/webview/webview.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 'target_name': 'ui_touch_selection',
12 'type': '<(component)',
13 'dependencies': [
14 '../../base/base.gyp:base',
15 '../../skia/skia.gyp:skia',
16 '../base/ui_base.gyp:ui_base',
17 '../events/events.gyp:events',
18 '../events/events.gyp:gesture_detection',
19 '../gfx/gfx.gyp:gfx',
20 '../gfx/gfx.gyp:gfx_geometry',
21 ],
22 'defines': [
23 'UI_TOUCH_SELECTION_IMPLEMENTATION',
24 ],
25 'sources': [
26 'longpress_drag_selector.cc',
27 'longpress_drag_selector.h',
28 'selection_event_type.h',
29 'touch_handle.cc',
30 'touch_handle.h',
31 'touch_handle_orientation.h',
32 'touch_selection_controller.cc',
33 'touch_selection_controller.h',
34 'touch_selection_draggable.h',
35 'ui_touch_selection_export.h',
36 ],
37 'include_dirs': [
38 '../..',
39 ],
40 'conditions': [
41 ['use_aura==1', {
42 'dependencies': [
43 '../aura/aura.gyp:aura',
44 '../aura_extra/aura_extra.gyp:aura_extra',
45 '../compositor/compositor.gyp:compositor',
46 '../gfx/gfx.gyp:gfx',
47 '../resources/ui_resources.gyp:ui_resources',
48 ],
49 'sources': [
50 'touch_handle_drawable_aura.cc',
51 'touch_handle_drawable_aura.h',
52 'touch_selection_menu_runner.cc',
53 'touch_selection_menu_runner.h',
54 ],
55 }],
56 ],
57 },
58 {
59 'target_name': 'ui_touch_selection_test_support',
60 'type': 'static_library',
61 'dependencies': [
62 'ui_touch_selection',
63 ],
64 'sources': [
65 'touch_selection_controller_test_api.cc',
66 'touch_selection_controller_test_api.h',
67 ],
68 },
69 {
70 'target_name': 'ui_touch_selection_unittests',
71 'type': '<(gtest_target_type)',
72 'dependencies': [
73 '../../base/base.gyp:base',
74 '../../base/base.gyp:run_all_unittests',
75 '../../base/base.gyp:test_support_base',
76 '../../testing/gmock.gyp:gmock',
77 '../../testing/gtest.gyp:gtest',
78 '../base/ui_base.gyp:ui_base',
79 '../events/events.gyp:events_test_support',
80 '../gfx/gfx.gyp:gfx',
81 '../gfx/gfx.gyp:gfx_test_support',
82 'ui_touch_selection',
83 'ui_touch_selection_test_support',
84 ],
85 'sources': [
86 'longpress_drag_selector_unittest.cc',
87 'touch_handle_unittest.cc',
88 'touch_selection_controller_unittest.cc',
89 ],
90 'include_dirs': [
91 '../..',
92 ],
93 'conditions': [
94 ['OS == "android"', {
95 'dependencies': [
96 '../../testing/android/native_test.gyp:native_test_native_code',
97 ],
98 }],
99 ]
100 },
101 ],
102 'conditions': [
103 ['OS == "android"', {
104 'targets': [
105 {
106 'target_name': 'selection_event_type_java',
107 'type': 'none',
108 'variables': {
109 'source_file': 'selection_event_type.h',
110 },
111 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
112 },
113 {
114 'target_name': 'touch_handle_orientation_java',
115 'type': 'none',
116 'variables': {
117 'source_file': 'touch_handle_orientation.h',
118 },
119 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
120 },
121 {
122 'target_name': 'ui_touch_selection_unittests_apk',
123 'type': 'none',
124 'dependencies': [
125 'ui_touch_selection_unittests',
126 ],
127 'variables': {
128 'test_suite_name': 'ui_touch_selection_unittests',
129 },
130 'includes': [ '../../build/apk_test.gypi' ],
131 },
132 ],
133 'conditions': [
134 ['test_isolation_mode != "noop"', {
135 'targets': [
136 {
137 'target_name': 'ui_touch_selection_unittests_apk_run',
138 'type': 'none',
139 'dependencies': [
140 'ui_touch_selection_unittests_apk',
141 ],
142 'includes': [
143 '../../build/isolate.gypi',
144 ],
145 'sources': [
146 'ui_touch_selection_unittests_apk.isolate',
147 ],
148 },
149 ]
150 }],
151 ],
152 }], # OS == "android"
153 ['test_isolation_mode != "noop" and OS != "android"', {
154 'targets': [
155 {
156 'target_name': 'ui_touch_selection_unittests_run',
157 'type': 'none',
158 'dependencies': [
159 'ui_touch_selection_unittests',
160 ],
161 'includes': [
162 '../../build/isolate.gypi',
163 ],
164 'sources': [
165 'ui_touch_selection_unittests.isolate',
166 ],
167 'conditions': [
168 ['use_x11 == 1', {
169 'dependencies': [
170 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
171 ],
172 }],
173 ],
174 },
175 ],
176 }],
177 ],
178 }
OLDNEW
« no previous file with comments | « ui/surface/surface.gyp ('k') | ui/views/controls/webview/webview.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698