| 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 component("display") { | 8 component("display") { |
| 9 sources = [ | 9 sources = [ |
| 10 "chromeos/configure_displays_task.cc", | 10 "chromeos/configure_displays_task.cc", |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 "chromeos/test/action_logger_util.h", | 113 "chromeos/test/action_logger_util.h", |
| 114 "chromeos/test/test_native_display_delegate.cc", | 114 "chromeos/test/test_native_display_delegate.cc", |
| 115 "chromeos/test/test_native_display_delegate.h", | 115 "chromeos/test/test_native_display_delegate.h", |
| 116 ] | 116 ] |
| 117 | 117 |
| 118 public_deps = [ | 118 public_deps = [ |
| 119 ":display", | 119 ":display", |
| 120 ] | 120 ] |
| 121 deps = [ | 121 deps = [ |
| 122 "//base", | 122 "//base", |
| 123 "//ui/display/types", |
| 123 "//ui/gfx", | 124 "//ui/gfx", |
| 124 "//ui/gfx/geometry", | 125 "//ui/gfx/geometry", |
| 125 ] | 126 ] |
| 126 } | 127 } |
| 127 | 128 |
| 128 test("display_unittests") { | 129 test("display_unittests") { |
| 129 sources = [ | 130 sources = [ |
| 130 "chromeos/configure_displays_task_unittest.cc", | 131 "chromeos/configure_displays_task_unittest.cc", |
| 131 "chromeos/display_configurator_unittest.cc", | 132 "chromeos/display_configurator_unittest.cc", |
| 132 "chromeos/update_display_configuration_task_unittest.cc", | 133 "chromeos/update_display_configuration_task_unittest.cc", |
| 133 "chromeos/x11/display_util_x11_unittest.cc", | 134 "chromeos/x11/display_util_x11_unittest.cc", |
| 134 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 135 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 135 "util/display_util_unittest.cc", | 136 "util/display_util_unittest.cc", |
| 136 "util/edid_parser_unittest.cc", | 137 "util/edid_parser_unittest.cc", |
| 137 ] | 138 ] |
| 138 | 139 |
| 139 deps = [ | 140 deps = [ |
| 140 ":test_util", | 141 ":test_util", |
| 141 "//base", | 142 "//base", |
| 142 "//base/test:run_all_unittests", | 143 "//base/test:run_all_unittests", |
| 143 "//testing/gtest", | 144 "//testing/gtest", |
| 144 "//ui/display/util", | 145 "//ui/display/util", |
| 145 "//ui/gfx/geometry", | 146 "//ui/gfx/geometry", |
| 146 ] | 147 ] |
| 147 | 148 |
| 148 if (is_chromeos) { | 149 if (is_chromeos) { |
| 149 deps += [ | 150 deps += [ |
| 150 ":display", | 151 ":display", |
| 151 ":test_support", | 152 ":test_support", |
| 153 "//base/test:test_support", |
| 152 "//ui/display/types", | 154 "//ui/display/types", |
| 153 ] | 155 ] |
| 154 } | 156 } |
| 155 | 157 |
| 156 if (use_ozone && is_chromeos) { | 158 if (use_ozone && is_chromeos) { |
| 157 sources -= [ | 159 sources -= [ |
| 158 "chromeos/x11/display_util_x11_unittest.cc", | 160 "chromeos/x11/display_util_x11_unittest.cc", |
| 159 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 161 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 160 ] | 162 ] |
| 161 } | 163 } |
| 162 } | 164 } |
| OLD | NEW |