Index: test/unittests/BUILD.gn |
diff --git a/test/unittests/BUILD.gn b/test/unittests/BUILD.gn |
index 6671f417994dd16d8f1bc1200d0d777d3d984815..e31f33377c08d148797bd1001a48a230b4a83dc8 100644 |
--- a/test/unittests/BUILD.gn |
+++ b/test/unittests/BUILD.gn |
@@ -160,6 +160,7 @@ v8_executable("unittests") { |
#}], |
deps = [ |
+ "../..:v8", |
"../..:v8_libbase", |
"../..:v8_libplatform", |
"//build/config/sanitizers:deps", |
@@ -168,17 +169,6 @@ v8_executable("unittests") { |
"//testing/gtest", |
] |
- defines = [] |
- |
- if (is_component_build) { |
- # compiler-unittests can't be built against a shared library, so we |
- # need to depend on the underlying static target in that case. |
- deps += [ "../..:v8_maybe_snapshot" ] |
- defines += [ "BUILDING_V8_SHARED" ] |
- } else { |
- deps += [ "../..:v8" ] |
- } |
- |
if (is_win) { |
# This warning is benignly triggered by the U16 and U32 macros in |
# bytecode-utils.h. |