1# Copyright 2016 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
7MODULE := $(LOCAL_DIR).hostapp
8
9MODULE_TYPE := hosttest
10
11MODULE_NAME := fs-test
12
13MODULE_SRCS := \
14    $(LOCAL_DIR)/main.cpp \
15    $(LOCAL_DIR)/util.cpp \
16    $(LOCAL_DIR)/test-basic.cpp \
17    $(LOCAL_DIR)/test-directory.cpp \
18    $(LOCAL_DIR)/test-maxfile.cpp \
19    $(LOCAL_DIR)/test-rw-workers.cpp \
20    $(LOCAL_DIR)/test-sparse.cpp \
21    $(LOCAL_DIR)/test-truncate.cpp \
22    system/ulib/bitmap/raw-bitmap.cpp \
23
24MODULE_COMPILEFLAGS := \
25    -Werror-implicit-function-declaration \
26    -Wstrict-prototypes -Wwrite-strings \
27    -Isystem/ulib/unittest/include \
28    -Isystem/ulib/bitmap/include \
29    -Isystem/ulib/fs/include \
30    -Isystem/ulib/fs-management/include \
31    -Isystem/ulib/fzl/include \
32    -Isystem/ulib/minfs/include \
33    -Isystem/ulib/fbl/include \
34    -Isystem/ulib/fdio/include \
35    -Isystem/ulib/zxcpp/include \
36    -Isystem/ulib/fbl/include \
37    -Isystem/ulib/fdio/include \
38    -Isystem/ulib/zircon-internal/include \
39    -Isystem/ulib/zircon/include \
40
41MODULE_HOST_LIBS := \
42    system/ulib/unittest.hostlib \
43    system/ulib/pretty.hostlib \
44    system/ulib/minfs.hostlib \
45    system/ulib/fbl.hostlib \
46    system/ulib/fs.hostlib \
47
48include make/module.mk
49