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