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

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

Issue 2805633004: Add Mojo NativeDisplayDelegate / NativeDisplayObserver. (Closed)
Patch Set: Change ctor. Created 3 years, 8 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
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) { 24 if (use_ozone) {
25 if (is_chromeos) { 25 if (is_chromeos) {
26 sources += [ 26 sources += [
27 "output_protection.cc", 27 "output_protection.cc",
28 "output_protection.h", 28 "output_protection.h",
29 "screen_manager_forwarding.cc",
30 "screen_manager_forwarding.h",
29 "screen_manager_ozone_internal.cc", 31 "screen_manager_ozone_internal.cc",
30 "screen_manager_ozone_internal.h", 32 "screen_manager_ozone_internal.h",
31 ] 33 ]
32 34
33 deps += [ 35 deps += [
34 "//chromeos", 36 "//chromeos",
35 "//services/ui/public/interfaces/display", 37 "//services/ui/public/interfaces/display",
36 "//skia", 38 "//skia",
37 "//ui/display/manager", 39 "//ui/display/manager",
40 "//ui/display/mojo:interfaces",
38 "//ui/ozone", 41 "//ui/ozone",
39 ] 42 ]
40 } else { 43 } else {
41 sources += [ 44 sources += [
42 "screen_manager_ozone_external.cc", 45 "screen_manager_ozone_external.cc",
43 "screen_manager_ozone_external.h", 46 "screen_manager_ozone_external.h",
44 ] 47 ]
45 } 48 }
46 } else { 49 } else {
47 sources += [ 50 sources += [
(...skipping 23 matching lines...) Expand all
71 "//ui/gfx", 74 "//ui/gfx",
72 "//ui/gfx:test_support", 75 "//ui/gfx:test_support",
73 "//ui/ozone", 76 "//ui/ozone",
74 ] 77 ]
75 78
76 data_deps = [ 79 data_deps = [
77 "//ui/resources:ui_test_pak_data", 80 "//ui/resources:ui_test_pak_data",
78 ] 81 ]
79 } 82 }
80 } 83 }
OLDNEW
« no previous file with comments | « no previous file | services/ui/display/screen_manager_forwarding.h » ('j') | services/ui/display/screen_manager_forwarding.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698