blob: 49a49033f0e9f2a72ce1dc648a8c4ddb9e53d5f3 [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
# - app/ConcreteAttributePath.h
#
"${chip_root}/src/app/common:enums",
"${chip_root}/src/lib/core",
"${chip_root}/src/lib/support",
"${chip_root}/src/protocols/interaction_model",
]
}