blob: c7644f2f6f1c466a144fa0f14d83abe848c881ca [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/openweave-core/config.gni")
source_set("openweave-core") {
deps = [
"src/ble:BleLayer",
"src/inet:InetLayer",
"src/system:SystemLayer",
"src/lib/core:WeaveCore",
"src/lib/support:WeaveSupport",
"src/lib/profiles:WeaveProfiles",
]
if (weave_build_warm) {
deps += [ "src/warm:Warm" ]
}
configs += [ "//third_party/openweave-core/src/include:fuchsia" ]
public_configs = [ "//third_party/openweave-core/src/include:public" ]
public_deps = [ "//third_party/openweave-core/src/include:common" ]
}
# Provides OpenWeave plus the minimal dependencies to build.
source_set("openweave-core-minimal") {
public_deps = [ ":openweave-core" ]
sources = [ "src/adaptations/device-layer/PersistedStorage-Stub.cpp" ]
}