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

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

Issue 294323002: Add generate_jar_jni template (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (+fix specified output file) Created 6 years, 6 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 | Annotate | Revision Log
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 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 } 8 }
9 9
10 gl_binding_output_dir = target_gen_dir 10 gl_binding_output_dir = target_gen_dir
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 configs += [ "//third_party/khronos:khronos_headers" ] 315 configs += [ "//third_party/khronos:khronos_headers" ]
316 direct_dependent_configs = [ ":gl_unittest_utils_config" ] 316 direct_dependent_configs = [ ":gl_unittest_utils_config" ]
317 317
318 deps = [ 318 deps = [
319 ":gl", 319 ":gl",
320 "//testing/gmock", 320 "//testing/gmock",
321 ] 321 ]
322 } 322 }
323 323
324 if (is_android) { 324 if (is_android) {
325 generate_jar_jni("surface_jni_headers") {
326 jni_package = "ui/gl"
327 classes = [ "android/view/Surface.class" ]
328 }
329
325 generate_jni("gl_jni_headers") { 330 generate_jni("gl_jni_headers") {
331 deps = [ ":surface_jni_headers" ]
332 forward_dependent_configs_from = [ ":surface_jni_headers" ]
326 sources = [ 333 sources = [
327 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 334 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
328 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 335 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
329 ] 336 ]
330 jni_package = "ui/gl" 337 jni_package = "ui/gl"
331 } 338 }
332 } 339 }
OLDNEW
« no previous file with comments | « build/config/android/rules.gni ('k') | ui/snapshot/BUILD.gn » ('j') | ui/snapshot/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698