Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Side by Side Diff: third_party/WebKit/public/BUILD.gn

Issue 1851813003: Make blink_headers depend on mojo_bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fuzzer-patch
Patch Set: Another approach Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 # Depend on this target to use public blink API headers for things like enums 122 # Depend on this target to use public blink API headers for things like enums
123 # and public structures without actually linking against any Blink libraries. 123 # and public structures without actually linking against any Blink libraries.
124 source_set("blink_headers") { 124 source_set("blink_headers") {
125 public_configs = [ 125 public_configs = [
126 ":blink_headers_config", 126 ":blink_headers_config",
127 127
128 # Blink exposes icu headers in the public API. 128 # Blink exposes icu headers in the public API.
129 "//third_party/icu:icu_config", 129 "//third_party/icu:icu_config",
130 ] 130 ]
131 sources = blink_headers_values.blink_public_sources 131 sources = blink_headers_values.blink_public_sources
132 deps = [
133 ":generate_mojo_bindings",
134 ]
132 } 135 }
133 136
134 # GYP version: WebKit/public/blink_devtools.gyp:blink_devtools_frontend_resource s 137 # GYP version: WebKit/public/blink_devtools.gyp:blink_devtools_frontend_resource s
135 group("blink_devtools_frontend_resources") { 138 group("blink_devtools_frontend_resources") {
136 public_deps = [ 139 public_deps = [
137 "//third_party/WebKit/Source/devtools:devtools_frontend_resources", 140 "//third_party/WebKit/Source/devtools:devtools_frontend_resources",
138 ] 141 ]
139 } 142 }
140 143
141 # GYP version: WebKit/public/blink_devtools.gyp:blink_generate_devtools_grd 144 # GYP version: WebKit/public/blink_devtools.gyp:blink_generate_devtools_grd
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 } 205 }
203 206
204 if (is_android) { 207 if (is_android) {
205 # GYP version: WebKit/public/blink.gyp:android_mojo_bindings_java 208 # GYP version: WebKit/public/blink.gyp:android_mojo_bindings_java
206 mojom("android_mojo_bindings") { 209 mojom("android_mojo_bindings") {
207 sources = [ 210 sources = [
208 "platform/modules/payments/payment_request.mojom", 211 "platform/modules/payments/payment_request.mojom",
209 ] 212 ]
210 } 213 }
211 } 214 }
215
216 group("generate_mojo_bindings") {
217 deps = [
218 ":mojo_bindings__generator",
219 ":mojo_bindings_blink__generator",
220 ]
221 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698