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

Side by Side Diff: ui/accessibility/accessibility.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
OLDNEW
(Empty)
1 # Copyright 2013 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
10 'targets': [
11 {
12 'target_name': 'accessibility',
13 'type': '<(component)',
14 'export_dependent_settings': [
15 'ax_gen',
16 ],
17 'hard_dependency': 1,
18 'dependencies': [
19 '../../base/base.gyp:base',
20 '../../base/base.gyp:base_i18n',
21 '../../skia/skia.gyp:skia',
22 '../gfx/gfx.gyp:gfx',
23 '../gfx/gfx.gyp:gfx_geometry',
24 'ax_gen',
25 ],
26 'defines': [
27 'ACCESSIBILITY_IMPLEMENTATION',
28 ],
29 'sources': [
30 # All .cc, .h under accessibility, except unittests
31 'ax_node.cc',
32 'ax_node.h',
33 'ax_node_data.cc',
34 'ax_node_data.h',
35 'ax_relative_bounds.cc',
36 'ax_relative_bounds.h',
37 'ax_serializable_tree.cc',
38 'ax_serializable_tree.h',
39 'ax_text_utils.cc',
40 'ax_text_utils.h',
41 'ax_tree.cc',
42 'ax_tree.h',
43 'ax_tree_combiner.cc',
44 'ax_tree_combiner.h',
45 'ax_tree_data.cc',
46 'ax_tree_data.h',
47 'ax_tree_serializer.cc',
48 'ax_tree_serializer.h',
49 'ax_tree_source.h',
50 'ax_tree_update.h',
51 'ax_view_state.cc',
52 'ax_view_state.h',
53 'platform/atk_util_auralinux.cc',
54 'platform/atk_util_auralinux.h',
55 'platform/ax_platform_node.cc',
56 'platform/ax_platform_node.h',
57 'platform/ax_platform_node_auralinux.cc',
58 'platform/ax_platform_node_auralinux.h',
59 'platform/ax_platform_node_base.cc',
60 'platform/ax_platform_node_base.h',
61 'platform/ax_platform_node_delegate.h',
62 'platform/ax_platform_node_mac.h',
63 'platform/ax_platform_node_mac.mm',
64 'platform/ax_platform_node_win.h',
65 'platform/ax_platform_node_win.cc',
66 ],
67 'conditions': [
68 ['OS=="win"', {
69 'dependencies': [
70 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2'
71 ],
72 }],
73 ['OS=="linux" and chromeos==0 and use_x11==1', {
74 'dependencies': [
75 '../../build/linux/system.gyp:atk',
76 '../../build/linux/system.gyp:gconf',
77 '../../build/linux/system.gyp:glib',
78 ],
79 'variables': {
80 'clang_warning_flags': [
81 # glib uses the pre-c++11 typedef-as-static_assert hack.
82 '-Wno-unused-local-typedefs',
83 # G_DEFINE_TYPE automatically generates a
84 # *get_instance_private inline function after glib 2.37.
85 # That's unused. Prevent to complain about it.
86 '-Wno-unused-function',
87 ],
88 },
89 }],
90 ['OS!="linux" or chromeos==1 or use_x11==0', {
91 'sources!': [
92 'platform/ax_platform_node_auralinux.cc',
93 'platform/ax_platform_node_auralinux.h',
94 'platform/atk_util_auralinux.cc',
95 'platform/atk_util_auralinux.h',
96 ],
97 }],
98 ['OS=="android"', {
99 'dependencies': [
100 'ui_accessibility_java'
101 ],
102 }],
103 ],
104 },
105 {
106 'target_name': 'accessibility_test_support',
107 'type': 'static_library',
108 'dependencies': [
109 '../../base/base.gyp:base',
110 'accessibility'
111 ],
112 'sources': [
113 'platform/test_ax_node_wrapper.cc',
114 'platform/test_ax_node_wrapper.h',
115 'tree_generator.cc',
116 'tree_generator.h',
117 ]
118 },
119 {
120 'target_name': 'accessibility_unittests',
121 'type': 'executable',
122 'dependencies': [
123 '../../base/base.gyp:base',
124 '../../base/base.gyp:run_all_unittests',
125 '../../skia/skia.gyp:skia',
126 '../../testing/gtest.gyp:gtest',
127 '../gfx/gfx.gyp:gfx',
128 '../gfx/gfx.gyp:gfx_geometry',
129 'accessibility',
130 'accessibility_test_support',
131 'ax_gen',
132 ],
133 'sources': [
134 'ax_generated_tree_unittest.cc',
135 'ax_text_utils_unittest.cc',
136 'ax_tree_combiner_unittest.cc',
137 'ax_tree_serializer_unittest.cc',
138 'ax_tree_unittest.cc',
139 'platform/ax_platform_node_win_unittest.cc'
140 ],
141 'conditions': [
142 ['OS=="win"', {
143 'dependencies': [
144 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2'
145 ],
146 }],
147 ],
148 },
149 {
150 'target_name': 'ax_gen',
151 'type': 'static_library',
152 # This target exports a hard dependency because dependent targets may
153 # include ax_enums.h, a generated header.
154 'hard_dependency': 1,
155 'dependencies': [
156 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations'
157 ],
158 'sources': [
159 '<@(schema_files)',
160 ],
161 'msvs_disabled_warnings': [ 4267 ],
162 'includes': [
163 '../../build/json_schema_compile.gypi',
164 ],
165 'variables': {
166 'chromium_code': 1,
167 'schema_files': [
168 'ax_enums.idl',
169 ],
170 'non_compiled_schema_files': [],
171 'cc_dir': 'ui/accessibility',
172 # TODO(dtseng): Change this once all files under ui/accessibility
173 # namespaced under ui::ax.
174 'root_namespace': 'ui',
175 },
176 },
177 ],
178 'conditions': [
179 ['test_isolation_mode != "noop"', {
180 'targets': [
181 {
182 'target_name': 'accessibility_unittests_run',
183 'type': 'none',
184 'dependencies': [
185 'accessibility_unittests',
186 ],
187 'includes': [
188 '../../build/isolate.gypi',
189 ],
190 'sources': [
191 'accessibility_unittests.isolate',
192 ],
193 'conditions': [
194 ['use_x11 == 1', {
195 'dependencies': [
196 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
197 ],
198 }],
199 ],
200 },
201 ],
202 }],
203 ['OS == "android"', {
204 'targets': [
205 {
206 'target_name': 'ui_accessibility_java',
207 'type': 'none',
208 'variables': {
209 'java_in_dir': '<(DEPTH)/build/android/empty',
210 'has_java_resources': 0,
211 'never_lint': 1,
212 },
213 'dependencies': [
214 'ax_enumerations_java',
215 ],
216 'includes': [ '../../build/java.gypi' ],
217 },
218 {
219 'target_name': 'ax_enumerations_java',
220 'type': 'none',
221 'variables': {
222 'source_file': 'ax_enums.idl',
223 },
224 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
225 },
226 ],
227 }],
228 ],
229 }
OLDNEW
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.gyp ('k') | ui/accessibility/extensions/accessibility_extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698