| 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 ] | 25 ] |
| 26 } | 26 } |
| 27 | 27 |
| 28 group("blink_for_unittests") { | |
| 29 public_deps = [ | |
| 30 ":blink", | |
| 31 | |
| 32 # Since public/platform/Platform.h depends on Mojo APIs, unittests depending | |
| 33 # on :blink needs to link mojo/edk/system. | |
| 34 "//mojo/edk/system", | |
| 35 ] | |
| 36 } | |
| 37 | |
| 38 # This target provides a minimal set of Blink APIs such as WebString to use in | 28 # This target provides a minimal set of Blink APIs such as WebString to use in |
| 39 # places that cannot link against the full Blink library. FIXME: We really | 29 # places that cannot link against the full Blink library. FIXME: We really |
| 40 # shouldn't have this at all and should instead remove all uses of Blink's API | 30 # shouldn't have this at all and should instead remove all uses of Blink's API |
| 41 # types from places that can't link against Blink. crbug.com/248653 | 31 # types from places that can't link against Blink. crbug.com/248653 |
| 42 # | 32 # |
| 43 # GYP version: WebKit/public/blink.gyp:blink_minimal | 33 # GYP version: WebKit/public/blink.gyp:blink_minimal |
| 44 group("blink_minimal") { | 34 group("blink_minimal") { |
| 45 public_deps = [ | 35 public_deps = [ |
| 46 ":blink_headers", | 36 ":blink_headers", |
| 47 "//third_party/WebKit/Source/platform:blink_common", | 37 "//third_party/WebKit/Source/platform:blink_common", |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 "platform/modules/payments/payment_request.mojom", | 181 "platform/modules/payments/payment_request.mojom", |
| 192 ] | 182 ] |
| 193 } | 183 } |
| 194 | 184 |
| 195 group("generate_mojo_bindings") { | 185 group("generate_mojo_bindings") { |
| 196 deps = [ | 186 deps = [ |
| 197 ":mojo_bindings__generator", | 187 ":mojo_bindings__generator", |
| 198 ":mojo_bindings_blink__generator", | 188 ":mojo_bindings_blink__generator", |
| 199 ] | 189 ] |
| 200 } | 190 } |
| OLD | NEW |