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") |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 ] | 407 ] |
408 } | 408 } |
409 | 409 |
410 libs = [] | 410 libs = [] |
411 if (is_win) { | 411 if (is_win) { |
412 sources += [ | 412 sources += [ |
413 "cursor/cursor_loader_win.cc", | 413 "cursor/cursor_loader_win.cc", |
414 "cursor/cursor_loader_win.h", | 414 "cursor/cursor_loader_win.h", |
415 ] | 415 ] |
416 deps += [ "//third_party/wtl" ] | 416 deps += [ "//third_party/wtl" ] |
417 cflags = [ | 417 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w
hich is |
418 "/wd4324", # Structure was padded due to __declspec(align()), which is | 418 # uninteresting. |
419 # uninteresting. | 419 |
420 ] | |
421 ldflags = [ | 420 ldflags = [ |
422 "/DELAYLOAD:d2d1.dll", | 421 "/DELAYLOAD:d2d1.dll", |
423 "/DELAYLOAD:d3d10_1.dll", | 422 "/DELAYLOAD:d3d10_1.dll", |
424 "/DELAYLOAD:dwmapi.dll", | 423 "/DELAYLOAD:dwmapi.dll", |
425 ] | 424 ] |
426 libs += [ | 425 libs += [ |
427 "d2d1.lib", | 426 "d2d1.lib", |
428 "d3d10_1.lib", | 427 "d3d10_1.lib", |
429 "dwmapi.lib", | 428 "dwmapi.lib", |
430 "d2d1.lib", | 429 "d2d1.lib", |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 | 644 |
646 if (is_ios) { | 645 if (is_ios) { |
647 # Compile this Mac file on iOS as well. | 646 # Compile this Mac file on iOS as well. |
648 set_sources_assignment_filter([]) | 647 set_sources_assignment_filter([]) |
649 sources += [ "l10n/l10n_util_mac_unittest.mm" ] | 648 sources += [ "l10n/l10n_util_mac_unittest.mm" ] |
650 set_sources_assignment_filter(sources_assignment_filter) | 649 set_sources_assignment_filter(sources_assignment_filter) |
651 } else { # !is_ios | 650 } else { # !is_ios |
652 sources += [ | 651 sources += [ |
653 "accelerators/accelerator_manager_unittest.cc", | 652 "accelerators/accelerator_manager_unittest.cc", |
654 "accelerators/menu_label_accelerator_util_linux_unittest.cc", | 653 "accelerators/menu_label_accelerator_util_linux_unittest.cc", |
| 654 "clipboard/clipboard_unittest.cc", |
655 "clipboard/custom_data_helper_unittest.cc", | 655 "clipboard/custom_data_helper_unittest.cc", |
656 "cocoa/base_view_unittest.mm", | 656 "cocoa/base_view_unittest.mm", |
657 "cocoa/cocoa_base_utils_unittest.mm", | 657 "cocoa/cocoa_base_utils_unittest.mm", |
658 "cocoa/controls/blue_label_button_unittest.mm", | 658 "cocoa/controls/blue_label_button_unittest.mm", |
659 "cocoa/controls/hover_image_menu_button_unittest.mm", | 659 "cocoa/controls/hover_image_menu_button_unittest.mm", |
660 "cocoa/controls/hyperlink_button_cell_unittest.mm", | 660 "cocoa/controls/hyperlink_button_cell_unittest.mm", |
661 "cocoa/controls/hyperlink_text_view_unittest.mm", | 661 "cocoa/controls/hyperlink_text_view_unittest.mm", |
662 "cocoa/focus_tracker_unittest.mm", | 662 "cocoa/focus_tracker_unittest.mm", |
663 "cocoa/fullscreen_window_manager_unittest.mm", | 663 "cocoa/fullscreen_window_manager_unittest.mm", |
664 "cocoa/hover_image_button_unittest.mm", | 664 "cocoa/hover_image_button_unittest.mm", |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 } | 801 } |
802 | 802 |
803 if (is_chromeos) { | 803 if (is_chromeos) { |
804 deps += [ | 804 deps += [ |
805 "//chromeos", | 805 "//chromeos", |
806 "//ui/events:dom4_keycode_converter", | 806 "//ui/events:dom4_keycode_converter", |
807 ] | 807 ] |
808 } | 808 } |
809 } | 809 } |
810 # TODO(GYP) Mac (ui_base_tests_bundle) | 810 # TODO(GYP) Mac (ui_base_tests_bundle) |
OLD | NEW |