[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>
diff --git a/runtime/bin/BUILD.gn b/runtime/bin/BUILD.gn
index a2bdfc3..8689f2c 100644
--- a/runtime/bin/BUILD.gn
+++ b/runtime/bin/BUILD.gn
@@ -234,7 +234,7 @@
configs -= [ "//build/config:symbol_visibility_hidden" ]
}
- deps += [ "$dart_zlib_path" ]
+ deps += [ "//third_party/zlib" ]
custom_sources_filter = [
"*_test.cc",
@@ -330,7 +330,7 @@
defines = []
deps = [
- "$dart_zlib_path",
+ "//third_party/zlib",
]
if (is_mac || is_ios) {
libs = [
@@ -663,7 +663,7 @@
":standalone_dart_io",
":libdart_builtin",
"//third_party/boringssl",
- "$dart_zlib_path",
+ "//third_party/zlib",
] + extra_deps
defines = extra_defines
@@ -888,8 +888,8 @@
":generate_snapshot_test_dat_file",
":libdart_builtin",
":standalone_dart_io",
- "$dart_zlib_path",
"..:libdart_jit",
+ "//third_party/zlib",
]
include_dirs = [
"..",
diff --git a/runtime/runtime_args.gni b/runtime/runtime_args.gni
index 234ac23..d830208 100644
--- a/runtime/runtime_args.gni
+++ b/runtime/runtime_args.gni
@@ -42,9 +42,6 @@
# 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