diff options
author | Janis Danisevskis <jdanis@google.com> | 2016-08-10 11:49:43 +0100 |
---|---|---|
committer | Janis Danisevskis <jdanis@google.com> | 2016-08-19 15:15:31 +0100 |
commit | 74735be53714daf93ff58a830c94516c262eab00 (patch) | |
tree | 983493f1103a554ea8150711ff03a5cddcf3be98 | |
parent | 1fdb7269011acd49e50b4c800676562f44b4b749 (diff) | |
download | libselinux-74735be53714daf93ff58a830c94516c262eab00.tar.gz |
Toggels libselinux to build against PCRE2
Merged-In: I96ed1249a6032935906e8a0af4668eb42f9b1238
Bug: 24091652
Change-Id: I96ed1249a6032935906e8a0af4668eb42f9b1238
-rw-r--r-- | Android.bp | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,16 +1,16 @@ -// uncomment to build libselinux and related artifacts against PCRE2 -//common_LIBRARIES = ["libpcre2"] -//common_CFLAGS = [ -// "-DUSE_PCRE2", -// -// // Persistently stored patterns (pcre2) are architecture dependent. -// // In particular paterns built on amd64 can not run on devices with armv7 -// // (32bit). Therefore, this feature stays off for now. -// "-DNO_PERSISTENTLY_STORED_PATTERNS", -//] +common_LIBRARIES = ["libpcre2"] +common_CFLAGS = [ + "-DUSE_PCRE2", -common_LIBRARIES = ["libpcre"] -common_CFLAGS = [] + // Persistently stored patterns (pcre2) are architecture dependent. + // In particular paterns built on amd64 can not run on devices with armv7 + // (32bit). Therefore, this feature stays off for now. + "-DNO_PERSISTENTLY_STORED_PATTERNS", +] + +// uncomment to build libselinux and related artifacts against PCRE +// common_LIBRARIES = ["libpcre"] +// common_CFLAGS = [] cc_defaults { name: "libselinux_flags", |