Merge "Make the bazel sandwich ignore targets that don't exist" into main
This commit is contained in:
@@ -52,6 +52,10 @@ function copy_directory {
|
||||
cp -R "$REAL_TOP/$dir" "$MOCK_TOP/$parent"
|
||||
}
|
||||
|
||||
function delete_directory {
|
||||
rm -rf "$MOCK_TOP/$1"
|
||||
}
|
||||
|
||||
function symlink_file {
|
||||
local file="$1"
|
||||
|
||||
@@ -138,6 +142,9 @@ function create_mock_bazel {
|
||||
copy_directory build/bazel
|
||||
copy_directory build/bazel_common_rules
|
||||
|
||||
# This requires pulling more tools into the mock top to build partitions
|
||||
delete_directory build/bazel/examples/partitions
|
||||
|
||||
symlink_directory packages/modules/common/build
|
||||
symlink_directory prebuilts/bazel
|
||||
symlink_directory prebuilts/clang
|
||||
|
Reference in New Issue
Block a user