am c8d7d2d6: am 5234147c: Merge "move sync headers from include to libsync"
* commit 'c8d7d2d6b99f405ea3fcada0d2407baee23873f6': move sync headers from include to libsync
This commit is contained in:
commit
1892fe66ea
|
@ -22,7 +22,6 @@
|
|||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <sync/sync.h>
|
||||
#include <sys/cdefs.h>
|
||||
#include <system/graphics.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -5,6 +5,8 @@ LOCAL_SRC_FILES := sync.c
|
|||
LOCAL_MODULE := libsync
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_SHARED_LIBRARIES := liblog
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
@ -12,4 +14,5 @@ LOCAL_SRC_FILES := sync.c sync_test.c
|
|||
LOCAL_MODULE := sync_test
|
||||
LOCAL_MODULE_TAGS := optional tests
|
||||
LOCAL_SHARED_LIBRARIES := liblog
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
#ifndef __SYS_CORE_SW_SYNC_H
|
||||
#define __SYS_CORE_SW_SYNC_H
|
||||
|
||||
#include "sync.h"
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/*
|
|
@ -23,6 +23,7 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include <sync/sync.h>
|
||||
#include "sw_sync.h"
|
||||
|
||||
pthread_mutex_t printf_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
|
|
Loading…
Reference in New Issue