mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
[vm] Eliminate dart_zlib_path from BUILD files
TBR=zra@google.com Change-Id: I7b93a03ef958c7dcb454769be945d0e3bed90b39 Reviewed-on: https://dart-review.googlesource.com/c/81360 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
This commit is contained in:
parent
11ad25a1c3
commit
82c1f2aaa8
2 changed files with 4 additions and 7 deletions
|
@ -234,7 +234,7 @@ template("build_gen_snapshot_dart_io") {
|
|||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
|
||||
deps += [ "$dart_zlib_path" ]
|
||||
deps += [ "//third_party/zlib" ]
|
||||
|
||||
custom_sources_filter = [
|
||||
"*_test.cc",
|
||||
|
@ -330,7 +330,7 @@ template("dart_io") {
|
|||
|
||||
defines = []
|
||||
deps = [
|
||||
"$dart_zlib_path",
|
||||
"//third_party/zlib",
|
||||
]
|
||||
if (is_mac || is_ios) {
|
||||
libs = [
|
||||
|
@ -663,7 +663,7 @@ template("dart_executable") {
|
|||
":standalone_dart_io",
|
||||
":libdart_builtin",
|
||||
"//third_party/boringssl",
|
||||
"$dart_zlib_path",
|
||||
"//third_party/zlib",
|
||||
] + extra_deps
|
||||
|
||||
defines = extra_defines
|
||||
|
@ -888,8 +888,8 @@ executable("run_vm_tests") {
|
|||
":generate_snapshot_test_dat_file",
|
||||
":libdart_builtin",
|
||||
":standalone_dart_io",
|
||||
"$dart_zlib_path",
|
||||
"..:libdart_jit",
|
||||
"//third_party/zlib",
|
||||
]
|
||||
include_dirs = [
|
||||
"..",
|
||||
|
|
|
@ -42,9 +42,6 @@ declare_args() {
|
|||
# verified at the operating system level.
|
||||
dart_use_fallback_root_certificates = false
|
||||
|
||||
# TODO(vegorov): Can we eliminate this?
|
||||
dart_zlib_path = "//third_party/zlib"
|
||||
|
||||
# Whether to link the standalone VM against tcmalloc. The standalone build of
|
||||
# the VM enables this only for Linux builds.
|
||||
dart_use_tcmalloc = false
|
||||
|
|
Loading…
Reference in a new issue