Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: third_party/polymer/reproduce.sh

Issue 917523002: Pull web-animations-js into third-party via the third_party/polymer/reproduce.sh script. Add necess… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/reproduce.sh
diff --git a/third_party/polymer/reproduce.sh b/third_party/polymer/reproduce.sh
index 4fc7febcb13205092b31c7993a63b77110658b5a..6007cef0c552e3c193e04e566482825af6a2720a 100755
--- a/third_party/polymer/reproduce.sh
+++ b/third_party/polymer/reproduce.sh
@@ -12,11 +12,22 @@
set -e
cd "$(dirname "$0")"
+echo "$(dirname "$0")"
rm -rf components components-chromium
+# Remove everything in web-animations-js except README.chromium and OWNERS.
+find ../web-animations-js/* ! \( -name 'README.chromium' -o -name 'OWNERS' \) \( -type f -o -type d \) -delete
+ls ../web-animations-js
bower install
+rm -rf components/web-animations-js/test
+rm -rf components/web-animations-js/node_modules
+shopt -s dotglob
+mv components/web-animations-js/* ../web-animations-js/
+rm -rf components/web-animations-js
+mv ../web-animations-js/COPYING ../web-animations-js/LICENSE
+
# These components are deprecated or needed only for demos.
rm -rf components/{core-component-page,core-field,font-roboto,webcomponentsjs}

Powered by Google App Engine
This is Rietveld 408576698