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/compiler/compiler.gni") | 5 import("//build/config/compiler/compiler.gni") |
6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 | 9 |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", | 654 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", |
655 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", | 655 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", |
656 "../android/java/src/org/chromium/ui/base/ResourceBundle.java", | 656 "../android/java/src/org/chromium/ui/base/ResourceBundle.java", |
657 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", | 657 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", |
658 "../android/java/src/org/chromium/ui/base/TouchDevice.java", | 658 "../android/java/src/org/chromium/ui/base/TouchDevice.java", |
659 ] | 659 ] |
660 jni_package = "base" | 660 jni_package = "base" |
661 } | 661 } |
662 } | 662 } |
663 | 663 |
664 # | |
665 # TODO(GYP): Delete this after we've converted everything to GN. | |
666 # The _run targets exist only for compatibility w/ GYP. | |
667 group("ui_base_unittests_run") { | |
668 testonly = true | |
669 deps = [ | |
670 ":ui_base_unittests", | |
671 ] | |
672 } | |
673 | |
674 # GYP version: ui/base/ui_base_tests.gyp:ui_base_unittests | 664 # GYP version: ui/base/ui_base_tests.gyp:ui_base_unittests |
675 test("ui_base_unittests") { | 665 test("ui_base_unittests") { |
676 sources = [ | 666 sources = [ |
677 "ios/cru_context_menu_controller_unittest.mm", | 667 "ios/cru_context_menu_controller_unittest.mm", |
678 "l10n/l10n_util_mac_unittest.mm", | 668 "l10n/l10n_util_mac_unittest.mm", |
679 "l10n/l10n_util_unittest.cc", | 669 "l10n/l10n_util_unittest.cc", |
680 "l10n/l10n_util_win_unittest.cc", | 670 "l10n/l10n_util_win_unittest.cc", |
681 "l10n/time_format_unittest.cc", | 671 "l10n/time_format_unittest.cc", |
682 "layout_unittest.cc", | 672 "layout_unittest.cc", |
683 "material_design/material_design_controller_unittest.cc", | 673 "material_design/material_design_controller_unittest.cc", |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 } | 883 } |
894 if (is_mac) { | 884 if (is_mac) { |
895 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] | 885 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] |
896 | 886 |
897 if (is_asan && symbol_level == 0) { | 887 if (is_asan && symbol_level == 0) { |
898 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] | 888 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] |
899 } | 889 } |
900 } | 890 } |
901 } | 891 } |
902 # TODO(GYP) Mac (ui_base_tests_bundle) | 892 # TODO(GYP) Mac (ui_base_tests_bundle) |
OLD | NEW |