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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
9 "chromeos/display_configurator.cc",
10 "chromeos/display_configurator.h",
11 "chromeos/ozone/display_configurator_ozone.cc",
12 "chromeos/x11/display_configurator_x11.cc",
13 "chromeos/x11/display_mode_x11.cc",
14 "chromeos/x11/display_mode_x11.h",
15 "chromeos/x11/display_snapshot_x11.cc",
16 "chromeos/x11/display_snapshot_x11.h",
17 "chromeos/x11/display_util_x11.cc",
18 "chromeos/x11/display_util_x11.h",
19 "chromeos/x11/native_display_delegate_x11.cc",
20 "chromeos/x11/native_display_delegate_x11.h",
21 "chromeos/x11/native_display_event_dispatcher_x11.cc",
22 "chromeos/x11/native_display_event_dispatcher_x11.h",
24 "display_switches.cc",
28 defines = [ "DISPLAY_IMPLEMENTATION" ]
39 "//build/config/linux:x11",
40 "//build/config/linux:xext",
41 "//build/config/linux:xi",
42 "//build/config/linux:xrandr",
45 "//ui/events/platform",
50 deps += [ "//ui/display/types" ]
54 deps += [ "//ui/ozone" ]
58 component("test_util") {
59 output_name = "display_test_util"
61 "chromeos/test/test_display_snapshot.cc",
62 "chromeos/test/test_display_snapshot.h",
65 defines = [ "DISPLAY_IMPLEMENTATION" ]
77 deps += [ "//ui/display/types" ]
81 test("display_unittests") {
83 "chromeos/display_configurator_unittest.cc",
84 "chromeos/x11/display_util_x11_unittest.cc",
85 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
86 "util/display_util_unittest.cc",
87 "util/edid_parser_unittest.cc",
93 "//base/test:run_all_unittests",
102 "//ui/display/types",