|
|
85acb83 |
diff --git a/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/generate.py b/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/generate.py
|
|
|
85acb83 |
index 8af373102..b551c0fe2 100644
|
|
|
85acb83 |
--- a/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/generate.py
|
|
|
85acb83 |
+++ b/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/generate.py
|
|
|
d122c01 |
@@ -83,7 +83,7 @@ def _MinifyJS(input_js):
|
|
|
d122c01 |
|
|
|
d122c01 |
with tempfile.NamedTemporaryFile() as _:
|
|
|
d122c01 |
args = [
|
|
|
d122c01 |
- 'python',
|
|
|
d122c01 |
+ 'python2',
|
|
|
d122c01 |
rjsmin_path
|
|
|
d122c01 |
]
|
|
|
d122c01 |
p = subprocess.Popen(args,
|
|
|
85acb83 |
@@ -203,7 +203,7 @@ def _MinifyCSS(css_text):
|
|
|
85acb83 |
os.path.join(py_vulcanize_path, 'third_party', 'rcssmin', 'rcssmin.py'))
|
|
|
85acb83 |
|
|
|
85acb83 |
with tempfile.NamedTemporaryFile() as _:
|
|
|
85acb83 |
- rcssmin_args = ['python', rcssmin_path]
|
|
|
85acb83 |
+ rcssmin_args = ['python2', rcssmin_path]
|
|
|
85acb83 |
p = subprocess.Popen(rcssmin_args,
|
|
|
85acb83 |
stdin=subprocess.PIPE,
|
|
|
85acb83 |
stdout=subprocess.PIPE,
|
|
|
85acb83 |
diff --git a/src/webengine/module.pro b/src/webengine/module.pro
|
|
|
85acb83 |
index 49a1086b2..afc89d49e 100644
|
|
|
85acb83 |
--- a/src/webengine/module.pro
|
|
|
85acb83 |
+++ b/src/webengine/module.pro
|
|
|
d122c01 |
@@ -76,7 +76,7 @@ qtConfig(webengine-testsupport) {
|
|
|
d122c01 |
python = $$pythonPathForShell()
|
|
|
d122c01 |
chromium_attributions.commands = \
|
|
|
d122c01 |
cd $$shell_quote($$shell_path($$PWD/../3rdparty)) && \
|
|
|
d122c01 |
- $$python chromium/tools/licenses.py \
|
|
|
d122c01 |
+ python2 chromium/tools/licenses.py \
|
|
|
d122c01 |
--file-template ../../tools/about_credits.tmpl \
|
|
|
d122c01 |
--entry-template ../../tools/about_credits_entry.tmpl credits \
|
|
|
d122c01 |
$$shell_quote($$shell_path($$OUT_PWD/chromium_attributions.qdoc))
|