OLD | NEW |
| (Empty) |
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. | |
4 { | |
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 '<(SHARED_INTERMEDIATE_DIR)/third_party/WebKit', | |
16 ], | |
17 }, | |
18 'includes': [ 'blink_headers.gypi' ], | |
19 'sources': ['<@(blink_public_sources)'], | |
20 }, | |
21 ], | |
22 'conditions': [ | |
23 ['OS=="android"', { | |
24 'targets': [ | |
25 { | |
26 # gn version: //third_party/WebKit/public:blink_headers_java
_enums_srcjar | |
27 'target_name': 'web_input_event_java', | |
28 'type': 'none', | |
29 'variables': { | |
30 'source_file': 'platform/WebInputEvent.h', | |
31 }, | |
32 'includes': [ '../../../build/android/java_cpp_enum.gypi' ], | |
33 }, | |
34 { | |
35 # gn version: //third_party/WebKit/public:blink_headers_java
_enums_srcjar | |
36 'target_name': 'web_text_input_type', | |
37 'type': 'none', | |
38 'variables': { | |
39 'source_file': 'web/WebTextInputType.h', | |
40 }, | |
41 'includes': [ '../../../build/android/java_cpp_enum.gypi' ], | |
42 }, | |
43 { | |
44 # gn version: //third_party/WebKit/public:blink_headers_java
_enums_srcjar | |
45 'target_name': 'web_display_mode', | |
46 'type': 'none', | |
47 'variables': { | |
48 'source_file': 'platform/WebDisplayMode.h', | |
49 }, | |
50 'includes': [ '../../../build/android/java_cpp_enum.gypi' ], | |
51 }, | |
52 { | |
53 # gn version: //third_party/WebKit/public:blink_headers_java | |
54 'target_name': 'blink_headers_java', | |
55 'type': 'none', | |
56 'dependencies': [ | |
57 'web_input_event_java', | |
58 'web_text_input_type', | |
59 'web_display_mode', | |
60 ], | |
61 'variables': { | |
62 'java_in_dir': '../../../build/android/empty', | |
63 }, | |
64 'includes': [ '../../../build/java.gypi' ], | |
65 }, | |
66 ], | |
67 }], | |
68 ], | |
69 } | |
70 | |
OLD | NEW |