mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +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
|
@ -234,7 +234,7 @@ template("build_gen_snapshot_dart_io") {
|
||||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
deps += [ "$dart_zlib_path" ]
|
deps += [ "//third_party/zlib" ]
|
||||||
|
|
||||||
custom_sources_filter = [
|
custom_sources_filter = [
|
||||||
"*_test.cc",
|
"*_test.cc",
|
||||||
|
@ -330,7 +330,7 @@ template("dart_io") {
|
||||||
|
|
||||||
defines = []
|
defines = []
|
||||||
deps = [
|
deps = [
|
||||||
"$dart_zlib_path",
|
"//third_party/zlib",
|
||||||
]
|
]
|
||||||
if (is_mac || is_ios) {
|
if (is_mac || is_ios) {
|
||||||
libs = [
|
libs = [
|
||||||
|
@ -663,7 +663,7 @@ template("dart_executable") {
|
||||||
":standalone_dart_io",
|
":standalone_dart_io",
|
||||||
":libdart_builtin",
|
":libdart_builtin",
|
||||||
"//third_party/boringssl",
|
"//third_party/boringssl",
|
||||||
"$dart_zlib_path",
|
"//third_party/zlib",
|
||||||
] + extra_deps
|
] + extra_deps
|
||||||
|
|
||||||
defines = extra_defines
|
defines = extra_defines
|
||||||
|
@ -888,8 +888,8 @@ executable("run_vm_tests") {
|
||||||
":generate_snapshot_test_dat_file",
|
":generate_snapshot_test_dat_file",
|
||||||
":libdart_builtin",
|
":libdart_builtin",
|
||||||
":standalone_dart_io",
|
":standalone_dart_io",
|
||||||
"$dart_zlib_path",
|
|
||||||
"..:libdart_jit",
|
"..:libdart_jit",
|
||||||
|
"//third_party/zlib",
|
||||||
]
|
]
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"..",
|
"..",
|
||||||
|
|
|
@ -42,9 +42,6 @@ declare_args() {
|
||||||
# verified at the operating system level.
|
# verified at the operating system level.
|
||||||
dart_use_fallback_root_certificates = false
|
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
|
# Whether to link the standalone VM against tcmalloc. The standalone build of
|
||||||
# the VM enables this only for Linux builds.
|
# the VM enables this only for Linux builds.
|
||||||
dart_use_tcmalloc = false
|
dart_use_tcmalloc = false
|
||||||
|
|
Loading…
Reference in a new issue