OSDN Git Service

system/media build with BOARD_VNDK_VERSION
authorTri Vo <trong@google.com>
Tue, 27 Jun 2017 16:54:36 +0000 (09:54 -0700)
committerTri Vo <trong@google.com>
Tue, 27 Jun 2017 16:54:53 +0000 (09:54 -0700)
Bug: 37342627
Test: cd system/media && mma -j64 -k BOARD_VNDK_VERSION=current
Change-Id: I7f99fbe685a960f0506398cdb21a7d86d1d8d4a1

audio_utils/Android.bp
audio_utils/PowerLog.cpp

index bde8b4a..f0f0097 100644 (file)
@@ -35,10 +35,12 @@ cc_library {
 
     header_libs: [
         "libaudio_system_headers",
+        "libutils_headers",
     ],
 
     export_header_lib_headers: [
         "libaudio_system_headers",
+        "libutils_headers",
     ],
 
     shared_libs: [
index ab0dcaa..15048ba 100644 (file)
@@ -23,6 +23,7 @@
 #include <math.h>
 #include <sstream>
 #include <stdint.h>
+#include <unistd.h>
 
 #include <audio_utils/clock.h>
 #include <audio_utils/power.h>