| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |