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

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

Issue 2058023004: Clean up Mojo C API dependent targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 | « third_party/WebKit/Source/platform/BUILD.gn ('k') | tools/battor_agent/BUILD.gn » ('j') | 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") ],
11 "scope", 11 "scope",
12 [ "blink_headers.gypi" ]) 12 [ "blink_headers.gypi" ])
13 13
14 if (is_android) { 14 if (is_android) {
15 import("//build/config/android/rules.gni") 15 import("//build/config/android/rules.gni")
16 } 16 }
17 17
18 # GYP version: WebKit/public/blink.gyp:blink 18 # GYP version: WebKit/public/blink.gyp:blink
19 group("blink") { 19 group("blink") {
20 public_deps = [ 20 public_deps = [
21 ":blink_headers", 21 ":blink_headers",
22 ":blink_minimal", 22 ":blink_minimal",
23 "//third_party/WebKit/Source/platform", 23 "//third_party/WebKit/Source/platform",
24 "//third_party/WebKit/Source/web", 24 "//third_party/WebKit/Source/web",
25
26 # public/platform/Platform.h in ':blink_headers' depends on Mojo APIs, and
27 # the dependent of this target needs to link Mojo.
28 "//mojo/public/c/system:for_component",
29 ] 25 ]
30 } 26 }
31 27
32 group("blink_for_unittests") { 28 group("blink_for_unittests") {
33 public_deps = [ 29 public_deps = [
34 ":blink", 30 ":blink",
35 31
36 # Since public/platform/Platform.h depends on Mojo APIs, unittests depending 32 # Since public/platform/Platform.h depends on Mojo APIs, unittests depending
37 # on :blink needs to link mojo/edk/system. 33 # on :blink needs to link mojo/edk/system.
38 "//mojo/edk/system", 34 "//mojo/edk/system",
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 "platform/modules/payments/payment_request.mojom", 191 "platform/modules/payments/payment_request.mojom",
196 ] 192 ]
197 } 193 }
198 194
199 group("generate_mojo_bindings") { 195 group("generate_mojo_bindings") {
200 deps = [ 196 deps = [
201 ":mojo_bindings__generator", 197 ":mojo_bindings__generator",
202 ":mojo_bindings_blink__generator", 198 ":mojo_bindings_blink__generator",
203 ] 199 ]
204 } 200 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | tools/battor_agent/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698