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.cc", |
(...skipping 22 matching lines...) Expand all Loading... | |
33 "//ui/ozone", | 33 "//ui/ozone", |
34 ] | 34 ] |
35 } else { | 35 } else { |
36 sources += [ | 36 sources += [ |
37 "platform_screen_stub.cc", | 37 "platform_screen_stub.cc", |
38 "platform_screen_stub.h", | 38 "platform_screen_stub.h", |
39 ] | 39 ] |
40 } | 40 } |
41 } | 41 } |
42 | 42 |
43 if (use_ozone) { | 43 if (use_ozone && is_chromeos) { |
Tom (Use chromium acct)
2016/11/03 18:17:28
Please add a TODO here to make these tests work on
kylechar
2016/11/03 18:23:55
Screen management is really a Chrome OS only conce
rjkroege
2016/11/04 22:52:44
But... in a future CrOS=0, ozone=1 world, we will
| |
44 test("display_service_unittests") { | 44 test("display_service_unittests") { |
45 sources = [ | 45 sources = [ |
46 "platform_screen_ozone_unittests.cc", | 46 "platform_screen_ozone_unittests.cc", |
47 ] | 47 ] |
48 | 48 |
49 deps = [ | 49 deps = [ |
50 ":display", | 50 ":display", |
51 "//base", | 51 "//base", |
52 "//base/test:run_all_unittests", | 52 "//base/test:run_all_unittests", |
53 "//base/test:test_support", | 53 "//base/test:test_support", |
54 "//testing/gmock", | 54 "//testing/gmock", |
55 "//testing/gtest", | 55 "//testing/gtest", |
56 "//ui/display", | 56 "//ui/display", |
57 "//ui/gfx", | 57 "//ui/gfx", |
58 "//ui/gfx:test_support", | 58 "//ui/gfx:test_support", |
59 "//ui/ozone", | 59 "//ui/ozone", |
60 ] | 60 ] |
61 } | 61 } |
62 } | 62 } |
OLD | NEW |