blob: 9b04882a60ec9c51ffa0cd5a984ba1671b38f5da [file] [log] [blame]
# Copyright (c) 2024 Project CHIP Authors
#
# 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.
import("//build_overrides/chip.gni")
source_set("data-model") {
sources = [
"BasicTypes.h",
"DecodableList.h",
"Decode.h",
"Encode.h",
"FabricScoped.h",
"FabricScopedPreEncodedValue.cpp",
"FabricScopedPreEncodedValue.h",
"List.h",
"NullObject.h",
"Nullable.h",
"PreEncodedValue.cpp",
"PreEncodedValue.h",
"TagBoundEncoder.h",
"WrappedStructEncoder.h",
]
deps = [
# TODO: dependencies NOT declared because they are not part of
# any GN dependency. Overall src/app seems to suffer greatly
# of this, in part due to zap-generated code dependency.
#
# - app/util/attribute-storage-null-handling.h
#
"${chip_root}/src/app:paths",
"${chip_root}/src/app/common:enums",
"${chip_root}/src/lib/core",
"${chip_root}/src/lib/support",
"${chip_root}/src/protocols/interaction_model",
]
}