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

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

Issue 1258753002: Add yet more GN isolates ... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isolates_4_2
Patch Set: add missing display_unittests_run target Created 5 years, 5 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
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 import("//testing/test.gni")
7 7
8 if (is_chromeos) { 8 if (is_chromeos) {
9 component("display") { 9 component("display") {
10 sources = [ 10 sources = [
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 ] 120 ]
121 deps = [ 121 deps = [
122 "//base", 122 "//base",
123 "//ui/display/types", 123 "//ui/display/types",
124 "//ui/gfx", 124 "//ui/gfx",
125 "//ui/gfx/geometry", 125 "//ui/gfx/geometry",
126 ] 126 ]
127 } 127 }
128 } 128 }
129 129
130 # TODO(GYP): Delete this after we've converted everything to GN.
131 # The _run targets exist only for compatibility w/ GYP.
132 group("display_unittests_run") {
133 testonly = true
134 deps = [
135 ":display_unittests",
136 ]
137 }
138
130 # This test covers the ChromeOS "display" target as well as the cross-platform 139 # This test covers the ChromeOS "display" target as well as the cross-platform
131 # //display/util target. 140 # //display/util target.
132 test("display_unittests") { 141 test("display_unittests") {
133 sources = [ 142 sources = [
134 "chromeos/apply_content_protection_task_unittest.cc", 143 "chromeos/apply_content_protection_task_unittest.cc",
135 "chromeos/configure_displays_task_unittest.cc", 144 "chromeos/configure_displays_task_unittest.cc",
136 "chromeos/display_configurator_unittest.cc", 145 "chromeos/display_configurator_unittest.cc",
137 "chromeos/query_content_protection_task_unittest.cc", 146 "chromeos/query_content_protection_task_unittest.cc",
138 "chromeos/update_display_configuration_task_unittest.cc", 147 "chromeos/update_display_configuration_task_unittest.cc",
139 "chromeos/x11/display_util_x11_unittest.cc", 148 "chromeos/x11/display_util_x11_unittest.cc",
(...skipping 20 matching lines...) Expand all
160 ] 169 ]
161 } 170 }
162 171
163 if (use_ozone && is_chromeos) { 172 if (use_ozone && is_chromeos) {
164 sources -= [ 173 sources -= [
165 "chromeos/x11/display_util_x11_unittest.cc", 174 "chromeos/x11/display_util_x11_unittest.cc",
166 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", 175 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
167 ] 176 ]
168 } 177 }
169 } 178 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698