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("//third_party/WebKit/Source/config.gni") | 6 import("//third_party/WebKit/Source/config.gni") |
6 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
7 | 8 |
8 blink_headers_values = exec_script("//build/gypi_to_gn.py", | 9 blink_headers_values = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("blink_headers.gypi") ], | 10 [ rebase_path("blink_headers.gypi") ], |
10 "scope", | 11 "scope", |
11 [ "blink_headers.gypi" ]) | 12 [ "blink_headers.gypi" ]) |
12 | 13 |
13 if (is_android) { | 14 if (is_android) { |
14 import("//build/config/android/rules.gni") | 15 import("//build/config/android/rules.gni") |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac. | 77 # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac. |
77 public_deps -= [ | 78 public_deps -= [ |
78 "//third_party/WebKit/Source/platform:blink_heap_unittests", | 79 "//third_party/WebKit/Source/platform:blink_heap_unittests", |
79 "//third_party/WebKit/Source/platform:blink_platform_unittests", | 80 "//third_party/WebKit/Source/platform:blink_platform_unittests", |
80 "//third_party/WebKit/Source/web:webkit_unit_tests", | 81 "//third_party/WebKit/Source/web:webkit_unit_tests", |
81 ] | 82 ] |
82 } | 83 } |
83 } | 84 } |
84 | 85 |
85 config("blink_headers_config") { | 86 config("blink_headers_config") { |
86 include_dirs = [ ".." ] | 87 include_dirs = [ |
| 88 "..", |
| 89 "$root_gen_dir/third_party/WebKit", |
| 90 ] |
87 | 91 |
88 # Allow :blink_headers to include v8.h without linking to it. | 92 # Allow :blink_headers to include v8.h without linking to it. |
89 configs = [ "//v8:external_config" ] | 93 configs = [ "//v8:external_config" ] |
90 } | 94 } |
91 | 95 |
92 config("debug_devtools") { | 96 config("debug_devtools") { |
93 if (debug_devtools) { | 97 if (debug_devtools) { |
94 defines = [ "DEBUG_DEVTOOLS=1" ] | 98 defines = [ "DEBUG_DEVTOOLS=1" ] |
95 } | 99 } |
96 } | 100 } |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 grit("image_resources") { | 166 grit("image_resources") { |
163 output_dir = "$root_gen_dir/blink/public/resources" | 167 output_dir = "$root_gen_dir/blink/public/resources" |
164 use_qualified_include = true | 168 use_qualified_include = true |
165 source = "blink_image_resources.grd" | 169 source = "blink_image_resources.grd" |
166 outputs = [ | 170 outputs = [ |
167 "grit/blink_image_resources.h", | 171 "grit/blink_image_resources.h", |
168 "blink_image_resources_100_percent.pak", | 172 "blink_image_resources_100_percent.pak", |
169 "blink_image_resources_200_percent.pak", | 173 "blink_image_resources_200_percent.pak", |
170 ] | 174 ] |
171 } | 175 } |
| 176 |
| 177 mojom("mojo_bindings") { |
| 178 sources = [ |
| 179 "platform/modules/bluetooth/web_bluetooth.mojom", |
| 180 ] |
| 181 } |
OLD | NEW |