Migrate to Python 3
Python 2 will not be maintained past April 2020. Fortunately our scripts
require almost no changes to continue working under Python 3.
This patch forces the use of `python3` binary for all `action*` build
targets in GN and updates hashbang directives in our scripts.
Change-Id: Ic34ac547dfe5f85023ddcf4d1a969818f94a72fb
diff --git a/build/image/convert_to_binary.py b/build/image/convert_to_binary.py
index 482b70e..978d359 100644
--- a/build/image/convert_to_binary.py
+++ b/build/image/convert_to_binary.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright 2018 The Hafnium Authors.
#
@@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-#!/usr/bin/env python
"""Convert a file to binary format.
Calls objcopy to convert a file into raw binary format.