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 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 "../android/java/src/org/chromium/ui/base/TouchDevice.java", | 691 "../android/java/src/org/chromium/ui/base/TouchDevice.java", |
692 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", | 692 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", |
693 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", | 693 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", |
694 ] | 694 ] |
695 jni_package = "base" | 695 jni_package = "base" |
696 } | 696 } |
697 } | 697 } |
698 | 698 |
699 # TODO(GYP): Make this work on Android and reenable it. | 699 # TODO(GYP): Make this work on Android and reenable it. |
700 if (!is_android) { | 700 if (!is_android) { |
| 701 # TODO(tfarina): Rename this target to ui_base_unittests. |
| 702 # In order to do this we will need to keep this target, add a dummy |
| 703 # ui_base_unittests target that just points to ui_unittests, change |
| 704 # buildbot code to reference the new 'ui_base_unittests' target. |
| 705 # After buildbot is updated, we can make the changes in Chromium and |
| 706 # remove 'ui_unittests' target. crbug.com/331829 |
701 # GYP version: ui/base/ui_base_tests.gyp:ui_unittests | 707 # GYP version: ui/base/ui_base_tests.gyp:ui_unittests |
702 test("unittests") { | 708 test("ui_unittests") { |
703 # TODO(tfarina): Rename this target to ui_base_unittests. | |
704 # In order to do this we will need to keep this target, add a dummy | |
705 # ui_base_unittests target that just points to ui_unittests, change | |
706 # buildbot code to reference the new 'ui_base_unittests' target. | |
707 # After buildbot is updated, we can make the changes in Chromium and | |
708 # remove 'ui_unittests' target. crbug.com/331829 | |
709 output_name = "ui_unittests" | |
710 sources = [ | 709 sources = [ |
711 "l10n/l10n_util_mac_unittest.mm", | 710 "l10n/l10n_util_mac_unittest.mm", |
712 "l10n/l10n_util_unittest.cc", | 711 "l10n/l10n_util_unittest.cc", |
713 "l10n/l10n_util_win_unittest.cc", | 712 "l10n/l10n_util_win_unittest.cc", |
714 "l10n/time_format_unittest.cc", | 713 "l10n/time_format_unittest.cc", |
715 "layout_unittest.cc", | 714 "layout_unittest.cc", |
716 "models/tree_node_iterator_unittest.cc", | 715 "models/tree_node_iterator_unittest.cc", |
717 "resource/data_pack_literal.cc", | 716 "resource/data_pack_literal.cc", |
718 "resource/data_pack_unittest.cc", | 717 "resource/data_pack_unittest.cc", |
719 "resource/resource_bundle_unittest.cc", | 718 "resource/resource_bundle_unittest.cc", |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 deps += [ | 889 deps += [ |
891 "//ui/aura:test_support", | 890 "//ui/aura:test_support", |
892 "//ui/events:gesture_detection", | 891 "//ui/events:gesture_detection", |
893 #'../chromeos/chromeos.gyp:chromeos', TODO(GYP) | 892 #'../chromeos/chromeos.gyp:chromeos', TODO(GYP) |
894 #'chromeos/ui_chromeos.gyp:ui_chromeos', | 893 #'chromeos/ui_chromeos.gyp:ui_chromeos', |
895 ] | 894 ] |
896 } | 895 } |
897 } | 896 } |
898 } | 897 } |
899 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk). | 898 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk). |
OLD | NEW |