Skip to content

Commit

Permalink
json-c: Remove header copying (LOCAL_COPY_HEADERS).
Browse files Browse the repository at this point in the history
Bug: 127507611
Test: treehugger
Change-Id: I49aa68cc85d06d807a8934baa2f8de68e51aa7c4
  • Loading branch information
asmundak authored and anayw2001 committed Sep 20, 2020
1 parent 25ca0ff commit 163313c
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
ifeq ($(PRODUCT_USES_QCOM_HARDWARE), true)

LIBJSON_ROOT := $(call my-dir)
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := libjson
LOCAL_PATH := $(LIBJSON_ROOT)
LOCAL_CFLAGS := -Werror -Wno-unused-parameter
LOCAL_COPY_HEADERS_TO := libjson/inc
LOCAL_COPY_HEADERS := bits.h \
config.h \
debug.h \
linkhash.h \
arraylist.h \
json.h \
json_config.h \
json_inttypes.h \
json_util.h \
json_object.h \
json_tokener.h \
json_object_iterator.h \
json_c_version.h
LOCAL_CFLAGS := -Werror -Wno-error=unused-parameter
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_SRC_FILES := arraylist.c \
debug.c \
json_c_version.c \
Expand Down

0 comments on commit 163313c

Please sign in to comment.