| 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") ], |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 public_deps = [ | 69 public_deps = [ |
| 70 "//third_party/WebKit/Source/core", | 70 "//third_party/WebKit/Source/core", |
| 71 "//third_party/WebKit/Source/modules", | 71 "//third_party/WebKit/Source/modules", |
| 72 "//third_party/WebKit/Source/platform:blink_heap_unittests", | 72 "//third_party/WebKit/Source/platform:blink_heap_unittests", |
| 73 "//third_party/WebKit/Source/platform:blink_platform_unittests", | 73 "//third_party/WebKit/Source/platform:blink_platform_unittests", |
| 74 "//third_party/WebKit/Source/web", | 74 "//third_party/WebKit/Source/web", |
| 75 "//third_party/WebKit/Source/web:webkit_unit_tests", | 75 "//third_party/WebKit/Source/web:webkit_unit_tests", |
| 76 "//third_party/WebKit/Source/wtf:wtf_unittests", | 76 "//third_party/WebKit/Source/wtf:wtf_unittests", |
| 77 ] | 77 ] |
| 78 | |
| 79 if (is_mac) { | |
| 80 # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac. | |
| 81 public_deps -= [ | |
| 82 "//third_party/WebKit/Source/platform:blink_heap_unittests", | |
| 83 "//third_party/WebKit/Source/platform:blink_platform_unittests", | |
| 84 "//third_party/WebKit/Source/web:webkit_unit_tests", | |
| 85 ] | |
| 86 } | |
| 87 } | 78 } |
| 88 | 79 |
| 89 config("blink_headers_config") { | 80 config("blink_headers_config") { |
| 90 include_dirs = [ | 81 include_dirs = [ |
| 91 "..", | 82 "..", |
| 92 "$root_gen_dir/third_party/WebKit", | 83 "$root_gen_dir/third_party/WebKit", |
| 93 ] | 84 ] |
| 94 | 85 |
| 95 # Allow :blink_headers to include v8.h without linking to it. | 86 # Allow :blink_headers to include v8.h without linking to it. |
| 96 configs = [ "//v8:external_config" ] | 87 configs = [ "//v8:external_config" ] |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 "platform/modules/payments/payment_request.mojom", | 195 "platform/modules/payments/payment_request.mojom", |
| 205 ] | 196 ] |
| 206 } | 197 } |
| 207 | 198 |
| 208 group("generate_mojo_bindings") { | 199 group("generate_mojo_bindings") { |
| 209 deps = [ | 200 deps = [ |
| 210 ":mojo_bindings__generator", | 201 ":mojo_bindings__generator", |
| 211 ":mojo_bindings_blink__generator", | 202 ":mojo_bindings_blink__generator", |
| 212 ] | 203 ] |
| 213 } | 204 } |
| OLD | NEW |