mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Update etc/ci/check_dynamic_symbols.py
to work after the latest changes
This commit is contained in:
parent
6b40f97289
commit
b0d2382c2d
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