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

Side by Side Diff: third_party/polymer/vulcanized/vulcanize.py

Issue 236733003: Remove the need for <polymer-selector> in the PDF plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « third_party/polymer/vulcanized/polymer-elements.in.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/python2.6
2 # Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 import subprocess
7
8 # This script vulcanizes all parts of the polymer library that are included in
9 # polymer-elements.in.html. This is required because the polymer library is not
10 # CSP compliant and Chrome extensions that use polymer have CSP enforced.
11 # The vulcanize tool cannot currently be added to the Chrome build which is why
12 # this must be run manually when polymer is revved. This script should be re-run
13 # whenever we want polymer is updated.
14 #
15 # See https://code.google.com/p/chromium/issues/detail?id=359333 for more
16 # details.
17 #
18 # Once this script has been run, the entire polymer library will be inside of
19 # polymer-elements.html and polymer-elements.js.
20 #
21 # TODO(raymes): This is ugly. Remove this as soon as we can fix
22 # crbug.com/359333.
23
24 POLYMER_ELEMENTS_INPUT = "polymer-elements.in.html"
25 POLYMER_ELEMENTS_OUTPUT = "polymer-elements.html"
26
27 subprocess.call(["vulcanize", "--csp", POLYMER_ELEMENTS_INPUT,
28 "-o", POLYMER_ELEMENTS_OUTPUT]);
OLDNEW
« no previous file with comments | « third_party/polymer/vulcanized/polymer-elements.in.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698