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

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

Issue 2697693002: Stub out ScreenManagerOzoneExternal (Closed)
Patch Set: fixed typo Created 3 years, 10 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/screen_manager_ozone_external.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 "screen_manager.cc", 10 "screen_manager.cc",
11 "screen_manager.h", 11 "screen_manager.h",
12 "screen_manager_delegate.h", 12 "screen_manager_delegate.h",
13 "viewport_metrics.cc", 13 "viewport_metrics.cc",
14 "viewport_metrics.h", 14 "viewport_metrics.h",
15 ] 15 ]
16 16
17 deps = [ 17 deps = [
18 "//base", 18 "//base",
19 "//services/service_manager/public/cpp", 19 "//services/service_manager/public/cpp",
20 "//ui/display", 20 "//ui/display",
21 "//ui/gfx", 21 "//ui/gfx",
22 ] 22 ]
23 23
24 if (use_ozone && is_chromeos) { 24 if (use_ozone) {
25 sources += [ 25 if (is_chromeos) {
26 "screen_manager_ozone_internal.cc", 26 sources += [
27 "screen_manager_ozone_internal.h", 27 "screen_manager_ozone_internal.cc",
28 ] 28 "screen_manager_ozone_internal.h",
29 ]
29 30
30 deps += [ 31 deps += [
31 "//chromeos", 32 "//chromeos",
32 "//services/ui/public/interfaces/display", 33 "//services/ui/public/interfaces/display",
33 "//skia", 34 "//skia",
34 "//ui/display/manager", 35 "//ui/display/manager",
35 "//ui/ozone", 36 "//ui/ozone",
36 ] 37 ]
38 } else {
39 sources += [
40 "screen_manager_ozone_external.cc",
41 "screen_manager_ozone_external.h",
42 ]
43 }
37 } else { 44 } else {
38 sources += [ 45 sources += [
39 "screen_manager_stub_internal.cc", 46 "screen_manager_stub_internal.cc",
40 "screen_manager_stub_internal.h", 47 "screen_manager_stub_internal.h",
41 ] 48 ]
42 } 49 }
43 } 50 }
44 51
45 if (use_ozone && is_chromeos) { 52 if (use_ozone && is_chromeos) {
46 test("display_service_unittests") { 53 test("display_service_unittests") {
(...skipping 15 matching lines...) Expand all
62 "//ui/gfx", 69 "//ui/gfx",
63 "//ui/gfx:test_support", 70 "//ui/gfx:test_support",
64 "//ui/ozone", 71 "//ui/ozone",
65 ] 72 ]
66 73
67 data_deps = [ 74 data_deps = [
68 "//ui/resources:ui_test_pak_data", 75 "//ui/resources:ui_test_pak_data",
69 ] 76 ]
70 } 77 }
71 } 78 }
OLDNEW
« no previous file with comments | « no previous file | services/ui/display/screen_manager_ozone_external.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698