| 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/bindings/scripts/scripts.gni") | 5 import("//sky/engine/bindings/scripts/scripts.gni") |
| 6 import("//sky/engine/build/scripts/scripts.gni") | 6 import("//sky/engine/build/scripts/scripts.gni") |
| 7 import("//sky/engine/core/core.gni") | 7 import("//sky/engine/core/core.gni") |
| 8 | 8 |
| 9 visibility = [ "//sky/engine/*" ] | 9 visibility = [ "//sky/engine/*" ] |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 "//sky/engine/wtf", | 30 "//sky/engine/wtf", |
| 31 "//third_party/angle:translator", | 31 "//third_party/angle:translator", |
| 32 "//third_party/iccjpeg", | 32 "//third_party/iccjpeg", |
| 33 "//third_party/libpng", | 33 "//third_party/libpng", |
| 34 "//third_party/ots", | 34 "//third_party/ots", |
| 35 "//third_party/qcms", | 35 "//third_party/qcms", |
| 36 "//third_party/zlib", | 36 "//third_party/zlib", |
| 37 "//url", | 37 "//url", |
| 38 "//v8", | 38 "//v8", |
| 39 ] | 39 ] |
| 40 |
| 41 if (sky_use_dart) { |
| 42 deps = [ |
| 43 "//dart/runtime:libdart", |
| 44 "//dart/runtime/bin:libdart_embedder_noio", |
| 45 ] |
| 46 } |
| 40 } | 47 } |
| 41 | 48 |
| 42 source_set("prerequisites") { | 49 source_set("prerequisites") { |
| 43 deps = [ | 50 deps = [ |
| 44 ":libraries", | 51 ":libraries", |
| 45 ":make_core_generated", | 52 ":make_core_generated", |
| 46 "//sky/engine/bindings/core/v8:bindings_core_v8_generated", | 53 "//sky/engine/bindings/core/v8:bindings_core_v8_generated", |
| 47 "//sky/engine/platform", | 54 "//sky/engine/platform", |
| 48 ] | 55 ] |
| 49 | 56 |
| 50 forward_dependent_configs_from = [ ":libraries" ] | 57 forward_dependent_configs_from = [ ":libraries" ] |
| 51 | 58 |
| 52 direct_dependent_configs = [ | 59 direct_dependent_configs = [ |
| 53 "//sky/engine:config", | 60 "//sky/engine:config", |
| 54 "//sky/engine:inside_blink", | 61 "//sky/engine:inside_blink", |
| 55 "//build/config/compiler:wexit_time_destructors", | 62 "//build/config/compiler:wexit_time_destructors", |
| 56 ] | 63 ] |
| 57 } | 64 } |
| 58 | 65 |
| 59 static_library("core") { | 66 static_library("core") { |
| 60 output_name = "sky_core" | 67 output_name = "sky_core" |
| 61 | 68 |
| 62 deps = [ | 69 deps = [ |
| 63 ":core_generated", | 70 ":core_generated", |
| 64 ":libraries", | 71 ":libraries", |
| 65 ":prerequisites", | 72 ":prerequisites", |
| 66 "//sky/engine/platform", | 73 "//sky/engine/platform", |
| 74 "//sky/engine/bindings-dart" |
| 67 ] | 75 ] |
| 68 | 76 |
| 69 sources = sky_core_files | 77 sources = sky_core_files |
| 70 | 78 |
| 71 forward_dependent_configs_from = [ ":libraries" ] | 79 forward_dependent_configs_from = [ ":libraries" ] |
| 72 | 80 |
| 73 # core and core_generated are really the same thing. | 81 # core and core_generated are really the same thing. |
| 74 allow_circular_includes_from = [ ":core_generated" ] | 82 allow_circular_includes_from = [ ":core_generated" ] |
| 75 } | 83 } |
| 76 | 84 |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 "$sky_core_output_dir/{{source_name_part}}.h", | 465 "$sky_core_output_dir/{{source_name_part}}.h", |
| 458 ] | 466 ] |
| 459 args = [ | 467 args = [ |
| 460 "{{source}}", | 468 "{{source}}", |
| 461 rel_sky_core_gen_dir, | 469 rel_sky_core_gen_dir, |
| 462 bison_exe, | 470 bison_exe, |
| 463 ] | 471 ] |
| 464 | 472 |
| 465 deps = make_core_generated_deps | 473 deps = make_core_generated_deps |
| 466 } | 474 } |
| OLD | NEW |