diff --git a/src/python/pants/testutil/BUILD b/src/python/pants/testutil/BUILD index f1793d37e84..4ac041d44c6 100644 --- a/src/python/pants/testutil/BUILD +++ b/src/python/pants/testutil/BUILD @@ -37,12 +37,9 @@ target( name = 'int-test', dependencies=[ ':int-test-for-export', - # NB: 'pants_run_integration_test.py' runs ./pants in a subprocess, so test results will depend - # on the pants binary and all of its transitive dependencies. Adding the dependencies below is - # our best proxy for ensuring that any test target depending on this target will be invalidated - # on changes to those undeclared dependencies. + # NB: 'pants_run_integration_test.py' runs ./pants in a subprocess using the PYTHONPATH + # of the testrunner. We include the pants binary itself to fully populate the path. 'src/python/pants/bin:pants_local_binary', - 'src/rust/engine', ], ) diff --git a/src/rust/engine/BUILD b/src/rust/engine/BUILD deleted file mode 100644 index 721d8d82bd0..00000000000 --- a/src/rust/engine/BUILD +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). -# Licensed under the Apache License, Version 2.0 (see LICENSE). - -# Track files depended on to build the native engine to allow for downstream invalidations. -files( - sources=["**/Cargo.*", "**/*.rs", "!**/target/*", "!process_execution/bazel_protos"], - dependencies=[ - 'src/rust/engine/process_execution/bazel_protos' - ] -)