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("//sky/engine/build/scripts/scripts.gni") | 5 import("//sky/engine/build/scripts/scripts.gni") |
6 import("//sky/engine/core/core.gni") | 6 import("//sky/engine/core/core.gni") |
7 | 7 |
8 visibility = [ "//sky/engine/*" ] | 8 visibility = [ "//sky/engine/*" ] |
9 | 9 |
10 rel_sky_core_gen_dir = rebase_path(sky_core_output_dir, root_build_dir) | 10 rel_sky_core_gen_dir = rebase_path(sky_core_output_dir, root_build_dir) |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 ":core_generated", | 59 ":core_generated", |
60 ":libraries", | 60 ":libraries", |
61 ":prerequisites", | 61 ":prerequisites", |
62 "//sky/engine/platform", | 62 "//sky/engine/platform", |
63 "//sky/engine/bindings", | 63 "//sky/engine/bindings", |
64 "//dart/runtime/bin:libdart_withcore", | 64 "//dart/runtime/bin:libdart_withcore", |
65 ] | 65 ] |
66 | 66 |
67 sources = sky_core_files | 67 sources = sky_core_files |
68 | 68 |
| 69 include_dirs = [ |
| 70 # Needed for dart_mirrors_api.h in dart_controller.cc |
| 71 rebase_path("//dart/runtime"), |
| 72 ] |
| 73 |
69 forward_dependent_configs_from = [ ":libraries" ] | 74 forward_dependent_configs_from = [ ":libraries" ] |
70 | 75 |
71 # core and core_generated are really the same thing. | 76 # core and core_generated are really the same thing. |
72 allow_circular_includes_from = [ | 77 allow_circular_includes_from = [ |
73 ":core_generated", | 78 ":core_generated", |
74 "//sky/engine/bindings", | 79 "//sky/engine/bindings", |
75 ] | 80 ] |
76 } | 81 } |
77 | 82 |
78 source_set("testing") { | 83 source_set("testing") { |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 "$sky_core_output_dir/{{source_name_part}}.h", | 492 "$sky_core_output_dir/{{source_name_part}}.h", |
488 ] | 493 ] |
489 args = [ | 494 args = [ |
490 "{{source}}", | 495 "{{source}}", |
491 rel_sky_core_gen_dir, | 496 rel_sky_core_gen_dir, |
492 bison_exe, | 497 bison_exe, |
493 ] | 498 ] |
494 | 499 |
495 deps = make_core_generated_deps | 500 deps = make_core_generated_deps |
496 } | 501 } |
OLD | NEW |