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

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

Issue 2416403002: Reland of Android: support multiple displays on C++ side (Closed)
Patch Set: Rebased and fixed webkit_tests Created 4 years, 1 month 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 | « ui/android/window_android.cc ('k') | ui/display/android/screen_android.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 component("display") { 8 component("display") {
9 sources = [ 9 sources = [
10 "android/screen_android.cc",
11 "chromeos/apply_content_protection_task.cc", 10 "chromeos/apply_content_protection_task.cc",
12 "chromeos/apply_content_protection_task.h", 11 "chromeos/apply_content_protection_task.h",
13 "chromeos/configure_displays_task.cc", 12 "chromeos/configure_displays_task.cc",
14 "chromeos/configure_displays_task.h", 13 "chromeos/configure_displays_task.h",
15 "chromeos/display_configurator.cc", 14 "chromeos/display_configurator.cc",
16 "chromeos/display_configurator.h", 15 "chromeos/display_configurator.h",
17 "chromeos/display_layout_manager.h", 16 "chromeos/display_layout_manager.h",
18 "chromeos/display_snapshot_virtual.cc", 17 "chromeos/display_snapshot_virtual.cc",
19 "chromeos/display_snapshot_virtual.h", 18 "chromeos/display_snapshot_virtual.h",
20 "chromeos/display_util.cc", 19 "chromeos/display_util.cc",
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 deps += [ "//ui/events/platform" ] 109 deps += [ "//ui/events/platform" ]
111 } 110 }
112 111
113 if (use_x11) { 112 if (use_x11) {
114 deps += [ "//ui/gfx/x" ] 113 deps += [ "//ui/gfx/x" ]
115 } 114 }
116 115
117 if (!use_aura) { 116 if (!use_aura) {
118 sources -= [ "screen_aura.cc" ] 117 sources -= [ "screen_aura.cc" ]
119 } 118 }
120 if (is_android && use_aura) { 119
121 sources -= [ "android/screen_android.cc" ]
122 }
123 if (is_mac) { 120 if (is_mac) {
124 libs = [ 121 libs = [
125 "AppKit.framework", 122 "AppKit.framework",
126 "CoreGraphics.framework", 123 "CoreGraphics.framework",
127 ] 124 ]
128 } 125 }
129 } 126 }
130 127
131 component("display_manager_test_api") { 128 component("display_manager_test_api") {
132 testonly = true 129 testonly = true
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 sources -= [ "display_change_notifier_unittest.cc" ] 223 sources -= [ "display_change_notifier_unittest.cc" ]
227 } 224 }
228 225
229 if (is_chromeos && use_ozone) { 226 if (is_chromeos && use_ozone) {
230 sources -= [ 227 sources -= [
231 "chromeos/x11/display_util_x11_unittest.cc", 228 "chromeos/x11/display_util_x11_unittest.cc",
232 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", 229 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
233 ] 230 ]
234 } 231 }
235 } 232 }
OLDNEW
« no previous file with comments | « ui/android/window_android.cc ('k') | ui/display/android/screen_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698