summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Crane <sjc@immunant.com>2020-09-25 15:38:50 -0700
committerStephen Crane <sjc@immunant.com>2021-04-19 13:54:29 -0700
commit7a1f7d46781d43e4dae6554c436830d8551c77ec (patch)
treedb5c6333cf7584399f48870a24ec1ed5666e3086
parenta41028ab5d2997449eb0d865d34c377cd6fde4f6 (diff)
downloadgatekeeper-7a1f7d46781d43e4dae6554c436830d8551c77ec.tar.gz
Add gatekeeper app to userspace library build system
Switch to building gatekeeper with the trusted_app.mk system instead of as a generic lk module. This allows the app to depend on common userspace static libraries. Test: build.py qemu-generic-arm64-test-debug Bug: 169448829 Change-Id: I1798bd8ae04d6c748a6e5fa038965496e43a7745
-rw-r--r--rules.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules.mk b/rules.mk
index 608c7a6..53abe70 100644
--- a/rules.mk
+++ b/rules.mk
@@ -24,7 +24,7 @@ MODULE_SRCS += \
IPC := ipc
-MODULE_DEPS += \
+MODULE_LIBRARY_DEPS += \
trusty/user/base/lib/libc-trusty \
trusty/user/base/lib/libstdc++-trusty \
trusty/user/base/lib/rng \
@@ -32,6 +32,7 @@ MODULE_DEPS += \
trusty/user/base/lib/storage \
trusty/user/base/lib/keymaster \
system/gatekeeper \
+ external/boringssl \
MODULE_INCLUDES += \
$(LOCAL_DIR) \
@@ -54,5 +55,4 @@ MODULE_DEFINES += \
include $(LOCAL_DIR)/$(IPC)/rules.mk
-include make/module.mk
-
+include make/trusted_app.mk