1#!/bin/bash
2
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
5# found in the LICENSE file.
6
7# Reproduces the content of 'components' and 'components-chromium' using the
8# list of dependencies from 'bower.json'. Downloads needed packages and makes
9# Chromium specific modifications. To launch the script you need 'bower' and
10# 'vulcanize' to be install in your system.
11
12set -e
13
14cd "$(dirname "$0")"
15
16rm -rf components components-chromium
17
18bower install
19rm -rf components/web-animations-js
20find components/core-list -type f -exec chmod -x {} \;
21
22./extract_inline_scripts.sh components components-chromium
23
24