OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//third_party/WebKit/Source/config.gni") | 6 import("//third_party/WebKit/Source/config.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 | 8 |
9 blink_headers_values = exec_script("//build/gypi_to_gn.py", | 9 blink_headers_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("blink_headers.gypi") ], | 10 [ rebase_path("blink_headers.gypi") ], |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 java_cpp_enum("blink_headers_java_enums_srcjar") { | 87 java_cpp_enum("blink_headers_java_enums_srcjar") { |
88 sources = [ | 88 sources = [ |
89 "./platform/WebDisplayMode.h", | 89 "./platform/WebDisplayMode.h", |
90 "./platform/WebInputEvent.h", | 90 "./platform/WebInputEvent.h", |
91 "./web/WebTextInputType.h", | 91 "./web/WebTextInputType.h", |
92 ] | 92 ] |
93 } | 93 } |
94 | 94 |
95 # GYP version: WebKit/public/blink_headers.gyp:blink_headers_java | 95 # GYP version: WebKit/public/blink_headers.gyp:blink_headers_java |
96 android_library("blink_headers_java") { | 96 android_library("blink_headers_java") { |
| 97 deps = [ |
| 98 "//third_party/android_tools:android_support_annotations_java", |
| 99 ] |
97 srcjar_deps = [ ":blink_headers_java_enums_srcjar" ] | 100 srcjar_deps = [ ":blink_headers_java_enums_srcjar" ] |
98 } | 101 } |
99 } | 102 } |
100 | 103 |
101 # Depend on this target to use public blink API headers for things like enums | 104 # Depend on this target to use public blink API headers for things like enums |
102 # and public structures without actually linking against any Blink libraries. | 105 # and public structures without actually linking against any Blink libraries. |
103 source_set("blink_headers") { | 106 source_set("blink_headers") { |
104 public_configs = [ | 107 public_configs = [ |
105 ":blink_headers_config", | 108 ":blink_headers_config", |
106 | 109 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 ] | 203 ] |
201 | 204 |
202 use_new_wrapper_types = false | 205 use_new_wrapper_types = false |
203 } | 206 } |
204 | 207 |
205 group("generate_mojo_bindings") { | 208 group("generate_mojo_bindings") { |
206 deps = [ | 209 deps = [ |
207 ":mojo_bindings_blink__generator", | 210 ":mojo_bindings_blink__generator", |
208 ] | 211 ] |
209 } | 212 } |
OLD | NEW |