Skip to content

Commit

Permalink
Update mach/add-dependencies.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
encounter committed Feb 11, 2022
1 parent f55d064 commit 883681c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions mach/add-dependencies.sh
Expand Up @@ -5,9 +5,7 @@ echo "Note: You should run gclient sync before this script"

# Remove unneeded dependencies
rm -rf build
# rm -rf build_overrides
rm -rf buildtools
# rm -rf infra
rm -rf testing
rm -rf third_party/angle
rm -rf third_party/catapult
Expand All @@ -24,6 +22,9 @@ rm -rf third_party/vulkan-deps/vulkan-tools
rm -rf third_party/vulkan-deps/vulkan-validation-layers
rm -rf third_party/zlib

# Ensure vulkan-deps are committed
rm third_party/vulkan-deps/.gitignore

# Remove gitmodules, some third_party/ repositories contain these and leaving them around would
# cause any recursive submodule clones to fail because e.g. some reference internal Google
# repositories. We don't want them anyway.
Expand All @@ -40,9 +41,5 @@ rm -rf third_party/tint/test/
rm -rf third_party/swiftshader/third_party/SPIRV-Tools # already in third_party/vulkan-deps/spirv-tools
rm -rf third_party/swiftshader/third_party/SPIRV-Headers # already in third_party/vulkan-deps/spirv-headers

# Remove gn/gni files
# find . -type f -name '*.gn' -delete
# find . -type f -name '*.gni' -delete

git add third_party/
echo "you may now 'git commit -s -m 'update dependencies' if you are happy with the staged changes"

0 comments on commit 883681c

Please sign in to comment.