• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Makefile for Pigweed's function module
3#
4
5# Environment Checks
6ifeq ($(ANDROID_BUILD_TOP),)
7$(error "You should supply an ANDROID_BUILD_TOP environment variable \
8         containing a path to the Android source tree. This is typically \
9         provided by initializing the Android build environment.")
10endif
11
12# Location of Pigweed
13PIGWEED_DIR = $(ANDROID_BUILD_TOP)/external/pigweed
14PIGWEED_CHRE_DIR = $(ANDROID_BUILD_TOP)/system/chre/external/pigweed
15
16# Pigweed include paths
17COMMON_CFLAGS += -I$(PIGWEED_CHRE_DIR)/pw_log_nanoapp/public_overrides
18COMMON_CFLAGS += -I$(PIGWEED_CHRE_DIR)/pw_assert_nanoapp/public_overrides
19COMMON_CFLAGS += -I$(PIGWEED_DIR)/pw_assert/public
20COMMON_CFLAGS += -I$(PIGWEED_DIR)/pw_log/public
21COMMON_CFLAGS += -I$(PIGWEED_DIR)/pw_function/public
22COMMON_CFLAGS += -I$(PIGWEED_DIR)/pw_polyfill/public
23COMMON_CFLAGS += -I$(PIGWEED_DIR)/pw_preprocessor/public
24COMMON_CFLAGS += -I$(PIGWEED_DIR)/third_party/fuchsia/repo/sdk/lib/fit/include
25COMMON_CFLAGS += -I$(PIGWEED_DIR)/third_party/fuchsia/repo/sdk/lib/stdcompat/include
26