Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / blink_headers.gyp
blob817660ca8f9806b01d93e77f71dac64e5ea0da58
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
3 # found in the LICENSE file.
5     'targets': [
6         {
7             # Depend on this target to use public blink API headers for things
8             # like enums and public structures without actually linking against any Blink
9             # libraries.
10             'target_name': 'blink_headers',
11             'type': 'none',
12             'direct_dependent_settings': {
13               'include_dirs': [ '..' ],
14             },
15             'includes': [ 'blink_headers.gypi' ],
16             'sources': ['<@(blink_public_sources)'],
17         },
18     ],
19     'conditions': [
20         ['OS=="android"', {
21             'targets': [
22                 {
23                     # gn version: //third_party/WebKit/public:blink_headers_java_enums_srcjar
24                     'target_name': 'web_input_event_java',
25                     'type': 'none',
26                     'variables': {
27                         'source_file': 'web/WebInputEvent.h',
28                     },
29                     'includes': [ '../../../build/android/java_cpp_enum.gypi' ],
30                 },
31                 {
32                     # gn version: //third_party/WebKit/public:blink_headers_java_enums_srcjar
33                     'target_name': 'web_text_input_type',
34                     'type': 'none',
35                     'variables': {
36                         'source_file': 'web/WebTextInputType.h',
37                     },
38                     'includes': [ '../../../build/android/java_cpp_enum.gypi' ],
39                 },
40                 {
41                     # gn version: //third_party/WebKit/public:blink_headers_java_enums_srcjar
42                     'target_name': 'web_display_mode',
43                     'type': 'none',
44                     'variables': {
45                         'source_file': 'platform/WebDisplayMode.h',
46                     },
47                     'includes': [ '../../../build/android/java_cpp_enum.gypi' ],
48                 },
49                 {
50                     # gn version: //third_party/WebKit/public:blink_headers_java
51                     'target_name': 'blink_headers_java',
52                     'type': 'none',
53                     'dependencies': [
54                         'web_input_event_java',
55                         'web_text_input_type',
56                         'web_display_mode',
57                     ],
58                     'variables': {
59                         'java_in_dir': '../../../build/android/empty',
60                     },
61                     'includes': [ '../../../build/java.gypi' ],
62                 },
63             ],
64         }],
65     ],