DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master

Bug: 132622481
Change-Id: I412fce0a111b51a5a56bb455cb3588d92ceb30ec
diff --git a/Android.bp b/Android.bp
index 4abfa16..db39f62 100644
--- a/Android.bp
+++ b/Android.bp
@@ -9,6 +9,7 @@
         "-Wall",
         "-Werror",
         "-Wno-unused-variable",
+        "-Wno-null-pointer-arithmetic",
     ],
 
     export_include_dirs: [
diff --git a/decoder/ih264d_dpb_mgr.c b/decoder/ih264d_dpb_mgr.c
index b7ee498..74ecdb5 100644
--- a/decoder/ih264d_dpb_mgr.c
+++ b/decoder/ih264d_dpb_mgr.c
@@ -18,8 +18,7 @@
  * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
 */
 #ifdef __ANDROID__
-#include "log/log.h"
-#include <cutils/log.h>
+#include <log/log.h>
 #endif
 #include "ih264_typedefs.h"
 #include "ih264_macros.h"
diff --git a/test/Android.bp b/test/Android.bp
index 9e34a51..2a5b6c7 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -27,7 +27,6 @@
         "-DARM",
         "-DMD5_DISABLE",
         "-fPIC",
-        "-pie",
         "-Wall",
         "-Werror",
         "-Wno-unused-variable",