forked from crosswalk-project/blink-crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblink_headers.gyp
55 lines (54 loc) · 2.03 KB
/
blink_headers.gyp
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
# 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': [ '..' ],
},
},
],
'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
'target_name': 'blink_headers_java',
'type': 'none',
'dependencies': [
'web_input_event_java',
'web_text_input_type',
],
'variables': {
'java_in_dir': '../../../build/android/empty',
},
'includes': [ '../../../build/java.gypi' ],
},
],
}],
],
}