| 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 } | |
| 47 } | 40 } |
| 48 | 41 |
| 49 source_set("prerequisites") { | 42 source_set("prerequisites") { |
| 50 deps = [ | 43 deps = [ |
| 51 ":libraries", | 44 ":libraries", |
| 52 ":make_core_generated", | 45 ":make_core_generated", |
| 53 "//sky/engine/bindings/core/v8:bindings_core_v8_generated", | 46 "//sky/engine/bindings/core/v8:bindings_core_v8_generated", |
| 54 "//sky/engine/platform", | 47 "//sky/engine/platform", |
| 55 ] | 48 ] |
| 56 | 49 |
| 57 forward_dependent_configs_from = [ ":libraries" ] | 50 forward_dependent_configs_from = [ ":libraries" ] |
| 58 | 51 |
| 59 direct_dependent_configs = [ | 52 direct_dependent_configs = [ |
| 60 "//sky/engine:config", | 53 "//sky/engine:config", |
| 61 "//sky/engine:inside_blink", | 54 "//sky/engine:inside_blink", |
| 62 "//build/config/compiler:wexit_time_destructors", | 55 "//build/config/compiler:wexit_time_destructors", |
| 63 ] | 56 ] |
| 64 } | 57 } |
| 65 | 58 |
| 66 static_library("core") { | 59 static_library("core") { |
| 67 output_name = "sky_core" | 60 output_name = "sky_core" |
| 68 | 61 |
| 69 deps = [ | 62 deps = [ |
| 70 ":core_generated", | 63 ":core_generated", |
| 71 ":libraries", | 64 ":libraries", |
| 72 ":prerequisites", | 65 ":prerequisites", |
| 73 "//sky/engine/platform", | 66 "//sky/engine/platform", |
| 74 "//sky/engine/bindings2" | |
| 75 ] | 67 ] |
| 76 | 68 |
| 77 sources = sky_core_files | 69 sources = sky_core_files |
| 78 | 70 |
| 79 forward_dependent_configs_from = [ ":libraries" ] | 71 forward_dependent_configs_from = [ ":libraries" ] |
| 80 | 72 |
| 81 # core and core_generated are really the same thing. | 73 # core and core_generated are really the same thing. |
| 82 allow_circular_includes_from = [ ":core_generated" ] | 74 allow_circular_includes_from = [ ":core_generated" ] |
| 83 } | 75 } |
| 84 | 76 |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 "$sky_core_output_dir/{{source_name_part}}.h", | 457 "$sky_core_output_dir/{{source_name_part}}.h", |
| 466 ] | 458 ] |
| 467 args = [ | 459 args = [ |
| 468 "{{source}}", | 460 "{{source}}", |
| 469 rel_sky_core_gen_dir, | 461 rel_sky_core_gen_dir, |
| 470 bison_exe, | 462 bison_exe, |
| 471 ] | 463 ] |
| 472 | 464 |
| 473 deps = make_core_generated_deps | 465 deps = make_core_generated_deps |
| 474 } | 466 } |
| OLD | NEW |