Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| 11 } | 11 } |
| 12 | 12 |
| 13 build_ime = !is_ios | 13 build_ime = !is_ios |
| 14 | 14 |
| 15 component("base") { | 15 component("base") { |
| 16 output_name = "ui_base" | 16 output_name = "ui_base" |
| 17 sources = [ | 17 sources = [ |
| 18 "accelerators/accelerator.cc", | |
| 19 "accelerators/accelerator.h", | |
| 20 "accelerators/accelerator_history.cc", | |
| 21 "accelerators/accelerator_history.h", | |
| 22 "accelerators/accelerator_manager.cc", | |
| 23 "accelerators/accelerator_manager.h", | |
| 24 "accelerators/menu_label_accelerator_util_linux.cc", | 18 "accelerators/menu_label_accelerator_util_linux.cc", |
| 25 "accelerators/menu_label_accelerator_util_linux.h", | 19 "accelerators/menu_label_accelerator_util_linux.h", |
| 26 "accelerators/platform_accelerator.h", | 20 "accelerators/platform_accelerator.h", |
| 27 "accelerators/platform_accelerator_cocoa.h", | 21 "accelerators/platform_accelerator_cocoa.h", |
| 28 "accelerators/platform_accelerator_cocoa.mm", | 22 "accelerators/platform_accelerator_cocoa.mm", |
| 29 "android/ui_base_jni_registrar.cc", | 23 "android/ui_base_jni_registrar.cc", |
| 30 "android/ui_base_jni_registrar.h", | 24 "android/ui_base_jni_registrar.h", |
| 31 "base_window.cc", | |
| 32 "base_window.h", | |
| 33 "clipboard/clipboard.cc", | |
| 34 "clipboard/clipboard.h", | |
| 35 "clipboard/clipboard_android.cc", | 25 "clipboard/clipboard_android.cc", |
| 36 "clipboard/clipboard_android.h", | 26 "clipboard/clipboard_android.h", |
| 37 "clipboard/clipboard_constants.cc", | |
| 38 "clipboard/clipboard_mac.h", | 27 "clipboard/clipboard_mac.h", |
| 39 "clipboard/clipboard_mac.mm", | 28 "clipboard/clipboard_mac.mm", |
| 40 "clipboard/clipboard_types.h", | 29 "clipboard/clipboard_types.h", |
| 41 "clipboard/clipboard_util_win.cc", | 30 "clipboard/clipboard_util_win.cc", |
| 42 "clipboard/clipboard_util_win.h", | 31 "clipboard/clipboard_util_win.h", |
| 43 "clipboard/clipboard_win.cc", | 32 "clipboard/clipboard_win.cc", |
| 44 "clipboard/clipboard_win.h", | 33 "clipboard/clipboard_win.h", |
| 45 "clipboard/custom_data_helper.cc", | |
| 46 "clipboard/custom_data_helper.h", | |
| 47 "clipboard/custom_data_helper_linux.cc", | 34 "clipboard/custom_data_helper_linux.cc", |
| 48 "clipboard/custom_data_helper_mac.mm", | 35 "clipboard/custom_data_helper_mac.mm", |
| 49 "clipboard/scoped_clipboard_writer.cc", | |
| 50 "clipboard/scoped_clipboard_writer.h", | |
| 51 "cocoa/animation_utils.h", | 36 "cocoa/animation_utils.h", |
| 52 "cocoa/appkit_utils.h", | 37 "cocoa/appkit_utils.h", |
| 53 "cocoa/appkit_utils.mm", | 38 "cocoa/appkit_utils.mm", |
| 54 "cocoa/base_view.h", | 39 "cocoa/base_view.h", |
| 55 "cocoa/base_view.mm", | 40 "cocoa/base_view.mm", |
| 56 "cocoa/cocoa_base_utils.h", | 41 "cocoa/cocoa_base_utils.h", |
| 57 "cocoa/cocoa_base_utils.mm", | 42 "cocoa/cocoa_base_utils.mm", |
| 58 "cocoa/constrained_window/constrained_window_animation.h", | 43 "cocoa/constrained_window/constrained_window_animation.h", |
| 59 "cocoa/constrained_window/constrained_window_animation.mm", | 44 "cocoa/constrained_window/constrained_window_animation.mm", |
| 60 "cocoa/controls/blue_label_button.h", | 45 "cocoa/controls/blue_label_button.h", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 100 "cocoa/underlay_opengl_hosting_window.h", | 85 "cocoa/underlay_opengl_hosting_window.h", |
| 101 "cocoa/underlay_opengl_hosting_window.mm", | 86 "cocoa/underlay_opengl_hosting_window.mm", |
| 102 "cocoa/view_description.h", | 87 "cocoa/view_description.h", |
| 103 "cocoa/view_description.mm", | 88 "cocoa/view_description.mm", |
| 104 "cocoa/window_size_constants.h", | 89 "cocoa/window_size_constants.h", |
| 105 "cocoa/window_size_constants.mm", | 90 "cocoa/window_size_constants.mm", |
| 106 "cursor/cursor.cc", | 91 "cursor/cursor.cc", |
| 107 "cursor/cursor.h", | 92 "cursor/cursor.h", |
| 108 "cursor/cursor_android.cc", | 93 "cursor/cursor_android.cc", |
| 109 "cursor/cursor_loader.h", | 94 "cursor/cursor_loader.h", |
| 110 "cursor/cursor_util.cc", | |
| 111 "cursor/cursor_util.h", | |
| 112 "cursor/cursor_win.cc", | 95 "cursor/cursor_win.cc", |
| 113 "cursor/cursors_aura.cc", | |
| 114 "cursor/cursors_aura.h", | |
| 115 "cursor/image_cursors.cc", | |
| 116 "cursor/image_cursors.h", | |
| 117 "default_theme_provider.cc", | |
| 118 "default_theme_provider.h", | |
| 119 "default_theme_provider_mac.mm", | 96 "default_theme_provider_mac.mm", |
| 120 "device_form_factor.h", | 97 "device_form_factor.h", |
| 121 "device_form_factor_android.cc", | 98 "device_form_factor_android.cc", |
| 122 "device_form_factor_android.h", | 99 "device_form_factor_android.h", |
| 123 "device_form_factor_desktop.cc", | 100 "device_form_factor_desktop.cc", |
| 124 "device_form_factor_ios.mm", | 101 "device_form_factor_ios.mm", |
| 125 "dragdrop/cocoa_dnd_util.h", | |
| 126 "dragdrop/cocoa_dnd_util.mm", | |
| 127 "dragdrop/drag_drop_types.h", | 102 "dragdrop/drag_drop_types.h", |
| 128 "dragdrop/drag_drop_types_win.cc", | 103 "dragdrop/drag_drop_types_win.cc", |
| 129 "dragdrop/drag_source_win.cc", | 104 "dragdrop/drag_source_win.cc", |
| 130 "dragdrop/drag_source_win.h", | 105 "dragdrop/drag_source_win.h", |
| 131 "dragdrop/drag_utils.cc", | |
| 132 "dragdrop/drag_utils.h", | |
| 133 "dragdrop/drag_utils_aura.cc", | 106 "dragdrop/drag_utils_aura.cc", |
| 134 "dragdrop/drag_utils_mac.mm", | 107 "dragdrop/drag_utils_mac.mm", |
| 135 "dragdrop/drag_utils_win.cc", | 108 "dragdrop/drag_utils_win.cc", |
| 136 "dragdrop/drop_target_event.cc", | 109 "dragdrop/drop_target_event.cc", |
| 137 "dragdrop/drop_target_event.h", | 110 "dragdrop/drop_target_event.h", |
| 138 "dragdrop/drop_target_win.cc", | 111 "dragdrop/drop_target_win.cc", |
| 139 "dragdrop/drop_target_win.h", | 112 "dragdrop/drop_target_win.h", |
| 140 "dragdrop/file_info.cc", | |
| 141 "dragdrop/file_info.h", | |
| 142 "dragdrop/os_exchange_data.cc", | 113 "dragdrop/os_exchange_data.cc", |
| 143 "dragdrop/os_exchange_data.h", | 114 "dragdrop/os_exchange_data.h", |
| 144 "dragdrop/os_exchange_data_provider_mac.h", | 115 "dragdrop/os_exchange_data_provider_mac.h", |
| 145 "dragdrop/os_exchange_data_provider_mac.mm", | 116 "dragdrop/os_exchange_data_provider_mac.mm", |
| 146 "dragdrop/os_exchange_data_provider_win.cc", | 117 "dragdrop/os_exchange_data_provider_win.cc", |
| 147 "dragdrop/os_exchange_data_provider_win.h", | 118 "dragdrop/os_exchange_data_provider_win.h", |
| 148 "hit_test.h", | 119 "hit_test.h", |
| 149 "idle/idle.cc", | 120 "idle/idle.cc", |
| 150 "idle/idle.h", | 121 "idle/idle.h", |
| 151 "idle/idle_chromeos.cc", | 122 "idle/idle_chromeos.cc", |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 170 "l10n/l10n_util_plurals.cc", | 141 "l10n/l10n_util_plurals.cc", |
| 171 "l10n/l10n_util_plurals.h", | 142 "l10n/l10n_util_plurals.h", |
| 172 "l10n/l10n_util_posix.cc", | 143 "l10n/l10n_util_posix.cc", |
| 173 "l10n/l10n_util_win.cc", | 144 "l10n/l10n_util_win.cc", |
| 174 "l10n/l10n_util_win.h", | 145 "l10n/l10n_util_win.h", |
| 175 "l10n/time_format.cc", | 146 "l10n/time_format.cc", |
| 176 "l10n/time_format.h", | 147 "l10n/time_format.h", |
| 177 "layout.cc", | 148 "layout.cc", |
| 178 "layout.h", | 149 "layout.h", |
| 179 "layout_mac.mm", | 150 "layout_mac.mm", |
| 180 "models/button_menu_item_model.cc", | |
| 181 "models/button_menu_item_model.h", | |
| 182 "models/combobox_model.cc", | |
| 183 "models/combobox_model.h", | |
| 184 "models/combobox_model_observer.h", | 151 "models/combobox_model_observer.h", |
| 185 "models/dialog_model.cc", | |
| 186 "models/dialog_model.h", | |
| 187 "models/list_model.h", | 152 "models/list_model.h", |
| 188 "models/list_model_observer.h", | 153 "models/list_model_observer.h", |
| 189 "models/list_selection_model.cc", | |
| 190 "models/list_selection_model.h", | |
| 191 "models/menu_model.cc", | |
| 192 "models/menu_model.h", | |
| 193 "models/menu_model_delegate.h", | 154 "models/menu_model_delegate.h", |
| 194 "models/menu_separator_types.h", | 155 "models/menu_separator_types.h", |
| 195 "models/simple_combobox_model.cc", | |
| 196 "models/simple_combobox_model.h", | |
| 197 "models/simple_menu_model.cc", | |
| 198 "models/simple_menu_model.h", | |
| 199 "models/table_model.cc", | |
| 200 "models/table_model.h", | |
| 201 "models/table_model_observer.h", | 156 "models/table_model_observer.h", |
| 202 "models/tree_model.cc", | |
| 203 "models/tree_model.h", | |
| 204 "models/tree_node_iterator.h", | 157 "models/tree_node_iterator.h", |
| 205 "models/tree_node_model.h", | 158 "models/tree_node_model.h", |
| 206 "nine_image_painter_factory.cc", | 159 "nine_image_painter_factory.cc", |
| 207 "nine_image_painter_factory.h", | 160 "nine_image_painter_factory.h", |
| 208 "page_transition_types.cc", | 161 "page_transition_types.cc", |
| 209 "page_transition_types.h", | 162 "page_transition_types.h", |
| 210 "resource/data_pack.cc", | 163 "resource/data_pack.cc", |
| 211 "resource/data_pack.h", | 164 "resource/data_pack.h", |
| 212 "resource/material_design/material_design_controller.cc", | 165 "resource/material_design/material_design_controller.cc", |
| 213 "resource/material_design/material_design_controller.h", | 166 "resource/material_design/material_design_controller.h", |
| 214 "resource/resource_bundle.cc", | 167 "resource/resource_bundle.cc", |
| 215 "resource/resource_bundle.h", | 168 "resource/resource_bundle.h", |
| 216 "resource/resource_bundle_android.cc", | 169 "resource/resource_bundle_android.cc", |
| 217 "resource/resource_bundle_auralinux.cc", | 170 "resource/resource_bundle_auralinux.cc", |
| 218 "resource/resource_bundle_ios.mm", | 171 "resource/resource_bundle_ios.mm", |
| 219 "resource/resource_bundle_mac.mm", | 172 "resource/resource_bundle_mac.mm", |
| 220 "resource/resource_bundle_win.cc", | 173 "resource/resource_bundle_win.cc", |
| 221 "resource/resource_bundle_win.h", | 174 "resource/resource_bundle_win.h", |
| 222 "resource/resource_data_dll_win.cc", | 175 "resource/resource_data_dll_win.cc", |
| 223 "resource/resource_data_dll_win.h", | 176 "resource/resource_data_dll_win.h", |
| 224 "resource/resource_handle.h", | 177 "resource/resource_handle.h", |
| 225 "template_expressions.cc", | 178 "template_expressions.cc", |
| 226 "template_expressions.h", | 179 "template_expressions.h", |
| 227 "text/bytes_formatting.cc", | |
| 228 "text/bytes_formatting.h", | |
| 229 "theme_provider.cc", | |
| 230 "theme_provider.h", | |
| 231 "touch/selection_bound.cc", | |
| 232 "touch/selection_bound.h", | |
| 233 "touch/touch_device.h", | 180 "touch/touch_device.h", |
| 234 "touch/touch_editing_controller.cc", | |
| 235 "touch/touch_editing_controller.h", | |
| 236 "touch/touch_enabled.cc", | |
| 237 "touch/touch_enabled.h", | |
| 238 "ui_base_export.h", | 181 "ui_base_export.h", |
| 239 "ui_base_exports.cc", | 182 "ui_base_exports.cc", |
| 240 "ui_base_paths.cc", | 183 "ui_base_paths.cc", |
| 241 "ui_base_paths.h", | 184 "ui_base_paths.h", |
| 242 "ui_base_switches.cc", | 185 "ui_base_switches.cc", |
| 243 "ui_base_switches.h", | 186 "ui_base_switches.h", |
| 244 "ui_base_switches_util.cc", | 187 "ui_base_switches_util.cc", |
| 245 "ui_base_switches_util.h", | 188 "ui_base_switches_util.h", |
| 246 "ui_base_types.cc", | 189 "ui_base_types.cc", |
| 247 "ui_base_types.h", | 190 "ui_base_types.h", |
| 248 "user_activity/user_activity_detector.cc", | |
| 249 "user_activity/user_activity_detector.h", | |
| 250 "user_activity/user_activity_observer.h", | |
| 251 "view_prop.cc", | 191 "view_prop.cc", |
| 252 "view_prop.h", | 192 "view_prop.h", |
| 253 "webui/jstemplate_builder.cc", | 193 "webui/jstemplate_builder.cc", |
| 254 "webui/jstemplate_builder.h", | 194 "webui/jstemplate_builder.h", |
| 255 "webui/web_ui_util.cc", | 195 "webui/web_ui_util.cc", |
| 256 "webui/web_ui_util.h", | 196 "webui/web_ui_util.h", |
| 257 "win/accessibility_ids_win.h", | 197 "win/accessibility_ids_win.h", |
| 258 "win/accessibility_misc_utils.cc", | 198 "win/accessibility_misc_utils.cc", |
| 259 "win/accessibility_misc_utils.h", | 199 "win/accessibility_misc_utils.h", |
| 260 "win/atl_module.h", | 200 "win/atl_module.h", |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 280 "win/shell.h", | 220 "win/shell.h", |
| 281 "win/touch_input.cc", | 221 "win/touch_input.cc", |
| 282 "win/touch_input.h", | 222 "win/touch_input.h", |
| 283 "win/window_event_target.cc", | 223 "win/window_event_target.cc", |
| 284 "win/window_event_target.h", | 224 "win/window_event_target.h", |
| 285 "window_open_disposition.cc", | 225 "window_open_disposition.cc", |
| 286 "window_open_disposition.h", | 226 "window_open_disposition.h", |
| 287 "work_area_watcher_observer.h", | 227 "work_area_watcher_observer.h", |
| 288 ] | 228 ] |
| 289 | 229 |
| 230 if (!is_ios) { | |
| 231 sources = [ | |
|
Dirk Pranke
2015/08/06 17:40:12
this needs to be at least "sources += ["
We shoul
| |
| 232 "accelerators/accelerator.cc", | |
| 233 "accelerators/accelerator.h", | |
| 234 "accelerators/accelerator_history.cc", | |
| 235 "accelerators/accelerator_history.h", | |
| 236 "accelerators/accelerator_manager.cc", | |
| 237 "accelerators/accelerator_manager.h", | |
| 238 "base_window.cc", | |
| 239 "base_window.h", | |
| 240 "clipboard/clipboard.cc", | |
| 241 "clipboard/clipboard.h", | |
| 242 "clipboard/clipboard_constants.cc", | |
| 243 "clipboard/custom_data_helper.cc", | |
| 244 "clipboard/custom_data_helper.h", | |
| 245 "clipboard/scoped_clipboard_writer.cc", | |
| 246 "clipboard/scoped_clipboard_writer.h", | |
| 247 "cursor/cursor_util.cc", | |
| 248 "cursor/cursor_util.h", | |
| 249 "cursor/cursors_aura.cc", | |
| 250 "cursor/cursors_aura.h", | |
| 251 "cursor/image_cursors.cc", | |
| 252 "cursor/image_cursors.h", | |
| 253 "default_theme_provider.cc", | |
| 254 "default_theme_provider.h", | |
| 255 "dragdrop/cocoa_dnd_util.h", | |
| 256 "dragdrop/cocoa_dnd_util.mm", | |
| 257 "dragdrop/drag_utils.cc", | |
| 258 "dragdrop/drag_utils.h", | |
| 259 "dragdrop/file_info.cc", | |
| 260 "dragdrop/file_info.h", | |
| 261 "models/button_menu_item_model.cc", | |
| 262 "models/button_menu_item_model.h", | |
| 263 "models/combobox_model.cc", | |
| 264 "models/combobox_model.h", | |
| 265 "models/dialog_model.cc", | |
| 266 "models/dialog_model.h", | |
| 267 "models/list_selection_model.cc", | |
| 268 "models/list_selection_model.h", | |
| 269 "models/menu_model.cc", | |
| 270 "models/menu_model.h", | |
| 271 "models/simple_combobox_model.cc", | |
| 272 "models/simple_combobox_model.h", | |
| 273 "models/simple_menu_model.cc", | |
| 274 "models/simple_menu_model.h", | |
| 275 "models/table_model.cc", | |
| 276 "models/table_model.h", | |
| 277 "models/tree_model.cc", | |
| 278 "models/tree_model.h", | |
| 279 "text/bytes_formatting.cc", | |
| 280 "text/bytes_formatting.h", | |
| 281 "theme_provider.cc", | |
| 282 "theme_provider.h", | |
| 283 "touch/selection_bound.cc", | |
| 284 "touch/selection_bound.h", | |
| 285 "touch/touch_editing_controller.cc", | |
| 286 "touch/touch_editing_controller.h", | |
| 287 "touch/touch_enabled.cc", | |
| 288 "touch/touch_enabled.h", | |
| 289 "user_activity/user_activity_detector.cc", | |
| 290 "user_activity/user_activity_detector.h", | |
| 291 ] | |
| 292 } | |
| 293 | |
| 290 if (is_win) { | 294 if (is_win) { |
| 291 sources += [ "touch/touch_device_win.cc" ] | 295 sources += [ "touch/touch_device_win.cc" ] |
| 292 } else if (is_android) { | 296 } else if (is_android) { |
| 293 sources += [ "touch/touch_device_android.cc" ] | 297 sources += [ "touch/touch_device_android.cc" ] |
| 294 } else if (is_ios) { | 298 } else if (is_ios) { |
| 295 sources += [ "touch/touch_device_ios.cc" ] | 299 sources += [ "touch/touch_device_ios.cc" ] |
| 296 } else if (is_linux) { | 300 } else if (is_linux) { |
| 297 sources += [ "touch/touch_device_linux.cc" ] | 301 sources += [ "touch/touch_device_linux.cc" ] |
| 298 } else { | 302 } else { |
| 299 # Empty implementation for all other cases. | 303 # Empty implementation for all other cases. |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 319 "//base:i18n", | 323 "//base:i18n", |
| 320 "//net", | 324 "//net", |
| 321 "//third_party/icu", | 325 "//third_party/icu", |
| 322 "//ui/events", | 326 "//ui/events", |
| 323 "//ui/events/devices", | 327 "//ui/events/devices", |
| 324 "//ui/resources", | 328 "//ui/resources", |
| 325 "//ui/strings", | 329 "//ui/strings", |
| 326 "//url", | 330 "//url", |
| 327 ] | 331 ] |
| 328 | 332 |
| 329 if (is_ios) { | |
| 330 sources += [ | |
| 331 "l10n/l10n_util_mac.h", | |
| 332 "l10n/l10n_util_mac.mm", | |
| 333 ] | |
| 334 } | |
| 335 | |
| 336 if (toolkit_views) { | 333 if (toolkit_views) { |
| 337 deps += [ "//ui/events" ] | 334 deps += [ "//ui/events" ] |
| 338 } | 335 } |
| 339 | 336 |
| 340 if (use_x11 && use_aura) { | 337 if (use_x11 && use_aura) { |
| 341 sources += [ | 338 sources += [ |
| 342 "x/selection_owner.cc", | 339 "x/selection_owner.cc", |
| 343 "x/selection_owner.h", | 340 "x/selection_owner.h", |
| 344 "x/selection_requestor.cc", | 341 "x/selection_requestor.cc", |
| 345 "x/selection_requestor.h", | 342 "x/selection_requestor.h", |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 560 "device_form_factor_desktop.cc", | 557 "device_form_factor_desktop.cc", |
| 561 "idle/idle.cc", | 558 "idle/idle.cc", |
| 562 "idle/idle.h", | 559 "idle/idle.h", |
| 563 ] | 560 ] |
| 564 } | 561 } |
| 565 } | 562 } |
| 566 | 563 |
| 567 source_set("test_support") { | 564 source_set("test_support") { |
| 568 testonly = true | 565 testonly = true |
| 569 sources = [ | 566 sources = [ |
| 567 "test/ios/keyboard_appearance_listener.h", | |
| 568 "test/ios/keyboard_appearance_listener.mm", | |
| 569 "test/ios/ui_view_test_utils.h", | |
| 570 "test/ios/ui_view_test_utils.mm", | |
| 570 "test/material_design_controller_test_api.cc", | 571 "test/material_design_controller_test_api.cc", |
| 571 "test/material_design_controller_test_api.h", | 572 "test/material_design_controller_test_api.h", |
| 572 "test/nswindow_fullscreen_notification_waiter.h", | |
| 573 "test/nswindow_fullscreen_notification_waiter.mm", | |
| 574 "test/scoped_fake_nswindow_fullscreen.h", | 573 "test/scoped_fake_nswindow_fullscreen.h", |
| 575 "test/scoped_fake_nswindow_fullscreen.mm", | 574 "test/scoped_fake_nswindow_fullscreen.mm", |
| 576 "test/test_clipboard.cc", | 575 "test/test_clipboard.cc", |
| 577 "test/test_clipboard.h", | 576 "test/test_clipboard.h", |
| 578 "test/ui_controls.h", | 577 "test/ui_controls.h", |
| 579 "test/ui_controls_aura.cc", | 578 "test/ui_controls_aura.cc", |
| 580 "test/ui_controls_internal_win.cc", | 579 "test/ui_controls_internal_win.cc", |
| 581 "test/ui_controls_internal_win.h", | 580 "test/ui_controls_internal_win.h", |
| 582 "test/ui_controls_mac.mm", | 581 "test/ui_controls_mac.mm", |
| 583 "test/ui_controls_win.cc", | 582 "test/ui_controls_win.cc", |
| 584 "test/windowed_nsnotification_observer.h", | |
| 585 "test/windowed_nsnotification_observer.mm", | |
| 586 ] | 583 ] |
| 584 if (!is_ios) { | |
| 585 sources += [ | |
| 586 "test/nswindow_fullscreen_notification_waiter.h", | |
| 587 "test/nswindow_fullscreen_notification_waiter.mm", | |
| 588 "test/windowed_nsnotification_observer.h", | |
| 589 "test/windowed_nsnotification_observer.mm", | |
| 590 ] | |
| 591 } | |
| 587 | 592 |
| 588 public_deps = [ | 593 public_deps = [ |
| 589 ":base", | 594 ":base", |
| 590 ] | 595 ] |
| 591 deps = [ | 596 deps = [ |
| 592 "//base", | 597 "//base", |
| 593 "//skia", | 598 "//skia", |
| 594 "//testing/gtest", | 599 "//testing/gtest", |
| 595 "//ui/events:events_base", | 600 "//ui/events:events_base", |
| 596 "//ui/gfx", | 601 "//ui/gfx", |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 647 "l10n/l10n_util_unittest.cc", | 652 "l10n/l10n_util_unittest.cc", |
| 648 "l10n/l10n_util_win_unittest.cc", | 653 "l10n/l10n_util_win_unittest.cc", |
| 649 "l10n/time_format_unittest.cc", | 654 "l10n/time_format_unittest.cc", |
| 650 "layout_unittest.cc", | 655 "layout_unittest.cc", |
| 651 "models/tree_node_iterator_unittest.cc", | 656 "models/tree_node_iterator_unittest.cc", |
| 652 "resource/data_pack_literal.cc", | 657 "resource/data_pack_literal.cc", |
| 653 "resource/data_pack_unittest.cc", | 658 "resource/data_pack_unittest.cc", |
| 654 "resource/material_design/material_design_controller_unittest.cc", | 659 "resource/material_design/material_design_controller_unittest.cc", |
| 655 "resource/resource_bundle_unittest.cc", | 660 "resource/resource_bundle_unittest.cc", |
| 656 "template_expressions_unittest.cc", | 661 "template_expressions_unittest.cc", |
| 662 "test/data/resource.h", | |
| 657 "test/run_all_unittests.cc", | 663 "test/run_all_unittests.cc", |
| 658 "test/scoped_fake_nswindow_fullscreen_unittest.mm", | 664 "test/scoped_fake_nswindow_fullscreen_unittest.mm", |
| 659 "test/test_clipboard_unittest.cc", | 665 "test/test_clipboard_unittest.cc", |
| 660 "user_activity/user_activity_detector_unittest.cc", | 666 "user_activity/user_activity_detector_unittest.cc", |
| 661 ] | 667 ] |
| 662 | 668 |
| 663 data = [] | 669 data = [] |
| 664 data_deps = [] | 670 data_deps = [] |
| 665 | 671 |
| 666 if (is_android) { | 672 if (is_android) { |
| 667 sources -= [ "user_activity/user_activity_detector_unittest.cc" ] | 673 sources -= [ "user_activity/user_activity_detector_unittest.cc" ] |
| 668 } | 674 } |
| 675 sources += [ "test/data/resource.h" ] | |
| 669 | 676 |
| 670 if (is_ios) { | 677 if (is_ios) { |
| 671 # Compile this Mac file on iOS as well. | 678 # Compile these Mac files on iOS as well. |
| 672 set_sources_assignment_filter([]) | 679 set_sources_assignment_filter([]) |
| 673 sources += [ "l10n/l10n_util_mac_unittest.mm" ] | 680 sources += [ |
| 681 "l10n/l10n_util_mac.h", | |
| 682 "l10n/l10n_util_mac.mm", | |
| 683 "l10n/l10n_util_mac_unittest.mm", | |
| 684 ] | |
| 674 set_sources_assignment_filter(sources_assignment_filter) | 685 set_sources_assignment_filter(sources_assignment_filter) |
| 675 } else { # !is_ios | 686 } else { # !is_ios |
| 676 sources += [ | 687 sources += [ |
| 677 "accelerators/accelerator_manager_unittest.cc", | 688 "accelerators/accelerator_manager_unittest.cc", |
| 678 "accelerators/menu_label_accelerator_util_linux_unittest.cc", | 689 "accelerators/menu_label_accelerator_util_linux_unittest.cc", |
| 679 "clipboard/custom_data_helper_unittest.cc", | 690 "clipboard/custom_data_helper_unittest.cc", |
| 680 "cocoa/base_view_unittest.mm", | 691 "cocoa/base_view_unittest.mm", |
| 681 "cocoa/cocoa_base_utils_unittest.mm", | 692 "cocoa/cocoa_base_utils_unittest.mm", |
| 682 "cocoa/constrained_window/constrained_window_animation_unittest.mm", | 693 "cocoa/constrained_window/constrained_window_animation_unittest.mm", |
| 683 "cocoa/controls/blue_label_button_unittest.mm", | 694 "cocoa/controls/blue_label_button_unittest.mm", |
| 684 "cocoa/controls/hover_image_menu_button_unittest.mm", | 695 "cocoa/controls/hover_image_menu_button_unittest.mm", |
| 685 "cocoa/controls/hyperlink_button_cell_unittest.mm", | 696 "cocoa/controls/hyperlink_button_cell_unittest.mm", |
| 686 "cocoa/controls/hyperlink_text_view_unittest.mm", | 697 "cocoa/controls/hyperlink_text_view_unittest.mm", |
| 687 "cocoa/focus_tracker_unittest.mm", | 698 "cocoa/focus_tracker_unittest.mm", |
| 688 "cocoa/fullscreen_window_manager_unittest.mm", | 699 "cocoa/fullscreen_window_manager_unittest.mm", |
| 689 "cocoa/hover_image_button_unittest.mm", | 700 "cocoa/hover_image_button_unittest.mm", |
| 690 "cocoa/menu_controller_unittest.mm", | 701 "cocoa/menu_controller_unittest.mm", |
| 691 "cocoa/nsgraphics_context_additions_unittest.mm", | 702 "cocoa/nsgraphics_context_additions_unittest.mm", |
| 692 "cocoa/nsview_additions_unittest.mm", | 703 "cocoa/nsview_additions_unittest.mm", |
| 693 "cocoa/three_part_image_unittest.mm", | 704 "cocoa/three_part_image_unittest.mm", |
| 694 "cocoa/tracking_area_unittest.mm", | 705 "cocoa/tracking_area_unittest.mm", |
| 695 "models/list_model_unittest.cc", | 706 "models/list_model_unittest.cc", |
| 696 "models/list_selection_model_unittest.cc", | 707 "models/list_selection_model_unittest.cc", |
| 697 "models/tree_node_model_unittest.cc", | 708 "models/tree_node_model_unittest.cc", |
| 698 "test/data/resource.h", | |
| 699 "text/bytes_formatting_unittest.cc", | 709 "text/bytes_formatting_unittest.cc", |
| 700 "touch/selection_bound_unittest.cc", | 710 "touch/selection_bound_unittest.cc", |
| 701 "webui/web_ui_util_unittest.cc", | 711 "webui/web_ui_util_unittest.cc", |
| 702 ] | 712 ] |
| 703 } | 713 } |
| 704 | 714 |
| 705 if (build_ime) { | 715 if (build_ime) { |
| 706 sources += [ | 716 sources += [ |
| 707 "ime/candidate_window_unittest.cc", | 717 "ime/candidate_window_unittest.cc", |
| 708 "ime/chromeos/character_composer_unittest.cc", | 718 "ime/chromeos/character_composer_unittest.cc", |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 853 } | 863 } |
| 854 if (is_mac) { | 864 if (is_mac) { |
| 855 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] | 865 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] |
| 856 | 866 |
| 857 if (is_asan && symbol_level == 0) { | 867 if (is_asan && symbol_level == 0) { |
| 858 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] | 868 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] |
| 859 } | 869 } |
| 860 } | 870 } |
| 861 } | 871 } |
| 862 # TODO(GYP) Mac (ui_base_tests_bundle) | 872 # TODO(GYP) Mac (ui_base_tests_bundle) |
| OLD | NEW |