mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #13946 - mmatyas:android_dyncheck, r=larsbergstrom
Update `etc/ci/check_dynamic_symbols.py` Update `etc/ci/check_dynamic_symbols.py` to work after [the latest changes](https://github.com/servo/servo/pull/13945) in the Android build system. Part of #13154. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13946) <!-- Reviewable:end -->
This commit is contained in:
commit
b661f06916
1 changed files with 5 additions and 2 deletions
|
@ -9,16 +9,19 @@
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import absolute_import, print_function
|
||||||
|
|
||||||
import sys
|
import os
|
||||||
import re
|
import re
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import sys
|
||||||
|
|
||||||
symbol_regex = re.compile(b"D \*UND\*\t(.*) (.*)$")
|
symbol_regex = re.compile(b"D \*UND\*\t(.*) (.*)$")
|
||||||
allowed_symbols = frozenset([b'unshare', b'malloc_usable_size'])
|
allowed_symbols = frozenset([b'unshare', b'malloc_usable_size'])
|
||||||
actual_symbols = set()
|
actual_symbols = set()
|
||||||
|
|
||||||
objdump_output = subprocess.check_output([
|
objdump_output = subprocess.check_output([
|
||||||
'arm-linux-androideabi-objdump',
|
os.path.join(
|
||||||
|
os.environ['ANDROID_NDK'], 'toolchains', 'arm-linux-androideabi-4.9',
|
||||||
|
'prebuilt', 'linux-x86_64', 'bin', 'arm-linux-androideabi-objdump'),
|
||||||
'-T',
|
'-T',
|
||||||
'target/arm-linux-androideabi/debug/libservo.so']
|
'target/arm-linux-androideabi/debug/libservo.so']
|
||||||
).split(b'\n')
|
).split(b'\n')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue