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

Side by Side Diff: ui/base/BUILD.gn

Issue 399683005: Enable more tests in GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more android printing mode Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/compositor/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 "cocoa/hover_button.h", 75 "cocoa/hover_button.h",
76 "cocoa/hover_button.mm", 76 "cocoa/hover_button.mm",
77 "cocoa/hover_image_button.h", 77 "cocoa/hover_image_button.h",
78 "cocoa/hover_image_button.mm", 78 "cocoa/hover_image_button.mm",
79 "cocoa/menu_controller.h", 79 "cocoa/menu_controller.h",
80 "cocoa/menu_controller.mm", 80 "cocoa/menu_controller.mm",
81 "cocoa/nib_loading.h", 81 "cocoa/nib_loading.h",
82 "cocoa/nib_loading.mm", 82 "cocoa/nib_loading.mm",
83 "cocoa/nsgraphics_context_additions.h", 83 "cocoa/nsgraphics_context_additions.h",
84 "cocoa/nsgraphics_context_additions.mm", 84 "cocoa/nsgraphics_context_additions.mm",
85 "cocoa/remote_layer_api.h",
86 "cocoa/remote_layer_api.mm",
85 "cocoa/tracking_area.h", 87 "cocoa/tracking_area.h",
86 "cocoa/tracking_area.mm", 88 "cocoa/tracking_area.mm",
87 "cocoa/underlay_opengl_hosting_window.h", 89 "cocoa/underlay_opengl_hosting_window.h",
88 "cocoa/underlay_opengl_hosting_window.mm", 90 "cocoa/underlay_opengl_hosting_window.mm",
89 "cocoa/view_description.h", 91 "cocoa/view_description.h",
90 "cocoa/view_description.mm", 92 "cocoa/view_description.mm",
91 "cocoa/window_size_constants.h", 93 "cocoa/window_size_constants.h",
92 "cocoa/window_size_constants.mm", 94 "cocoa/window_size_constants.mm",
93 "cursor/cursor.cc", 95 "cursor/cursor.cc",
94 "cursor/cursor.h", 96 "cursor/cursor.h",
95 "cursor/cursor_android.cc", 97 "cursor/cursor_android.cc",
96 "cursor/cursor_loader.h", 98 "cursor/cursor_loader.h",
97 "cursor/cursor_loader_win.cc",
98 "cursor/cursor_loader_win.h",
99 "cursor/cursor_util.cc", 99 "cursor/cursor_util.cc",
100 "cursor/cursor_util.h", 100 "cursor/cursor_util.h",
101 "cursor/cursor_win.cc", 101 "cursor/cursor_win.cc",
102 "cursor/cursors_aura.cc", 102 "cursor/cursors_aura.cc",
103 "cursor/cursors_aura.h", 103 "cursor/cursors_aura.h",
104 "cursor/image_cursors.cc",
105 "cursor/image_cursors.h",
104 "default_theme_provider.cc", 106 "default_theme_provider.cc",
105 "default_theme_provider.h", 107 "default_theme_provider.h",
106 "default_theme_provider_mac.mm", 108 "default_theme_provider_mac.mm",
107 "device_form_factor_android.cc", 109 "device_form_factor_android.cc",
108 "device_form_factor_android.h", 110 "device_form_factor_android.h",
109 "device_form_factor_desktop.cc", 111 "device_form_factor_desktop.cc",
110 "device_form_factor_ios.mm", 112 "device_form_factor_ios.mm",
111 "device_form_factor.h", 113 "device_form_factor.h",
112 "dragdrop/cocoa_dnd_util.h", 114 "dragdrop/cocoa_dnd_util.h",
113 "dragdrop/cocoa_dnd_util.mm", 115 "dragdrop/cocoa_dnd_util.mm",
114 "dragdrop/drag_drop_types.h", 116 "dragdrop/drag_drop_types.h",
115 "dragdrop/drag_drop_types.h",
116 "dragdrop/drag_drop_types_win.cc", 117 "dragdrop/drag_drop_types_win.cc",
117 "dragdrop/drag_source_win.cc", 118 "dragdrop/drag_source_win.cc",
118 "dragdrop/drag_source_win.h", 119 "dragdrop/drag_source_win.h",
119 "dragdrop/drag_utils.cc", 120 "dragdrop/drag_utils.cc",
120 "dragdrop/drag_utils.h", 121 "dragdrop/drag_utils.h",
121 "dragdrop/drag_utils_aura.cc", 122 "dragdrop/drag_utils_aura.cc",
123 "dragdrop/drag_utils_mac.mm",
122 "dragdrop/drag_utils_win.cc", 124 "dragdrop/drag_utils_win.cc",
123 "dragdrop/drop_target_event.cc", 125 "dragdrop/drop_target_event.cc",
124 "dragdrop/drop_target_event.h", 126 "dragdrop/drop_target_event.h",
125 "dragdrop/drop_target_win.cc", 127 "dragdrop/drop_target_win.cc",
126 "dragdrop/drop_target_win.h", 128 "dragdrop/drop_target_win.h",
127 "dragdrop/file_info.cc", 129 "dragdrop/file_info.cc",
128 "dragdrop/file_info.h", 130 "dragdrop/file_info.h",
129 "dragdrop/os_exchange_data.cc", 131 "dragdrop/os_exchange_data.cc",
130 "dragdrop/os_exchange_data.h", 132 "dragdrop/os_exchange_data.h",
133 "dragdrop/os_exchange_data_provider_mac.h",
134 "dragdrop/os_exchange_data_provider_mac.mm",
131 "dragdrop/os_exchange_data_provider_win.cc", 135 "dragdrop/os_exchange_data_provider_win.cc",
132 "dragdrop/os_exchange_data_provider_win.h", 136 "dragdrop/os_exchange_data_provider_win.h",
133 "hit_test.h", 137 "hit_test.h",
138 "ime/candidate_window.cc",
139 "ime/candidate_window.h",
140 "ime/chromeos/character_composer.cc",
141 "ime/chromeos/character_composer.h",
142 "ime/chromeos/ime_bridge.cc",
143 "ime/chromeos/ime_bridge.h",
144 "ime/chromeos/ime_keymap.cc",
145 "ime/chromeos/ime_keymap.h",
146 "ime/chromeos/mock_ime_candidate_window_handler.cc",
147 "ime/chromeos/mock_ime_candidate_window_handler.h",
148 "ime/chromeos/mock_ime_engine_handler.cc",
149 "ime/chromeos/mock_ime_engine_handler.h",
150 "ime/chromeos/mock_ime_input_context_handler.cc",
151 "ime/chromeos/mock_ime_input_context_handler.h",
152 "ime/composition_text.cc",
153 "ime/composition_text.h",
154 "ime/composition_text_util_pango.cc",
155 "ime/composition_text_util_pango.h",
156 "ime/composition_underline.h",
157 "ime/dummy_input_method_delegate.cc",
158 "ime/dummy_input_method_delegate.h",
159 "ime/infolist_entry.cc",
160 "ime/infolist_entry.h",
161 "ime/input_method.h",
162 "ime/input_method_auralinux.cc",
163 "ime/input_method_auralinux.h",
164 "ime/input_method_base.cc",
165 "ime/input_method_base.h",
166 "ime/input_method_chromeos.cc",
167 "ime/input_method_chromeos.h",
168 "ime/input_method_delegate.h",
169 "ime/input_method_factory.cc",
170 "ime/input_method_factory.h",
171 "ime/input_method_initializer.cc",
172 "ime/input_method_initializer.h",
173 "ime/input_method_mac.h",
174 "ime/input_method_mac.mm",
175 "ime/input_method_minimal.cc",
176 "ime/input_method_minimal.h",
177 "ime/input_method_observer.h",
178 "ime/input_method_win.cc",
179 "ime/input_method_win.h",
180 "ime/linux/fake_input_method_context.cc",
181 "ime/linux/fake_input_method_context.h",
182 "ime/linux/fake_input_method_context_factory.cc",
183 "ime/linux/fake_input_method_context_factory.h",
184 "ime/linux/linux_input_method_context.h",
185 "ime/linux/linux_input_method_context_factory.cc",
186 "ime/linux/linux_input_method_context_factory.h",
187 "ime/mock_input_method.cc",
188 "ime/mock_input_method.h",
189 "ime/remote_input_method_delegate_win.h",
190 "ime/remote_input_method_win.cc",
191 "ime/remote_input_method_win.h",
192 "ime/text_input_client.cc",
193 "ime/text_input_client.h",
194 "ime/text_input_focus_manager.cc",
195 "ime/text_input_focus_manager.h",
196 "ime/text_input_type.h",
197 "ime/win/imm32_manager.cc",
198 "ime/win/imm32_manager.h",
199 "ime/win/tsf_input_scope.cc",
200 "ime/win/tsf_input_scope.h",
134 "l10n/formatter.cc", 201 "l10n/formatter.cc",
135 "l10n/formatter.h", 202 "l10n/formatter.h",
136 "l10n/l10n_font_util.cc", 203 "l10n/l10n_font_util.cc",
137 "l10n/l10n_font_util.h", 204 "l10n/l10n_font_util.h",
138 "l10n/l10n_util.cc", 205 "l10n/l10n_util.cc",
139 "l10n/l10n_util.h", 206 "l10n/l10n_util.h",
140 "l10n/l10n_util_android.cc", 207 "l10n/l10n_util_android.cc",
141 "l10n/l10n_util_android.h", 208 "l10n/l10n_util_android.h",
142 "l10n/l10n_util_collator.h", 209 "l10n/l10n_util_collator.h",
143 "l10n/l10n_util_mac.h", 210 "l10n/l10n_util_mac.h",
(...skipping 16 matching lines...) Expand all
160 "models/dialog_model.cc", 227 "models/dialog_model.cc",
161 "models/dialog_model.h", 228 "models/dialog_model.h",
162 "models/list_model.h", 229 "models/list_model.h",
163 "models/list_model_observer.h", 230 "models/list_model_observer.h",
164 "models/list_selection_model.cc", 231 "models/list_selection_model.cc",
165 "models/list_selection_model.h", 232 "models/list_selection_model.h",
166 "models/menu_model.cc", 233 "models/menu_model.cc",
167 "models/menu_model.h", 234 "models/menu_model.h",
168 "models/menu_model_delegate.h", 235 "models/menu_model_delegate.h",
169 "models/menu_separator_types.h", 236 "models/menu_separator_types.h",
237 "models/simple_combobox_model.cc",
238 "models/simple_combobox_model.h",
170 "models/simple_menu_model.cc", 239 "models/simple_menu_model.cc",
171 "models/simple_menu_model.h", 240 "models/simple_menu_model.h",
172 "models/table_model.cc", 241 "models/table_model.cc",
173 "models/table_model.h", 242 "models/table_model.h",
174 "models/table_model_observer.h", 243 "models/table_model_observer.h",
175 "models/tree_model.cc", 244 "models/tree_model.cc",
176 "models/tree_model.h", 245 "models/tree_model.h",
177 "models/tree_node_iterator.h", 246 "models/tree_node_iterator.h",
178 "models/tree_node_model.h", 247 "models/tree_node_model.h",
179 "nine_image_painter_factory.cc", 248 "nine_image_painter_factory.cc",
(...skipping 13 matching lines...) Expand all
193 "resource/resource_handle.h", 262 "resource/resource_handle.h",
194 "text/bytes_formatting.cc", 263 "text/bytes_formatting.cc",
195 "text/bytes_formatting.h", 264 "text/bytes_formatting.h",
196 "theme_provider.cc", 265 "theme_provider.cc",
197 "theme_provider.h", 266 "theme_provider.h",
198 "touch/touch_device.h", 267 "touch/touch_device.h",
199 "touch/touch_editing_controller.cc", 268 "touch/touch_editing_controller.cc",
200 "touch/touch_editing_controller.h", 269 "touch/touch_editing_controller.h",
201 "touch/touch_enabled.cc", 270 "touch/touch_enabled.cc",
202 "touch/touch_enabled.h", 271 "touch/touch_enabled.h",
272 "ui_base_export.h",
203 "ui_base_exports.cc", 273 "ui_base_exports.cc",
204 "ui_base_paths.cc", 274 "ui_base_paths.cc",
205 "ui_base_paths.h", 275 "ui_base_paths.h",
206 "ui_base_switches.cc", 276 "ui_base_switches.cc",
207 "ui_base_switches.h", 277 "ui_base_switches.h",
208 "ui_base_switches_util.cc", 278 "ui_base_switches_util.cc",
209 "ui_base_switches_util.h", 279 "ui_base_switches_util.h",
210 "ui_base_types.cc", 280 "ui_base_types.cc",
211 "ui_base_types.h", 281 "ui_base_types.h",
212 "ui_base_export.h", 282 "ui_base_export.h",
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 "dragdrop/drag_utils.cc", 423 "dragdrop/drag_utils.cc",
354 "dragdrop/drag_utils.h", 424 "dragdrop/drag_utils.h",
355 ] 425 ]
356 } 426 }
357 } 427 }
358 428
359 if (use_pango) { 429 if (use_pango) {
360 configs += [ 430 configs += [
361 "//build/config/linux:pangocairo", 431 "//build/config/linux:pangocairo",
362 ] 432 ]
433 } else {
434 sources -= [
435 "ime/composition_text_util_pango.cc",
436 "ime/composition_text_util_pango.h",
437 ]
363 } 438 }
364 439
365 if (is_chromeos || (use_aura && is_linux && !use_x11)) { 440 if (is_chromeos || (use_aura && is_linux && !use_x11)) {
366 sources += [ 441 sources += [
367 "dragdrop/os_exchange_data_provider_aura.cc", 442 "dragdrop/os_exchange_data_provider_aura.cc",
368 "dragdrop/os_exchange_data_provider_aura.h", 443 "dragdrop/os_exchange_data_provider_aura.h",
369 ] 444 ]
370 } 445 }
371 446
372 libs = [] 447 libs = []
373 if (is_win) { 448 if (is_win) {
449 sources += [
450 "cursor/cursor_loader_win.cc",
451 "cursor/cursor_loader_win.h",
452 ]
374 deps += [ 453 deps += [
375 "//third_party/wtl", 454 "//third_party/wtl",
376 ] 455 ]
377 cflags = [ 456 cflags = [
378 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int. 457 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int.
379 "/wd4324", # Structure was padded due to __declspec(align()), which is 458 "/wd4324", # Structure was padded due to __declspec(align()), which is
380 # uninteresting. 459 # uninteresting.
381 ] 460 ]
382 ldflags = [ 461 ldflags = [
383 "/DELAYLOAD:d2d1.dll", 462 "/DELAYLOAD:d2d1.dll",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 ] 519 ]
441 if (!is_chromeos) { 520 if (!is_chromeos) {
442 # These Aura X11 files aren't used on ChromeOS. 521 # These Aura X11 files aren't used on ChromeOS.
443 sources += [ 522 sources += [
444 "dragdrop/os_exchange_data_provider_aurax11.cc", 523 "dragdrop/os_exchange_data_provider_aurax11.cc",
445 "dragdrop/os_exchange_data_provider_aurax11.h", 524 "dragdrop/os_exchange_data_provider_aurax11.h",
446 ] 525 ]
447 } 526 }
448 } 527 }
449 } 528 }
529 if (use_ozone) {
530 sources += [
531 "cursor/cursor_loader_ozone.cc",
532 "cursor/cursor_loader_ozone.h",
533 "cursor/cursor_ozone.cc",
534 "cursor/ozone/bitmap_cursor_factory_ozone.cc",
535 "cursor/ozone/bitmap_cursor_factory_ozone.h",
536 ]
537 }
450 538
451 if (!toolkit_views) { 539 if (!toolkit_views) {
452 sources -= [ 540 sources -= [
453 "dragdrop/drag_drop_types.h", 541 "dragdrop/drag_drop_types.h",
454 "dragdrop/drop_target_event.cc", 542 "dragdrop/drop_target_event.cc",
455 "dragdrop/drop_target_event.h", 543 "dragdrop/drop_target_event.h",
456 "dragdrop/os_exchange_data.cc", 544 "dragdrop/os_exchange_data.cc",
457 "dragdrop/os_exchange_data.h", 545 "dragdrop/os_exchange_data.h",
458 "nine_image_painter_factory.cc", 546 "nine_image_painter_factory.cc",
459 "nine_image_painter_factory.h", 547 "nine_image_painter_factory.h",
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", 636 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java",
549 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", 637 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java",
550 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", 638 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java",
551 "../android/java/src/org/chromium/ui/base/TouchDevice.java", 639 "../android/java/src/org/chromium/ui/base/TouchDevice.java",
552 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", 640 "../android/java/src/org/chromium/ui/base/ViewAndroid.java",
553 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", 641 "../android/java/src/org/chromium/ui/base/WindowAndroid.java",
554 ] 642 ]
555 jni_package = "base" 643 jni_package = "base"
556 } 644 }
557 } 645 }
OLDNEW
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/compositor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698