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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 if (!is_android) { | |
8 | |
9 group("blink") { | 7 group("blink") { |
10 deps = [ | 8 deps = [ |
11 ":sky_headers", | 9 ":sky_headers", |
12 ":sky_minimal", | 10 ":sky_minimal", |
13 "//sky/engine/web", | 11 "//sky/engine/web", |
14 "//sky/engine/platform", | 12 "//sky/engine/platform", |
15 ] | 13 ] |
16 } | 14 } |
17 | 15 |
18 # This target provides a minimal set of Blink APIs such as WebString to use in | 16 # This target provides a minimal set of Blink APIs such as WebString to use in |
19 # places that cannot link against the full Blink library. FIXME: We really | 17 # places that cannot link against the full Blink library. FIXME: We really |
20 # shouldn't have this at all and should instead remove all uses of Blink's API | 18 # shouldn't have this at all and should instead remove all uses of Blink's API |
21 # types from places that can't link against Blink. crbug.com/248653 | 19 # types from places that can't link against Blink. crbug.com/248653 |
22 group("sky_minimal") { | 20 group("sky_minimal") { |
23 deps = [ | 21 deps = [ |
24 "//sky/engine/platform:sky_common", | 22 "//sky/engine/platform:sky_common", |
25 ] | 23 ] |
26 } | 24 } |
27 | 25 |
28 group("test_support") { | 26 group("test_support") { |
29 deps = [ | 27 deps = [ |
30 "//sky/engine/web:test_support", | 28 "//sky/engine/web:test_support", |
31 ] | 29 ] |
32 } | 30 } |
33 | 31 |
34 } # !is_android | |
35 | |
36 config("sky_headers_config") { | 32 config("sky_headers_config") { |
37 include_dirs = [ ".." ] | 33 include_dirs = [ ".." ] |
38 } | 34 } |
39 | 35 |
40 # Depend on this target to use public sky API headers for things like enums | 36 # Depend on this target to use public sky API headers for things like enums |
41 # and public structures without actually linking against any Blink libraries. | 37 # and public structures without actually linking against any Blink libraries. |
42 source_set("sky_headers") { | 38 source_set("sky_headers") { |
43 direct_dependent_configs = [ | 39 direct_dependent_configs = [ |
44 ":sky_headers_config", | 40 ":sky_headers_config", |
45 ] | 41 ] |
46 } | 42 } |
OLD | NEW |