Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: services/ui/display/BUILD.gn

Issue 2317073003: Rename PlatformScreen implementations. (Closed)
Patch Set: Fix tests. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | services/ui/display/platform_screen_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.h", 10 "platform_screen.h",
11 "platform_screen_delegate.h", 11 "platform_screen_delegate.h",
12 ] 12 ]
13 13
14 deps = [ 14 deps = [
15 "//base", 15 "//base",
16 "//ui/display", 16 "//ui/display",
17 "//ui/gfx", 17 "//ui/gfx",
18 ] 18 ]
19 19
20 if (use_ozone && is_chromeos) { 20 if (use_ozone && is_chromeos) {
21 sources += [ 21 sources += [
22 "platform_screen_impl_ozone.cc", 22 "platform_screen_ozone.cc",
23 "platform_screen_impl_ozone.h", 23 "platform_screen_ozone.h",
24 ] 24 ]
25 25
26 deps += [ 26 deps += [
27 "//skia", 27 "//skia",
28 "//ui/ozone:ozone", 28 "//ui/ozone",
29 ] 29 ]
30 } else { 30 } else {
31 sources += [ 31 sources += [
32 "platform_screen_impl.cc", 32 "platform_screen_stub.cc",
33 "platform_screen_impl.h", 33 "platform_screen_stub.h",
34 ] 34 ]
35 } 35 }
36 } 36 }
37 37
38 if (use_ozone) { 38 if (use_ozone) {
39 test("display_service_unittests") { 39 test("display_service_unittests") {
40 sources = [ 40 sources = [
41 "platform_screen_ozone_unittests.cc", 41 "platform_screen_ozone_unittests.cc",
42 ] 42 ]
43 43
44 deps = [ 44 deps = [
45 ":display", 45 ":display",
46 "//base", 46 "//base",
47 "//base/test:run_all_unittests", 47 "//base/test:run_all_unittests",
48 "//base/test:test_support", 48 "//base/test:test_support",
49 "//testing/gmock", 49 "//testing/gmock",
50 "//testing/gtest", 50 "//testing/gtest",
51 "//ui/display", 51 "//ui/display",
52 "//ui/gfx", 52 "//ui/gfx",
53 "//ui/gfx:test_support", 53 "//ui/gfx:test_support",
54 "//ui/ozone", 54 "//ui/ozone",
55 ] 55 ]
56 } 56 }
57 } 57 }
OLDNEW
« no previous file with comments | « no previous file | services/ui/display/platform_screen_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698