Skip to content
Permalink
Browse files

Update `etc/ci/check_dynamic_symbols.py` to work after the latest cha…

…nges
  • Loading branch information
mmatyas committed Oct 28, 2016
1 parent 6b40f97 commit b0d2382c2dc66775dfe82fe783777c62fc5c4f9d
Showing with 5 additions and 2 deletions.
  1. +5 −2 etc/ci/check_dynamic_symbols.py
@@ -9,16 +9,19 @@

from __future__ import absolute_import, print_function

import sys
import os
import re
import subprocess
import sys

symbol_regex = re.compile(b"D \*UND\*\t(.*) (.*)$")
allowed_symbols = frozenset([b'unshare', b'malloc_usable_size'])
actual_symbols = set()

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',
'target/arm-linux-androideabi/debug/libservo.so']
).split(b'\n')

0 comments on commit b0d2382

Please sign in to comment.
You can’t perform that action at this time.