Make scripts executable by python2.
Add #!/usr/bin/python2 and the executable permission bit to all scripts
where missing.
BUG=angleproject:2209
Change-Id: Ib33017c17e579c371b89bbfbdb7136b870027dc5
Reviewed-on: https://chromium-review.googlesource.com/862987
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
diff --git a/scripts/bmp_to_nv12.py b/scripts/bmp_to_nv12.py
old mode 100644
new mode 100755
diff --git a/scripts/bootstrap.py b/scripts/bootstrap.py
old mode 100644
new mode 100755
diff --git a/scripts/generate_entry_points.py b/scripts/generate_entry_points.py
old mode 100644
new mode 100755
diff --git a/scripts/generate_new_renderer.py b/scripts/generate_new_renderer.py
old mode 100644
new mode 100755
diff --git a/scripts/generate_vulkan_layers_json.py b/scripts/generate_vulkan_layers_json.py
old mode 100644
new mode 100755
diff --git a/scripts/msvs_projects.py b/scripts/msvs_projects.py
old mode 100644
new mode 100755
index 766e46b..08d6277
--- a/scripts/msvs_projects.py
+++ b/scripts/msvs_projects.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2017 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
@@ -37,4 +37,4 @@
# Run the helper utility that merges the projects.
args = ['python', os.path.join('build', 'win', 'gn_meta_sln.py')]
print('Running "' + ' '.join(args) + '"')
-subprocess.call(args)
\ No newline at end of file
+subprocess.call(args)
diff --git a/scripts/perf_test_runner.py b/scripts/perf_test_runner.py
old mode 100644
new mode 100755
diff --git a/scripts/remove_file_if_exists.py b/scripts/remove_file_if_exists.py
old mode 100644
new mode 100755
diff --git a/scripts/run_code_generation.py b/scripts/run_code_generation.py
old mode 100644
new mode 100755
index c5e93e2..a0cded0
--- a/scripts/run_code_generation.py
+++ b/scripts/run_code_generation.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2017 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
@@ -178,4 +178,4 @@
args += ['git']
args += ['cl', 'format']
print('Calling git cl format')
- subprocess.call(args)
\ No newline at end of file
+ subprocess.call(args)
diff --git a/scripts/update_canary_angle.py b/scripts/update_canary_angle.py
old mode 100644
new mode 100755