1# Copyright 2018 The Fuchsia Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5LOCAL_DIR := $(GET_LOCAL_DIR) 6 7fit_srcs := \ 8 $(LOCAL_DIR)/promise.cpp \ 9 $(LOCAL_DIR)/scheduler.cpp \ 10 $(LOCAL_DIR)/scope.cpp \ 11 $(LOCAL_DIR)/sequencer.cpp \ 12 $(LOCAL_DIR)/single_threaded_executor.cpp \ 13 14# 15# Userspace library. 16# 17 18# Disabled for now because libstdc++ isn't available for Zircon targets yet. 19# We need the target to exist for the SDK to pick it up though. 20MODULE_COMPILEFLAGS += -fvisibility=hidden \ 21 -DFIT_NO_STD_FOR_ZIRCON_USERSPACE 22 23MODULE := $(LOCAL_DIR) 24MODULE_TYPE := userlib 25MODULE_PACKAGE := src 26MODULE_SRCS := $(fit_srcs) 27 28include make/module.mk 29 30# 31# Host library. 32# 33 34MODULE := $(LOCAL_DIR).hostlib 35MODULE_TYPE := hostlib 36MODULE_SRCS := $(fit_srcs) 37 38include make/module.mk 39 40# Clear local variables. 41 42fit_srcs := 43