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

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

Issue 1582613004: Ozone support for multiprocess graphics. (Closed) Base URL: https://github.com/domokit/mojo.git@submit-1
Patch Set: rebase Created 4 years, 9 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 | ui/gfx/native_pixmap_handle_ozone.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 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 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 configs += [ "//build/config/compiler:optimize_max" ] 120 configs += [ "//build/config/compiler:optimize_max" ]
121 } 121 }
122 122
123 deps += [ ":gfx_jni_headers" ] 123 deps += [ ":gfx_jni_headers" ]
124 libs = [ 124 libs = [
125 "android", 125 "android",
126 "jnigraphics", 126 "jnigraphics",
127 ] 127 ]
128 } 128 }
129 129
130 if (use_ozone) {
131 sources += [ "native_pixmap_handle_ozone.h" ]
132 }
133
130 if (use_x11) { 134 if (use_x11) {
131 deps += [ "//ui/gfx/x" ] 135 deps += [ "//ui/gfx/x" ]
132 } 136 }
133 } 137 }
134 138
135 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry 139 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry
136 140
137 source_set("test_support") { 141 source_set("test_support") {
138 testonly = true 142 testonly = true
139 sources = [ 143 sources = [
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 if (is_android) { 219 if (is_android) {
216 generate_jni("gfx_jni_headers") { 220 generate_jni("gfx_jni_headers") {
217 sources = [ 221 sources = [
218 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 222 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
219 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 223 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
220 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 224 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
221 ] 225 ]
222 jni_package = "gfx" 226 jni_package = "gfx"
223 } 227 }
224 } 228 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/native_pixmap_handle_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698