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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 import("//ui/base/ui_features.gni") | 10 import("//ui/base/ui_features.gni") |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 "default_theme_provider_mac.mm", | 158 "default_theme_provider_mac.mm", |
159 "device_form_factor.h", | 159 "device_form_factor.h", |
160 "device_form_factor_android.cc", | 160 "device_form_factor_android.cc", |
161 "device_form_factor_desktop.cc", | 161 "device_form_factor_desktop.cc", |
162 "device_form_factor_ios.mm", | 162 "device_form_factor_ios.mm", |
163 "dragdrop/drag_drop_types.h", | 163 "dragdrop/drag_drop_types.h", |
164 "dragdrop/drag_drop_types_mac.mm", | 164 "dragdrop/drag_drop_types_mac.mm", |
165 "dragdrop/drag_drop_types_win.cc", | 165 "dragdrop/drag_drop_types_win.cc", |
166 "dragdrop/drag_source_win.cc", | 166 "dragdrop/drag_source_win.cc", |
167 "dragdrop/drag_source_win.h", | 167 "dragdrop/drag_source_win.h", |
168 "dragdrop/drag_utils_win.cc", | |
169 "dragdrop/drop_target_event.cc", | 168 "dragdrop/drop_target_event.cc", |
170 "dragdrop/drop_target_event.h", | 169 "dragdrop/drop_target_event.h", |
171 "dragdrop/drop_target_win.cc", | 170 "dragdrop/drop_target_win.cc", |
172 "dragdrop/drop_target_win.h", | 171 "dragdrop/drop_target_win.h", |
173 "dragdrop/os_exchange_data.cc", | 172 "dragdrop/os_exchange_data.cc", |
174 "dragdrop/os_exchange_data.h", | 173 "dragdrop/os_exchange_data.h", |
175 "dragdrop/os_exchange_data_provider_builder_mac.h", | 174 "dragdrop/os_exchange_data_provider_builder_mac.h", |
176 "dragdrop/os_exchange_data_provider_builder_mac.mm", | 175 "dragdrop/os_exchange_data_provider_builder_mac.mm", |
177 "dragdrop/os_exchange_data_provider_factory.cc", | 176 "dragdrop/os_exchange_data_provider_factory.cc", |
178 "dragdrop/os_exchange_data_provider_factory.h", | 177 "dragdrop/os_exchange_data_provider_factory.h", |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 "cursor/cursor_util.cc", | 331 "cursor/cursor_util.cc", |
333 "cursor/cursor_util.h", | 332 "cursor/cursor_util.h", |
334 "cursor/cursors_aura.cc", | 333 "cursor/cursors_aura.cc", |
335 "cursor/cursors_aura.h", | 334 "cursor/cursors_aura.h", |
336 "cursor/image_cursors.cc", | 335 "cursor/image_cursors.cc", |
337 "cursor/image_cursors.h", | 336 "cursor/image_cursors.h", |
338 "default_theme_provider.cc", | 337 "default_theme_provider.cc", |
339 "default_theme_provider.h", | 338 "default_theme_provider.h", |
340 "dragdrop/cocoa_dnd_util.h", | 339 "dragdrop/cocoa_dnd_util.h", |
341 "dragdrop/cocoa_dnd_util.mm", | 340 "dragdrop/cocoa_dnd_util.mm", |
342 "dragdrop/drag_utils.cc", | |
343 "dragdrop/drag_utils.h", | |
344 "dragdrop/file_info.cc", | 341 "dragdrop/file_info.cc", |
345 "dragdrop/file_info.h", | 342 "dragdrop/file_info.h", |
346 "idle/idle.cc", | 343 "idle/idle.cc", |
347 "idle/idle.h", | 344 "idle/idle.h", |
348 "idle/idle_android.cc", | 345 "idle/idle_android.cc", |
349 "idle/idle_chromeos.cc", | 346 "idle/idle_chromeos.cc", |
350 "idle/idle_linux.cc", | 347 "idle/idle_linux.cc", |
351 "idle/idle_mac.mm", | 348 "idle/idle_mac.mm", |
352 "idle/idle_win.cc", | 349 "idle/idle_win.cc", |
353 "text/bytes_formatting.cc", | 350 "text/bytes_formatting.cc", |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 | 478 |
482 if (use_glib) { | 479 if (use_glib) { |
483 configs += [ "//build/config/linux:glib" ] | 480 configs += [ "//build/config/linux:glib" ] |
484 sources += [ | 481 sources += [ |
485 "glib/glib_integers.h", | 482 "glib/glib_integers.h", |
486 "glib/glib_signal.h", | 483 "glib/glib_signal.h", |
487 "glib/scoped_gobject.h", | 484 "glib/scoped_gobject.h", |
488 ] | 485 ] |
489 } | 486 } |
490 | 487 |
491 if (is_linux) { | |
492 if (!toolkit_views && !use_aura) { | |
493 sources -= [ | |
494 "dragdrop/drag_utils.cc", | |
495 "dragdrop/drag_utils.h", | |
496 ] | |
497 } | |
498 } | |
499 | |
500 if (is_chromeos) { | 488 if (is_chromeos) { |
501 deps += [ "//chromeos" ] | 489 deps += [ "//chromeos" ] |
502 sources -= [ "idle/idle_linux.cc" ] | 490 sources -= [ "idle/idle_linux.cc" ] |
503 } | 491 } |
504 | 492 |
505 if (is_chromeos || (use_aura && ((is_linux && !use_x11) || is_android))) { | 493 if (is_chromeos || (use_aura && ((is_linux && !use_x11) || is_android))) { |
506 sources += [ | 494 sources += [ |
507 "dragdrop/os_exchange_data_provider_aura.cc", | 495 "dragdrop/os_exchange_data_provider_aura.cc", |
508 "dragdrop/os_exchange_data_provider_aura.h", | 496 "dragdrop/os_exchange_data_provider_aura.h", |
509 ] | 497 ] |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 | 587 |
600 libs += [ "jnigraphics" ] | 588 libs += [ "jnigraphics" ] |
601 } | 589 } |
602 | 590 |
603 if (is_android && !use_aura) { | 591 if (is_android && !use_aura) { |
604 sources -= [ | 592 sources -= [ |
605 "cursor/cursor_android.cc", | 593 "cursor/cursor_android.cc", |
606 "cursor/image_cursors.cc", | 594 "cursor/image_cursors.cc", |
607 "cursor/image_cursors.h", | 595 "cursor/image_cursors.h", |
608 "default_theme_provider.cc", | 596 "default_theme_provider.cc", |
609 "dragdrop/drag_utils.cc", | |
610 "dragdrop/drag_utils.h", | |
611 "idle/idle.cc", | 597 "idle/idle.cc", |
612 "idle/idle.h", | 598 "idle/idle.h", |
613 "idle/idle_android.cc", | 599 "idle/idle_android.cc", |
614 "l10n/l10n_font_util.cc", | 600 "l10n/l10n_font_util.cc", |
615 "models/button_menu_item_model.cc", | 601 "models/button_menu_item_model.cc", |
616 "models/dialog_model.cc", | 602 "models/dialog_model.cc", |
617 "theme_provider.cc", | 603 "theme_provider.cc", |
618 "touch/touch_editing_controller.cc", | 604 "touch/touch_editing_controller.cc", |
619 "ui_base_types.cc", | 605 "ui_base_types.cc", |
620 ] | 606 ] |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 if (is_mac) { | 986 if (is_mac) { |
1001 mac_framework_bundle("ui_unittests_framework") { | 987 mac_framework_bundle("ui_unittests_framework") { |
1002 testonly = true | 988 testonly = true |
1003 deps = [ | 989 deps = [ |
1004 "//ui/resources:ui_test_pak_bundle_data", | 990 "//ui/resources:ui_test_pak_bundle_data", |
1005 ] | 991 ] |
1006 info_plist = "test/framework-Info.plist" | 992 info_plist = "test/framework-Info.plist" |
1007 output_name = "ui_unittests Framework" | 993 output_name = "ui_unittests Framework" |
1008 } | 994 } |
1009 } | 995 } |
OLD | NEW |