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

Side by Side 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: Moved web-animations-js sources into third_party/web-animations-js/sources. 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 unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright 2014 The Chromium Authors. All rights reserved. 3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Reproduces the content of 'components' and 'components-chromium' using the 7 # Reproduces the content of 'components' and 'components-chromium' using the
8 # list of dependencies from 'bower.json'. Downloads needed packages and makes 8 # list of dependencies from 'bower.json'. Downloads needed packages and makes
9 # Chromium specific modifications. To launch the script you need 'bower' and 9 # Chromium specific modifications. To launch the script you need 'bower' and
10 # 'vulcanize' to be install in your system. 10 # 'vulcanize' to be install in your system.
11 11
12 set -e 12 set -e
13 13
14 cd "$(dirname "$0")" 14 cd "$(dirname "$0")"
15 15
16 rm -rf components components-chromium 16 rm -rf components components-chromium
17 rm -rf ../web-animations-js/sources
17 18
18 bower install 19 bower install
19 20
21 rm -rf components/web-animations-js/test
22 rm -rf components/web-animations-js/node_modules
dzhioev (left Google) 2015/02/13 12:28:26 rm -rf components/web-animations-js/{test,node_mod
Jeremy Klein 2015/02/13 18:27:13 Done.
23 shopt -s dotglob
24 mkdir ../web-animations-js/sources
25 mv components/web-animations-js/* ../web-animations-js/sources
26 rm -rf components/web-animations-js
dzhioev (left Google) 2015/02/13 12:28:26 Lines 23-26 could be replaced with a single line:
Jeremy Klein 2015/02/13 18:27:13 Done.
27 mv ../web-animations-js/sources/COPYING ../web-animations-js/sources/LICENSE
dzhioev (left Google) 2015/02/13 12:28:26 cp ../web-animations-js/sources/COPYING ../web-ani
Jeremy Klein 2015/02/13 18:27:13 Done.
28
20 # These components are deprecated or needed only for demos. 29 # These components are deprecated or needed only for demos.
21 rm -rf components/{core-component-page,core-field,font-roboto,webcomponentsjs} 30 rm -rf components/{core-component-page,core-field,font-roboto,webcomponentsjs}
22 31
23 # Make checkperms.py happy. 32 # Make checkperms.py happy.
24 find components/{core-list,core-resizable} -type f -exec chmod -x {} \; 33 find components/{core-list,core-resizable} -type f -exec chmod -x {} \;
25 34
26 # TODO(dzhioev): remove when 35 # TODO(dzhioev): remove when
27 # https://code.google.com/p/grit-i18n/issues/detail?id=30 is fixed 36 # https://code.google.com/p/grit-i18n/issues/detail?id=30 is fixed
28 patch -p1 < chromium.patch 37 patch -p1 < chromium.patch
29 38
30 ./extract_inline_scripts.sh components components-chromium 39 ./extract_inline_scripts.sh components components-chromium
31 40
OLDNEW
« no previous file with comments | « third_party/polymer/components/core-animation/web-animations.html ('k') | third_party/web-animations-js/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698