summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/public/blink_headers.gyp
blob: aa69e3cfe3450d57b521859cc7132e1e97299df2 (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
66
67
68
69
70
# Copyright 2014 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.
{
    'targets': [
        {
            # Depend on this target to use public blink API headers for things
            # like enums and public structures without actually linking against any Blink
            # libraries.
            'target_name': 'blink_headers',
            'type': 'none',
            'direct_dependent_settings': {
              'include_dirs': [
                '..',
                '<(SHARED_INTERMEDIATE_DIR)/third_party/WebKit',
              ],
            },
            'includes': [ 'blink_headers.gypi' ],
            'sources': ['<@(blink_public_sources)'],
        },
    ],
    'conditions': [
        ['OS=="android"', {
            'targets': [
                {
                    # gn version: //third_party/WebKit/public:blink_headers_java_enums_srcjar
                    'target_name': 'web_input_event_java',
                    'type': 'none',
                    'variables': {
                        'source_file': 'web/WebInputEvent.h',
                    },
                    'includes': [ '../../../build/android/java_cpp_enum.gypi' ],
                },
                {
                    # gn version: //third_party/WebKit/public:blink_headers_java_enums_srcjar
                    'target_name': 'web_text_input_type',
                    'type': 'none',
                    'variables': {
                        'source_file': 'web/WebTextInputType.h',
                    },
                    'includes': [ '../../../build/android/java_cpp_enum.gypi' ],
                },
                {
                    # gn version: //third_party/WebKit/public:blink_headers_java_enums_srcjar
                    'target_name': 'web_display_mode',
                    'type': 'none',
                    'variables': {
                        'source_file': 'platform/WebDisplayMode.h',
                    },
                    'includes': [ '../../../build/android/java_cpp_enum.gypi' ],
                },
                {
                    # gn version: //third_party/WebKit/public:blink_headers_java
                    'target_name': 'blink_headers_java',
                    'type': 'none',
                    'dependencies': [
                        'web_input_event_java',
                        'web_text_input_type',
                        'web_display_mode',
                    ],
                    'variables': {
                        'java_in_dir': '../../../build/android/empty',
                    },
                    'includes': [ '../../../build/java.gypi' ],
                },
            ],
        }],
    ],
}