OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 | 9 |
10 'targets': [ | 10 'targets': [ |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 'gl_mock.h', | 306 'gl_mock.h', |
307 'gl_mock.cc', | 307 'gl_mock.cc', |
308 '<(gl_binding_output_dir)/gl_mock_autogen_gl.h', | 308 '<(gl_binding_output_dir)/gl_mock_autogen_gl.h', |
309 ], | 309 ], |
310 }, | 310 }, |
311 ], | 311 ], |
312 'conditions': [ | 312 'conditions': [ |
313 ['OS=="android"' , { | 313 ['OS=="android"' , { |
314 'targets': [ | 314 'targets': [ |
315 { | 315 { |
316 'target_name': 'surface_texture_jni_headers', | |
317 'type': 'none', | |
318 'variables': { | |
319 'jni_gen_package': 'ui/gl', | |
320 'input_java_class': 'android/graphics/SurfaceTexture.class', | |
321 }, | |
322 'includes': [ '../../build/jar_file_jni_generator.gypi' ], | |
323 }, | |
324 { | |
325 'target_name': 'surface_jni_headers', | 316 'target_name': 'surface_jni_headers', |
326 'type': 'none', | 317 'type': 'none', |
327 'variables': { | 318 'variables': { |
328 'jni_gen_package': 'ui/gl', | 319 'jni_gen_package': 'ui/gl', |
329 'input_java_class': 'android/view/Surface.class', | 320 'input_java_class': 'android/view/Surface.class', |
330 }, | 321 }, |
331 'includes': [ '../../build/jar_file_jni_generator.gypi' ], | 322 'includes': [ '../../build/jar_file_jni_generator.gypi' ], |
332 }, | 323 }, |
333 { | 324 { |
334 'target_name': 'gl_jni_headers', | 325 'target_name': 'gl_jni_headers', |
335 'type': 'none', | 326 'type': 'none', |
336 'dependencies': [ | 327 'dependencies': [ |
337 'surface_texture_jni_headers', | |
338 'surface_jni_headers', | 328 'surface_jni_headers', |
339 ], | 329 ], |
340 'sources': [ | 330 'sources': [ |
| 331 '../android/java/src/org/chromium/ui/gfx/SurfaceTextureBridge.java', |
341 '../android/java/src/org/chromium/ui/gfx/SurfaceTextureListener.java
', | 332 '../android/java/src/org/chromium/ui/gfx/SurfaceTextureListener.java
', |
342 ], | 333 ], |
343 'variables': { | 334 'variables': { |
344 'jni_gen_package': 'ui/gl', | 335 'jni_gen_package': 'ui/gl', |
345 }, | 336 }, |
346 'includes': [ '../../build/jni_generator.gypi' ], | 337 'includes': [ '../../build/jni_generator.gypi' ], |
347 }, | 338 }, |
348 ], | 339 ], |
349 }], | 340 }], |
350 ], | 341 ], |
351 } | 342 } |
OLD | NEW |