summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanis Danisevskis <jdanis@google.com>2016-08-10 11:49:43 +0100
committerJanis Danisevskis <jdanis@google.com>2016-08-19 15:15:31 +0100
commit74735be53714daf93ff58a830c94516c262eab00 (patch)
tree983493f1103a554ea8150711ff03a5cddcf3be98
parent1fdb7269011acd49e50b4c800676562f44b4b749 (diff)
downloadlibselinux-74735be53714daf93ff58a830c94516c262eab00.tar.gz
Toggels libselinux to build against PCRE2
Merged-In: I96ed1249a6032935906e8a0af4668eb42f9b1238 Bug: 24091652 Change-Id: I96ed1249a6032935906e8a0af4668eb42f9b1238
-rw-r--r--Android.bp24
1 files changed, 12 insertions, 12 deletions
diff --git a/Android.bp b/Android.bp
index 458c1ef..9c4b1d4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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",