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
7#
8# fidl.test.spaceship
9#
10
11MODULE := $(LOCAL_DIR).spaceship
12
13MODULE_TYPE := fidl
14
15MODULE_FIDL_LIBRARY := fidl.test.spaceship
16
17MODULE_SRCS += $(LOCAL_DIR)/spaceship.fidl
18
19include make/module.mk
20
21#
22# fidl.test.fakesocket
23#
24
25MODULE := $(LOCAL_DIR).fakesocket
26
27MODULE_TYPE := fidl
28
29MODULE_FIDL_LIBRARY := fidl.test.fakesocket
30
31MODULE_SRCS += $(LOCAL_DIR)/fakesocket.fidl
32
33include make/module.mk
34
35#
36# fidl-simple-test
37#
38
39MODULE := $(LOCAL_DIR)
40
41MODULE_TYPE := usertest
42
43MODULE_SRCS += \
44    $(LOCAL_DIR)/client_tests.c \
45    $(LOCAL_DIR)/fakesocket_tests.cpp \
46    $(LOCAL_DIR)/ldsvc_tests.c \
47    $(LOCAL_DIR)/main.c \
48    $(LOCAL_DIR)/server_tests.c \
49    $(LOCAL_DIR)/spaceship_tests.c \
50    $(LOCAL_DIR)/spaceship_tests.cpp \
51
52MODULE_NAME := fidl-simple-test
53
54MODULE_FIDL_LIBS := \
55    system/fidl/fuchsia-crash \
56    system/fidl/fuchsia-ldsvc \
57    system/fidl/fuchsia-mem \
58    system/utest/fidl-simple.fakesocket \
59    system/utest/fidl-simple.spaceship \
60
61MODULE_STATIC_LIBS := \
62    system/ulib/async \
63    system/ulib/async-loop \
64    system/ulib/fbl \
65    system/ulib/fidl \
66    system/ulib/fidl-async \
67    system/ulib/fidl-utils \
68    system/ulib/zx \
69    system/ulib/zxcpp \
70
71MODULE_LIBS := \
72    system/ulib/async.default \
73    system/ulib/c \
74    system/ulib/fdio \
75    system/ulib/unittest \
76    system/ulib/zircon \
77
78include make/module.mk
79