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("//third_party/WebKit/Source/config.gni") | 5 import("//third_party/WebKit/Source/config.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 | 7 |
8 blink_headers_values = exec_script("//build/gypi_to_gn.py", | 8 blink_headers_values = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("blink_headers.gypi") ], | 9 [ rebase_path("blink_headers.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 if (is_android) { | 81 if (is_android) { |
82 # GYP version: WebKit/public/blink_headers.gyp:web_input_event_java | 82 # GYP version: WebKit/public/blink_headers.gyp:web_input_event_java |
83 # GYP version: WebKit/public/blink_headers.gyp:web_text_input_type | 83 # GYP version: WebKit/public/blink_headers.gyp:web_text_input_type |
84 java_cpp_enum("blink_headers_java_enums_srcjar") { | 84 java_cpp_enum("blink_headers_java_enums_srcjar") { |
85 sources = [ | 85 sources = [ |
86 "./platform/WebDisplayMode.h", | 86 "./platform/WebDisplayMode.h", |
87 "./web/WebInputEvent.h", | 87 "./web/WebInputEvent.h", |
88 "./web/WebTextInputType.h", | 88 "./web/WebTextInputType.h", |
89 ] | 89 ] |
90 outputs = [ | |
91 "org/chromium/blink_public/platform/WebDisplayMode.java", | |
92 "org/chromium/blink_public/web/WebInputEventModifier.java", | |
93 "org/chromium/blink_public/web/WebInputEventType.java", | |
94 "org/chromium/blink_public/web/WebTextInputFlags.java", | |
95 ] | |
96 } | 90 } |
97 | 91 |
98 # GYP version: WebKit/public/blink_headers.gyp:blink_headers_java | 92 # GYP version: WebKit/public/blink_headers.gyp:blink_headers_java |
99 android_library("blink_headers_java") { | 93 android_library("blink_headers_java") { |
100 srcjar_deps = [ ":blink_headers_java_enums_srcjar" ] | 94 srcjar_deps = [ ":blink_headers_java_enums_srcjar" ] |
101 } | 95 } |
102 } | 96 } |
103 | 97 |
104 # Depend on this target to use public blink API headers for things like enums | 98 # Depend on this target to use public blink API headers for things like enums |
105 # and public structures without actually linking against any Blink libraries. | 99 # and public structures without actually linking against any Blink libraries. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 grit("image_resources") { | 145 grit("image_resources") { |
152 output_dir = "$root_gen_dir/blink/public/resources" | 146 output_dir = "$root_gen_dir/blink/public/resources" |
153 use_qualified_include = true | 147 use_qualified_include = true |
154 source = "blink_image_resources.grd" | 148 source = "blink_image_resources.grd" |
155 outputs = [ | 149 outputs = [ |
156 "grit/blink_image_resources.h", | 150 "grit/blink_image_resources.h", |
157 "blink_image_resources_100_percent.pak", | 151 "blink_image_resources_100_percent.pak", |
158 "blink_image_resources_200_percent.pak", | 152 "blink_image_resources_200_percent.pak", |
159 ] | 153 ] |
160 } | 154 } |
OLD | NEW |