Skip to content

Commit

Permalink
Convert the art_apex_test.py script to Python 2.
Browse files Browse the repository at this point in the history
This might help with build issues recently observed on the ART
Buildbot on the AOSP builders:
- aosp-builder-cc (https://ci.chromium.org/p/art/builders/ci/aosp-builder-cc);
- aosp-builder-cms (https://ci.chromium.org/p/art/builders/ci/aosp-builder-cms).

Test: m art-check-release-apex-gen-fakebin
Test: m art-check-debug-apex-gen-fakebin
Test: m art-check-testing-apex-gen-fakebin
Test: art/build/apex/runtests.sh
Test: Rely on ART Buildbot AOSP builders aosp-builder-cc and aosp-builder-cms
Bug: 139655167
Change-Id: I42574cbfd7c41c937483e3b81427cb9ce71f8925
  • Loading branch information
roland-levillain committed Aug 21, 2019
1 parent e5a9ba3 commit 29e740f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/apex/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,10 @@ python_binary_host {
main: "art_apex_test.py",
version: {
py2: {
enabled: false,
enabled: true,
},
py3: {
enabled: true,
enabled: false,
},
},
}
Expand Down
3 changes: 2 additions & 1 deletion build/apex/art_apex_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (C) 2019 The Android Open Source Project
#
Expand Down

0 comments on commit 29e740f

Please sign in to comment.