summaryrefslogtreecommitdiffstats
path: root/components/external_video_surface.gypi
blob: b6abe3dcd926006b9cf7fcae845db5347ff88c8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'chromium_code': 1
  },
  'targets': [
    {
      'target_name': 'external_video_surface',
      'type': 'static_library',
      'dependencies': [
        '../base/base.gyp:base',
        '../content/content.gyp:content_browser',
        'external_video_surface_jni_headers',
      ],
      'sources': [
        'external_video_surface/browser/android/external_video_surface_container_impl.cc',
        'external_video_surface/browser/android/external_video_surface_container_impl.h',
        'external_video_surface/component_jni_registrar.cc',
        'external_video_surface/component_jni_registrar.h',
      ],
    },
    {
      'target_name': 'external_video_surface_java',
      'type': 'none',
      'dependencies': [
        '../base/base.gyp:base',
        '../content/content.gyp:content_java',
      ],
      'variables': {
        'java_in_dir': 'external_video_surface/android/java',
      },
      'includes': [ '../build/java.gypi' ],
    },
    {
      'target_name': 'external_video_surface_jni_headers',
      'type': 'none',
      'sources': [
        'external_video_surface/android/java/src/org/chromium/components/external_video_surface/ExternalVideoSurfaceContainer.java',
      ],
      'variables': {
        'jni_gen_package': 'external_video_surface',
      },
      'includes': [ '../build/jni_generator.gypi' ],
    },
  ],
}