summaryrefslogtreecommitdiffstats
path: root/components/web_contents_delegate_android.gypi
blob: 00a55e0a2cfd04a50bdaee631995882654507c48 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Copyright (c) 2012 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.

{
  'conditions': [
    ['OS=="android"', {
      'targets': [
        {
          'target_name': 'web_contents_delegate_android',
          'type': 'static_library',
          'dependencies': [
            '../base/base.gyp:base',
            '../content/content.gyp:content_browser',
            '../content/content.gyp:content_common',
            '../net/net.gyp:net',
            '../skia/skia.gyp:skia',
            '../ui/ui.gyp:ui',
            '../webkit/support/webkit_support.gyp:glue',
            'web_contents_delegate_android_jni_headers',
          ],
          'include_dirs': [
            '..',
            '../skia/config',
            '<(SHARED_INTERMEDIATE_DIR)/web_contents_delegate_android',
          ],
          'sources': [
            'web_contents_delegate_android/color_chooser_android.cc',
            'web_contents_delegate_android/color_chooser_android.h',
            'web_contents_delegate_android/component_jni_registrar.cc',
            'web_contents_delegate_android/component_jni_registrar.h',
            'web_contents_delegate_android/web_contents_delegate_android.cc',
            'web_contents_delegate_android/web_contents_delegate_android.h',
          ],
        },
        {
          'target_name': 'web_contents_delegate_android_java',
          'type': 'none',
          'dependencies': [
            '../base/base.gyp:base',
            '../content/content.gyp:content_java',
          ],
          'variables': {
            'package_name': 'web_contents_delegate_android',
            'java_in_dir': 'web_contents_delegate_android/android/java',
          },
          'includes': [ '../build/java.gypi' ],
        },
        {
          'target_name': 'web_contents_delegate_android_jni_headers',
          'type': 'none',
          'sources': [
            'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java',
            'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java',
          ],
          'variables': {
            'jni_gen_dir': 'web_contents_delegate_android',
          },
          'includes': [ '../build/jni_generator.gypi' ],
        },
      ],
    }],
  ],
}