| 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") ], |
| 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 Loading... |
| 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 } |
| OLD | NEW |