summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-02-01 07:17:57 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-02-01 07:17:57 +0000
commit5ac02a0ba9f39591758bab4516dd0725747af0c3 (patch)
tree91c70ff36200356813e0992c39b8b0d47d85aa0b
parent5f11212d9eab1d1379d0324b47be9df5b2e90906 (diff)
parent94c8d00a1f3716d9627001c559793e1871e83dda (diff)
downloadarm-linux-androideabi-4.9-android11-qpr3-s1-release.tar.gz
gcc-4.9: remove GCC from Android am: 7e837ec55a am: 5dda588023 am: 94c8d00a1fr_aml_301500702android-mainline-12.0.0_r55android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r45android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r4android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r33android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r2android-mainline-11.0.0_r19android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android-mainline-11.0.0_r10android-mainline-11.0.0_r1android-11.0.0_r9android-11.0.0_r8android-11.0.0_r7android-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android-11.0.0_r16android-11.0.0_r15android-11.0.0_r14android-11.0.0_r13android-11.0.0_r12android-11.0.0_r11android-11.0.0_r10android11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-mainline-tethering-releaseandroid11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-devandroid11-d2-releaseandroid11-d1-s7-releaseandroid11-d1-s6-releaseandroid11-d1-s5-releaseandroid11-d1-s1-releaseandroid11-d1-releaseandroid11-d1-b-release
Change-Id: Ibb71451289e25984005a5503677155c11567fd90
-rwxr-xr-xbin/40337694-a816-11e9-ad6c-9bcb01b061bd-brokenbin784928 -> 0 bytes
-rwxr-xr-xbin/561b170a-a816-11e9-b283-6b5a5e00ead0-brokenbin789024 -> 0 bytes
l---------bin/arm-linux-androideabi-c++1
-rwxr-xr-xbin/arm-linux-androideabi-g++-broken77
l---------bin/arm-linux-androideabi-gcc-4.91
-rwxr-xr-xbin/arm-linux-androideabi-gcc-4.9.x-brokenbin784928 -> 0 bytes
-rwxr-xr-xbin/arm-linux-androideabi-gcc-broken77
l---------bin/arm-linux-androidkernel-cpp1
l---------bin/arm-linux-androidkernel-gcc1
9 files changed, 0 insertions, 158 deletions
diff --git a/bin/40337694-a816-11e9-ad6c-9bcb01b061bd-broken b/bin/40337694-a816-11e9-ad6c-9bcb01b061bd-broken
deleted file mode 100755
index 0bfbd65..0000000
--- a/bin/40337694-a816-11e9-ad6c-9bcb01b061bd-broken
+++ /dev/null
Binary files differ
diff --git a/bin/561b170a-a816-11e9-b283-6b5a5e00ead0-broken b/bin/561b170a-a816-11e9-b283-6b5a5e00ead0-broken
deleted file mode 100755
index 5c275a7..0000000
--- a/bin/561b170a-a816-11e9-b283-6b5a5e00ead0-broken
+++ /dev/null
Binary files differ
diff --git a/bin/arm-linux-androideabi-c++ b/bin/arm-linux-androideabi-c++
deleted file mode 120000
index 818bae6..0000000
--- a/bin/arm-linux-androideabi-c++
+++ /dev/null
@@ -1 +0,0 @@
-arm-linux-androideabi-g++ \ No newline at end of file
diff --git a/bin/arm-linux-androideabi-g++-broken b/bin/arm-linux-androideabi-g++-broken
deleted file mode 100755
index 6958262..0000000
--- a/bin/arm-linux-androideabi-g++-broken
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/usr/bin/python
-
-from __future__ import print_function
-import os
-import sys
-import time
-
-class CompilerWrapper():
- def __init__(self, argv):
- self.args = argv
- self.execargs = []
- self.real_compiler = None
- self.argv0 = None
- self.append_flags = []
- self.prepend_flags = []
- self.custom_flags = {
- '--gomacc-path': None
- }
-
- def set_real_compiler(self):
- """Find the real compiler with the absolute path."""
- compiler_path = os.path.dirname(os.path.abspath(__file__))
- if os.path.islink(__file__):
- compiler = os.path.basename(os.readlink(__file__))
- else:
- compiler = os.path.basename(os.path.abspath(__file__))
- self.real_compiler = os.path.join(
- compiler_path,
- "561b170a-a816-11e9-b283-6b5a5e00ead0")
- self.argv0 = self.real_compiler
-
- def process_gomacc_command(self):
- """Return the gomacc command if '--gomacc-path' is set."""
- gomacc = self.custom_flags['--gomacc-path']
- if gomacc and os.path.isfile(gomacc):
- self.argv0 = gomacc
- self.execargs += [gomacc]
-
- def parse_custom_flags(self):
- i = 0
- args = []
- while i < len(self.args):
- if self.args[i] in self.custom_flags:
- self.custom_flags[self.args[i]] = self.args[i + 1]
- i = i + 2
- else:
- args.append(self.args[i])
- i = i + 1
- self.args = args
-
- def add_flags(self):
- self.args = self.prepend_flags + self.args + self.append_flags
-
- def print_deprecation_warning(self):
- print("Android GCC has been deprecated in favor of Clang, and will be removed from\n"
- "Android in 2020-01 as per the deprecation plan in:\n"
- "https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md\n\n",
- file=sys.stderr)
-
-
- def invoke_compiler(self):
- self.print_deprecation_warning()
- self.set_real_compiler()
- self.parse_custom_flags()
- self.process_gomacc_command()
- self.add_flags()
- self.execargs += [self.real_compiler] + self.args
- time.sleep(3)
- os.execv(self.argv0, self.execargs)
-
-
-def main(argv):
- cw = CompilerWrapper(argv[1:])
- cw.invoke_compiler()
-
-if __name__ == "__main__":
- main(sys.argv)
diff --git a/bin/arm-linux-androideabi-gcc-4.9 b/bin/arm-linux-androideabi-gcc-4.9
deleted file mode 120000
index b8b9fad..0000000
--- a/bin/arm-linux-androideabi-gcc-4.9
+++ /dev/null
@@ -1 +0,0 @@
-arm-linux-androideabi-gcc \ No newline at end of file
diff --git a/bin/arm-linux-androideabi-gcc-4.9.x-broken b/bin/arm-linux-androideabi-gcc-4.9.x-broken
deleted file mode 100755
index 0bfbd65..0000000
--- a/bin/arm-linux-androideabi-gcc-4.9.x-broken
+++ /dev/null
Binary files differ
diff --git a/bin/arm-linux-androideabi-gcc-broken b/bin/arm-linux-androideabi-gcc-broken
deleted file mode 100755
index 831df9e..0000000
--- a/bin/arm-linux-androideabi-gcc-broken
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/usr/bin/python
-
-from __future__ import print_function
-import os
-import sys
-import time
-
-class CompilerWrapper():
- def __init__(self, argv):
- self.args = argv
- self.execargs = []
- self.real_compiler = None
- self.argv0 = None
- self.append_flags = []
- self.prepend_flags = []
- self.custom_flags = {
- '--gomacc-path': None
- }
-
- def set_real_compiler(self):
- """Find the real compiler with the absolute path."""
- compiler_path = os.path.dirname(os.path.abspath(__file__))
- if os.path.islink(__file__):
- compiler = os.path.basename(os.readlink(__file__))
- else:
- compiler = os.path.basename(os.path.abspath(__file__))
- self.real_compiler = os.path.join(
- compiler_path,
- "40337694-a816-11e9-ad6c-9bcb01b061bd")
- self.argv0 = self.real_compiler
-
- def process_gomacc_command(self):
- """Return the gomacc command if '--gomacc-path' is set."""
- gomacc = self.custom_flags['--gomacc-path']
- if gomacc and os.path.isfile(gomacc):
- self.argv0 = gomacc
- self.execargs += [gomacc]
-
- def parse_custom_flags(self):
- i = 0
- args = []
- while i < len(self.args):
- if self.args[i] in self.custom_flags:
- self.custom_flags[self.args[i]] = self.args[i + 1]
- i = i + 2
- else:
- args.append(self.args[i])
- i = i + 1
- self.args = args
-
- def add_flags(self):
- self.args = self.prepend_flags + self.args + self.append_flags
-
- def print_deprecation_warning(self):
- print("Android GCC has been deprecated in favor of Clang, and will be removed from\n"
- "Android in 2020-01 as per the deprecation plan in:\n"
- "https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md\n\n",
- file=sys.stderr)
-
-
- def invoke_compiler(self):
- self.print_deprecation_warning()
- self.set_real_compiler()
- self.parse_custom_flags()
- self.process_gomacc_command()
- self.add_flags()
- self.execargs += [self.real_compiler] + self.args
- time.sleep(10)
- os.execv(self.argv0, self.execargs)
-
-
-def main(argv):
- cw = CompilerWrapper(argv[1:])
- cw.invoke_compiler()
-
-if __name__ == "__main__":
- main(sys.argv)
diff --git a/bin/arm-linux-androidkernel-cpp b/bin/arm-linux-androidkernel-cpp
deleted file mode 120000
index c4b7347..0000000
--- a/bin/arm-linux-androidkernel-cpp
+++ /dev/null
@@ -1 +0,0 @@
-arm-linux-androideabi-cpp \ No newline at end of file
diff --git a/bin/arm-linux-androidkernel-gcc b/bin/arm-linux-androidkernel-gcc
deleted file mode 120000
index b8b9fad..0000000
--- a/bin/arm-linux-androidkernel-gcc
+++ /dev/null
@@ -1 +0,0 @@
-arm-linux-androideabi-gcc \ No newline at end of file