Commit Graph

2 Commits

Author SHA1 Message Date
Mitchel Humpherys 2f0effe6cc AppOps: LD_LIBRARY_PATH hack for xmllint
Apparently the Android build system is doing some LD_LIBRARY_PATH
shenanigans that causes build issues on Linux hosts using incompatible
C/C++ standard library ABI versions, for example.  This causes xmllint
to refuse to run on an Ubuntu 15.04 host.  The exact error message in
this case is:

    xmllint: prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/lib64/libstdc++.so.6: \
        version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.52)

Apply an LD_LIBRARY_PATH hack of our own to make sure the host standard
c++ library is used while running xmllint.

Change-Id: I13dc8918a27045eda64e0b5b2cfaa14171e5b6df
2016-07-11 14:51:36 -07:00
Shashank Mittal df1aa36f88 AppOps: Add new appos policy file.
AppOps policy file can be used to configure default permissions of OPs.
Change-Id: I3920c37e11d5bb104245e264915dc72e7e97e64e
2014-08-07 19:21:01 -07:00