Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1321)

Side by Side Diff: ui/base/BUILD.gn

Issue 824263004: Move the test template to //testing/test.gni (part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/aura/BUILD.gn ('k') | ui/chromeos/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
7 if (is_android) { 8 if (is_android) {
8 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
10 } 11 }
11 12
12 build_ime = !is_ios 13 build_ime = !is_ios
13 14
14 component("base") { 15 component("base") {
15 output_name = "ui_base" 16 output_name = "ui_base"
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 872
872 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 873 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
873 cflags = [ "/wd4267" ] 874 cflags = [ "/wd4267" ]
874 } 875 }
875 876
876 if (!is_win || !use_aura) { 877 if (!is_win || !use_aura) {
877 sources -= [ "view_prop_unittest.cc" ] 878 sources -= [ "view_prop_unittest.cc" ]
878 } 879 }
879 880
880 if (is_android) { 881 if (is_android) {
881 deps += [ 882 apk_deps = [ "//chrome:resources" ]
882 #"testing/android/native_test.gyp:native_test_native_code" TODO(GYP)
883 ]
884 } 883 }
885 884
886 if (use_pango) { 885 if (use_pango) {
887 configs += [ "//build/config/linux:pangocairo" ] 886 configs += [ "//build/config/linux:pangocairo" ]
888 } 887 }
889 888
890 if (use_x11) { 889 if (use_x11) {
891 sources += [ "cursor/cursor_loader_x11_unittest.cc" ] 890 sources += [ "cursor/cursor_loader_x11_unittest.cc" ]
892 891
893 configs += [ "//build/config/linux:x11" ] 892 configs += [ "//build/config/linux:x11" ]
(...skipping 28 matching lines...) Expand all
922 sources += [ 921 sources += [
923 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc", 922 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc",
924 "x/selection_requestor_unittest.cc", 923 "x/selection_requestor_unittest.cc",
925 ] 924 ]
926 } 925 }
927 926
928 if (is_chromeos) { 927 if (is_chromeos) {
929 deps += [ "//chromeos" ] 928 deps += [ "//chromeos" ]
930 } 929 }
931 } 930 }
932
933 # TODO(GYP) Mac (ui_base_tests_bundle) 931 # TODO(GYP) Mac (ui_base_tests_bundle)
934 if (is_android) {
935 unittest_apk("ui_base_unittests_apk") {
936 unittests_dep = ":ui_base_unittests"
937 deps = [
938 ":ui_base_unittests",
939 "//chrome:resources",
940 ]
941 }
942 }
OLDNEW
« no previous file with comments | « ui/aura/BUILD.gn ('k') | ui/chromeos/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698