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

Unified Diff: third_party/polymer/reproduce.sh

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed. Created 6 years, 3 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 3e48f8a07c9cedd1b12741850987db930da3d540..d1c1069c42020be92ba081b203c3d022a02b54d0 100755
--- a/third_party/polymer/reproduce.sh
+++ b/third_party/polymer/reproduce.sh
@@ -4,11 +4,17 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# Reproduces the content of 'components' and 'components-chromium' using the
+# list of dependencies from 'bower.json'. Downloads needed packages and makes
+# Chromium specific modifications. To launch the script you need 'bower' and
+# 'vulcanize' to be install in your system.
+
set -e
cd "$(dirname $0)"
-rm -rf components
+rm -rf components components-chromium
+
bower install
find components/web-animations-js/ -type f \
-not \( -name web-animations.js -o \
@@ -17,3 +23,5 @@ find components/web-animations-js/ -type f \
find components/web-animations-js/ -type d -empty -delete
find components/core-list -type f -exec chmod -x {} \;
+./extract_inline_scripts.sh components components-chromium
+

Powered by Google App Engine
This is Rietveld 408576698