aboutsummaryrefslogtreecommitdiff
path: root/binary_search_tool/compiler_wrapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'binary_search_tool/compiler_wrapper.py')
-rwxr-xr-xbinary_search_tool/compiler_wrapper.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/binary_search_tool/compiler_wrapper.py b/binary_search_tool/compiler_wrapper.py
index a6d189b5..8755ed42 100755
--- a/binary_search_tool/compiler_wrapper.py
+++ b/binary_search_tool/compiler_wrapper.py
@@ -1,4 +1,9 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+# Copyright 2020 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""Prototype compiler wrapper.
Only tested with: gcc, g++, clang, clang++
@@ -21,7 +26,7 @@ import os
import shlex
import sys
-import bisect_driver
+from binary_search_tool import bisect_driver
WRAPPED = '%s.real' % sys.argv[0]
BISECT_STAGE = os.environ.get('BISECT_STAGE')