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("//third_party/WebKit/Source/config.gni") | 5 import("//third_party/WebKit/Source/config.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 | 7 |
8 blink_headers_values = exec_script("//build/gypi_to_gn.py", | 8 blink_headers_values = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("blink_headers.gypi") ], | 9 [ rebase_path("blink_headers.gypi") ], |
10 "scope", | 10 "scope", |
11 [ "blink_headers.gypi" ]) | 11 [ "blink_headers.gypi" ]) |
12 | 12 |
13 if (is_android) { | 13 if (is_android) { |
14 import("//build/config/android/rules.gni") | 14 import("//build/config/android/rules.gni") |
15 } | 15 } |
16 | 16 |
17 # GYP version: WebKit/public/blink.gyp:blink | 17 # GYP version: WebKit/public/blink.gyp:blink |
18 group("blink") { | 18 group("blink") { |
19 public_deps = [ | 19 public_deps = [ |
20 ":blink_headers", | 20 ":blink_headers", |
21 ":blink_minimal", | 21 ":blink_minimal", |
| 22 "//third_party/WebKit/Source/platform", |
22 "//third_party/WebKit/Source/web", | 23 "//third_party/WebKit/Source/web", |
23 "//third_party/WebKit/Source/platform", | |
24 ] | 24 ] |
25 } | 25 } |
26 | 26 |
27 # This target provides a minimal set of Blink APIs such as WebString to use in | 27 # This target provides a minimal set of Blink APIs such as WebString to use in |
28 # places that cannot link against the full Blink library. FIXME: We really | 28 # places that cannot link against the full Blink library. FIXME: We really |
29 # shouldn't have this at all and should instead remove all uses of Blink's API | 29 # shouldn't have this at all and should instead remove all uses of Blink's API |
30 # types from places that can't link against Blink. crbug.com/248653 | 30 # types from places that can't link against Blink. crbug.com/248653 |
31 # | 31 # |
32 # GYP version: WebKit/public/blink.gyp:blink_minimal | 32 # GYP version: WebKit/public/blink.gyp:blink_minimal |
33 group("blink_minimal") { | 33 group("blink_minimal") { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 grit("image_resources") { | 145 grit("image_resources") { |
146 output_dir = "$root_gen_dir/blink/public/resources" | 146 output_dir = "$root_gen_dir/blink/public/resources" |
147 use_qualified_include = true | 147 use_qualified_include = true |
148 source = "blink_image_resources.grd" | 148 source = "blink_image_resources.grd" |
149 outputs = [ | 149 outputs = [ |
150 "grit/blink_image_resources.h", | 150 "grit/blink_image_resources.h", |
151 "blink_image_resources_100_percent.pak", | 151 "blink_image_resources_100_percent.pak", |
152 "blink_image_resources_200_percent.pak", | 152 "blink_image_resources_200_percent.pak", |
153 ] | 153 ] |
154 } | 154 } |
OLD | NEW |