• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5# Android clang has emulated TLS now but not working for arm64.
6# BUG: 25294261, 25642296
7LOCAL_CLANG_arm64 := false
8
9LOCAL_SRC_FILES := \
10    libcap-ng-0.7/src/cap-ng.c \
11    libcap-ng-0.7/src/lookup_table.c
12
13LOCAL_C_INCLUDES += $(LOCAL_PATH)/libcap-ng-0.7/src
14LOCAL_MODULE := libcap-ng
15include $(BUILD_SHARED_LIBRARY)
16
17######################
18
19include $(CLEAR_VARS)
20LOCAL_SRC_FILES := libcap-ng-0.7/utils/pscap.c
21LOCAL_C_INCLUDES += $(LOCAL_PATH)/libcap-ng-0.7/src
22LOCAL_SHARED_LIBRARIES += libcap-ng
23LOCAL_MODULE := pscap
24include $(BUILD_EXECUTABLE)
25
26
27
28