diff options
author | Andrew Rossignol <aarossig@google.com> | 2017-05-10 15:49:59 -0700 |
---|---|---|
committer | Andrew Rossignol <aarossig@google.com> | 2017-05-16 13:51:24 -0700 |
commit | 9695b7bc89781c40aeb545ac0e879ff063590bf0 (patch) | |
tree | 70f6921db80866921512447bbb145019a6353883 /Makefile | |
parent | 99a6c39a9c8c6d06e2a77c11baef03b9fea0630a (diff) | |
download | chre-9695b7bc89781c40aeb545ac0e879ff063590bf0.tar.gz |
Compile CHRE with hidden visibility
- Export the API with a new DLL_EXPORT macro
- Prevents external code from calling into CHRE
Test: load_chre.sh, see activity.so load + run
Change-Id: Ic57fc7e15e115f394cb14e0a4f5729c25c21a1cf
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -52,6 +52,11 @@ COMMON_CFLAGS += -DCHRE_ASSERTIONS_ENABLED # Place nanoapps in a namespace. COMMON_CFLAGS += -DCHRE_NANOAPP_INTERNAL +# Force all CHRE symbols to be hidden by default. +COMMON_CFLAGS += -fvisibility=hidden + +# Hexagon Flags ################################################################ + # Define CUST_H to allow including the customer header file. HEXAGON_CFLAGS += -DCUST_H |