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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_chromeos) { | 8 if (use_cros_fe) { |
9 component("display") { | 9 component("display") { |
10 sources = [ | 10 sources = [ |
11 "chromeos/apply_content_protection_task.cc", | 11 "chromeos/apply_content_protection_task.cc", |
12 "chromeos/apply_content_protection_task.h", | 12 "chromeos/apply_content_protection_task.h", |
13 "chromeos/configure_displays_task.cc", | 13 "chromeos/configure_displays_task.cc", |
14 "chromeos/configure_displays_task.h", | 14 "chromeos/configure_displays_task.h", |
15 "chromeos/display_configurator.cc", | 15 "chromeos/display_configurator.cc", |
16 "chromeos/display_configurator.h", | 16 "chromeos/display_configurator.h", |
17 "chromeos/display_layout_manager.h", | 17 "chromeos/display_layout_manager.h", |
18 "chromeos/display_util.cc", | 18 "chromeos/display_util.cc", |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 ] | 152 ] |
153 | 153 |
154 deps = [ | 154 deps = [ |
155 "//base", | 155 "//base", |
156 "//base/test:run_all_unittests", | 156 "//base/test:run_all_unittests", |
157 "//testing/gtest", | 157 "//testing/gtest", |
158 "//ui/display/util", | 158 "//ui/display/util", |
159 "//ui/gfx/geometry", | 159 "//ui/gfx/geometry", |
160 ] | 160 ] |
161 | 161 |
162 if (is_chromeos) { | 162 if (use_cros_fe) { |
163 deps += [ | 163 deps += [ |
164 ":display", | 164 ":display", |
165 ":test_support", | 165 ":test_support", |
166 ":test_util", | 166 ":test_util", |
167 "//base/test:test_support", | 167 "//base/test:test_support", |
168 "//ui/display/types", | 168 "//ui/display/types", |
169 ] | 169 ] |
170 } | 170 } |
171 | 171 |
172 if (use_ozone && is_chromeos) { | 172 if (use_ozone && use_cros_fe) { |
173 sources -= [ | 173 sources -= [ |
174 "chromeos/x11/display_util_x11_unittest.cc", | 174 "chromeos/x11/display_util_x11_unittest.cc", |
175 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 175 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
176 ] | 176 ] |
177 } | 177 } |
178 } | 178 } |
OLD | NEW |