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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
623 } | 623 } |
624 | 624 |
625 if (is_android || is_ios) { | 625 if (is_android || is_ios) { |
626 sources -= [ "device_form_factor_desktop.cc" ] | 626 sources -= [ "device_form_factor_desktop.cc" ] |
627 } | 627 } |
628 } | 628 } |
629 | 629 |
630 static_library("test_support") { | 630 static_library("test_support") { |
631 testonly = true | 631 testonly = true |
632 sources = [ | 632 sources = [ |
633 "ime/chromeos/mock_input_method_manager.cc", | |
sky
2017/01/04 16:35:52
Shouldn't you only compile these files on chromeos
Azure Wei
2017/01/05 15:41:29
Added these under condition is_chromeos.
| |
634 "ime/chromeos/mock_input_method_manager.h", | |
633 "test/material_design_controller_test_api.cc", | 635 "test/material_design_controller_test_api.cc", |
634 "test/material_design_controller_test_api.h", | 636 "test/material_design_controller_test_api.h", |
635 "test/ui_controls.h", | 637 "test/ui_controls.h", |
636 "test/ui_controls_aura.cc", | 638 "test/ui_controls_aura.cc", |
637 "test/ui_controls_internal_win.cc", | 639 "test/ui_controls_internal_win.cc", |
638 "test/ui_controls_internal_win.h", | 640 "test/ui_controls_internal_win.h", |
639 "test/ui_controls_mac.mm", | 641 "test/ui_controls_mac.mm", |
640 "test/ui_controls_win.cc", | 642 "test/ui_controls_win.cc", |
641 "test/user_interactive_test_case.h", | 643 "test/user_interactive_test_case.h", |
642 ] | 644 ] |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
967 if (is_mac) { | 969 if (is_mac) { |
968 mac_framework_bundle("ui_unittests_framework") { | 970 mac_framework_bundle("ui_unittests_framework") { |
969 testonly = true | 971 testonly = true |
970 deps = [ | 972 deps = [ |
971 "//ui/resources:ui_test_pak_bundle_data", | 973 "//ui/resources:ui_test_pak_bundle_data", |
972 ] | 974 ] |
973 info_plist = "test/framework-Info.plist" | 975 info_plist = "test/framework-Info.plist" |
974 output_name = "ui_unittests Framework" | 976 output_name = "ui_unittests Framework" |
975 } | 977 } |
976 } | 978 } |
OLD | NEW |