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 | 6 |
7 component("display") { | 7 component("display") { |
8 sources = [ | 8 sources = [ |
9 "chromeos/display_configurator.cc", | 9 "chromeos/display_configurator.cc", |
10 "chromeos/display_configurator.h", | 10 "chromeos/display_configurator.h", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
48 sources -= [ "chromeos/ozone/display_configurator_ozone.cc" ] | 48 sources -= [ "chromeos/ozone/display_configurator_ozone.cc" ] |
49 } | 49 } |
50 } | 50 } |
51 | 51 |
52 if (is_chromeos) { | 52 if (is_chromeos) { |
53 deps += [ "//ui/display/types" ] | 53 deps += [ "//ui/display/types" ] |
54 } | 54 } |
55 | 55 |
56 if (use_ozone) { | 56 if (use_ozone) { |
57 deps += [ "//ui/ozone" ] | 57 deps += [ "//ui/ozone" ] |
58 sources -= [ | 58 if (is_chromeos) { |
Chris Masone
2014/11/04 23:33:16
Ozone is pretty much a replacement for X11, so it
brettw
2014/11/04 23:47:52
These are filtered out in the non-chromeos case by
Chris Masone
2014/11/05 00:53:31
Acknowledged.
| |
59 "chromeos/x11/display_configurator_x11.cc", | 59 sources -= [ |
60 "chromeos/x11/display_mode_x11.cc", | 60 "chromeos/x11/display_configurator_x11.cc", |
61 "chromeos/x11/display_mode_x11.h", | 61 "chromeos/x11/display_mode_x11.cc", |
62 "chromeos/x11/display_snapshot_x11.cc", | 62 "chromeos/x11/display_mode_x11.h", |
63 "chromeos/x11/display_snapshot_x11.h", | 63 "chromeos/x11/display_snapshot_x11.cc", |
64 "chromeos/x11/display_util_x11.cc", | 64 "chromeos/x11/display_snapshot_x11.h", |
65 "chromeos/x11/display_util_x11.h", | 65 "chromeos/x11/display_util_x11.cc", |
66 "chromeos/x11/native_display_delegate_x11.cc", | 66 "chromeos/x11/display_util_x11.h", |
67 "chromeos/x11/native_display_delegate_x11.h", | 67 "chromeos/x11/native_display_delegate_x11.cc", |
68 "chromeos/x11/native_display_event_dispatcher_x11.cc", | 68 "chromeos/x11/native_display_delegate_x11.h", |
69 "chromeos/x11/native_display_event_dispatcher_x11.h", | 69 "chromeos/x11/native_display_event_dispatcher_x11.cc", |
70 ] | 70 "chromeos/x11/native_display_event_dispatcher_x11.h", |
71 ] | |
72 } | |
71 } | 73 } |
72 } | 74 } |
73 | 75 |
74 component("test_util") { | 76 component("test_util") { |
75 output_name = "display_test_util" | 77 output_name = "display_test_util" |
76 sources = [ | 78 sources = [ |
77 "chromeos/test/test_display_snapshot.cc", | 79 "chromeos/test/test_display_snapshot.cc", |
78 "chromeos/test/test_display_snapshot.h", | 80 "chromeos/test/test_display_snapshot.h", |
79 ] | 81 ] |
80 | 82 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
112 "//ui/gfx/geometry", | 114 "//ui/gfx/geometry", |
113 ] | 115 ] |
114 | 116 |
115 if (is_chromeos) { | 117 if (is_chromeos) { |
116 deps += [ | 118 deps += [ |
117 ":display", | 119 ":display", |
118 "//ui/display/types", | 120 "//ui/display/types", |
119 ] | 121 ] |
120 } | 122 } |
121 } | 123 } |
OLD | NEW |