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

Unified Diff: ui/display/BUILD.gn

Issue 2416403002: Reland of Android: support multiple displays on C++ side (Closed)
Patch Set: JNI generated and registered in ui/android; ensure primary DisplayAndroid by going to app context 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 side-by-side diff with in-line comments
Download patch
Index: ui/display/BUILD.gn
diff --git a/ui/display/BUILD.gn b/ui/display/BUILD.gn
index 6ecdbc6d9658f9744156cfef9734701a2e877800..e5eed0640618b09b9fbe9d7c3f6be2fcc4542e8f 100644
--- a/ui/display/BUILD.gn
+++ b/ui/display/BUILD.gn
@@ -7,7 +7,8 @@ import("//testing/test.gni")
component("display") {
sources = [
- "android/screen_android.cc",
+ "android/display_android_manager.cc",
+ "android/display_android_manager.h",
"chromeos/apply_content_protection_task.cc",
"chromeos/apply_content_protection_task.h",
"chromeos/configure_displays_task.cc",
@@ -86,6 +87,10 @@ component("display") {
"//ui/gfx/geometry",
]
+ if (is_android) {
+ deps += [ "//ui//android:ui_android_jni_headers" ]
+ }
+
if (is_chromeos && use_x11) {
sources += [
"chromeos/x11/display_mode_x11.cc",
@@ -117,9 +122,7 @@ component("display") {
if (!use_aura) {
sources -= [ "screen_aura.cc" ]
}
- if (is_android && use_aura) {
- sources -= [ "android/screen_android.cc" ]
- }
+
if (is_mac) {
libs = [
"AppKit.framework",

Powered by Google App Engine
This is Rietveld 408576698