OSDN Git Service

Another go at fixing the Mac build.
authorElliott Hughes <enh@google.com>
Mon, 10 Aug 2015 21:51:20 +0000 (14:51 -0700)
committerElliott Hughes <enh@google.com>
Mon, 10 Aug 2015 21:51:20 +0000 (14:51 -0700)
I don't want to have to work out how to disable building OTAs on Macs --
though we should -- but it actually looks like this file didn't need the
problematic header file anyway.

Change-Id: I9d7eff8e72192958b3e880ae48fef194820ce148

verity/Android.mk
verity/verify_boot_signature.c

index 1d0574f..bbe74bb 100644 (file)
@@ -1,7 +1,5 @@
 LOCAL_PATH:= $(call my-dir)
 
-ifeq ($(HOST_OS),linux)
-
 include $(CLEAR_VARS)
 LOCAL_MODULE := verify_boot_signature
 LOCAL_SRC_FILES := verify_boot_signature.c
@@ -103,5 +101,3 @@ LOCAL_STATIC_LIBRARIES := libsparse_host libz
 LOCAL_SHARED_LIBRARIES := libcrypto-host libbase
 LOCAL_CFLAGS += -Wall -Werror
 include $(BUILD_HOST_EXECUTABLE)
-
-endif # HOST_OS == linux
index 58b7a19..62c87da 100644 (file)
@@ -16,7 +16,6 @@
 
 #define _LARGEFILE64_SOURCE
 
-#include <endian.h>
 #include <stddef.h>
 #include <stdint.h>
 #include <stdlib.h>