1 Star 0 Fork 2

赵加海/frameworks_system_utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.96 KB
一键复制 编辑 原始数据 按行查看 历史
openvela-robot 提交于 2024-11-25 17:34 +08:00 . Merge commit
#
# Copyright (C) 2021 Xiaomi Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
include $(APPDIR)/Make.defs
ifneq ($(CONFIG_SCHED_INSTRUMENTATION_DUMP),)
CSRCS += trace/trace.c
endif
ifneq ($(CONFIG_ANDROID_LIBBASE),)
CSRCS += log/log_write.c log/set_abort_message.c
endif
ifneq ($(CONFIG_ATRACE),)
MAINSRC += trace/atrace.c
PROGNAME += atrace
endif
ifneq ($(CONFIG_KVDB),)
ifneq ($(CONFIG_KVDB_DIRECT),)
CSRCS += kvdb/direct.c
else
CSRCS += kvdb/client.c
endif # CONFIG_KVDB_DIRECT
CSRCS += kvdb/common.c kvdb/system_properties.c
MAINSRC += kvdb/setprop.c kvdb/getprop.c
PROGNAME += setprop getprop
ifneq ($(CONFIG_KVDB_SERVER),)
MAINSRC += kvdb/server.c
PROGNAME += kvdbd
endif # CONFIG_KVDB_SERVER
ifneq ($(CONFIG_KVDB_NVS),)
CSRCS += kvdb/nvs.c
else ifneq ($(CONFIG_KVDB_UNQLITE),)
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/external/unqlite/unqlite
CSRCS += kvdb/unqlite.c
else ifneq ($(CONFIG_KVDB_FILE),)
CSRCS += kvdb/file.c
endif # CONFIG_KVDB_NVS
ifneq ($(CONFIG_KVDB_QEMU_PROPERTIES),)
MAINSRC += kvdb/qemu_properties.c
PROGNAME += qemuprop
endif # CONFIG_KVDB_QEMU_PROPERTIES
PRIORITY = $(CONFIG_KVDB_PRIORITY)
STACKSIZE = $(CONFIG_KVDB_STACKSIZE)
MODULE = $(CONFIG_KVDB)
endif # CONFIG_KVDB
ASRCS := $(wildcard $(ASRCS))
CSRCS := $(wildcard $(CSRCS))
CXXSRCS := $(wildcard $(CXXSRCS))
MAINSRC := $(wildcard $(MAINSRC))
NOEXPORTSRCS = $(ASRCS)$(CSRCS)$(CXXSRCS)$(MAINSRC)
ifneq ($(NOEXPORTSRCS),)
BIN := $(APPDIR)/staging/libutils.a
endif
include $(APPDIR)/Application.mk
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/hackos/frameworks_system_utils.git
git@gitee.com:hackos/frameworks_system_utils.git
hackos
frameworks_system_utils
frameworks_system_utils
dev

搜索帮助