OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 source_set("display") { | 8 source_set("display") { |
9 sources = [ | 9 sources = [ |
| 10 "platform_screen.cc", |
10 "platform_screen.h", | 11 "platform_screen.h", |
11 "platform_screen_delegate.h", | 12 "platform_screen_delegate.h", |
12 ] | 13 ] |
13 | 14 |
14 deps = [ | 15 deps = [ |
15 "//base", | 16 "//base", |
16 "//ui/display", | 17 "//ui/display", |
17 "//ui/gfx", | 18 "//ui/gfx", |
18 ] | 19 ] |
19 | 20 |
20 if (use_ozone && is_chromeos) { | 21 if (use_ozone && is_chromeos) { |
21 sources += [ | 22 sources += [ |
22 "platform_screen_ozone.cc", | 23 "platform_screen_ozone.cc", |
23 "platform_screen_ozone.h", | 24 "platform_screen_ozone.h", |
24 ] | 25 ] |
25 | 26 |
26 deps += [ | 27 deps += [ |
| 28 "//services/ui/public/interfaces/display", |
27 "//skia", | 29 "//skia", |
28 "//ui/ozone", | 30 "//ui/ozone", |
29 ] | 31 ] |
30 } else { | 32 } else { |
31 sources += [ | 33 sources += [ |
32 "platform_screen_stub.cc", | 34 "platform_screen_stub.cc", |
33 "platform_screen_stub.h", | 35 "platform_screen_stub.h", |
34 ] | 36 ] |
35 } | 37 } |
36 } | 38 } |
(...skipping 11 matching lines...) Expand all Loading... |
48 "//base/test:test_support", | 50 "//base/test:test_support", |
49 "//testing/gmock", | 51 "//testing/gmock", |
50 "//testing/gtest", | 52 "//testing/gtest", |
51 "//ui/display", | 53 "//ui/display", |
52 "//ui/gfx", | 54 "//ui/gfx", |
53 "//ui/gfx:test_support", | 55 "//ui/gfx:test_support", |
54 "//ui/ozone", | 56 "//ui/ozone", |
55 ] | 57 ] |
56 } | 58 } |
57 } | 59 } |
OLD | NEW |