diff --git a/runtime/bin/BUILD.gn b/runtime/bin/BUILD.gn index a2bdfc3d6bf..8689f2c367a 100644 --- a/runtime/bin/BUILD.gn +++ b/runtime/bin/BUILD.gn @@ -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 = [ "..", diff --git a/runtime/runtime_args.gni b/runtime/runtime_args.gni index 234ac23a41b..d83020817f5 100644 --- a/runtime/runtime_args.gni +++ b/runtime/runtime_args.gni @@ -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