| # 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("SystemLayer") { |
| top_builddir = rebase_path("//third_party/openweave-core") |
| sources = [ |
| "$top_builddir/src/system/SystemClock.cpp", |
| "$top_builddir/src/system/SystemError.cpp", |
| "$top_builddir/src/system/SystemLayer.cpp", |
| "$top_builddir/src/system/SystemMutex.cpp", |
| "$top_builddir/src/system/SystemObject.cpp", |
| "$top_builddir/src/system/SystemPacketBuffer.cpp", |
| "$top_builddir/src/system/SystemStats.cpp", |
| "$top_builddir/src/system/SystemTimer.cpp", |
| ] |
| if (weave_with_nlfaultinjection) { |
| sources += [ "$top_builddir/src/system/SystemFaultInjection.cpp" ] |
| } |
| configs += [ "//third_party/openweave-core/src/include:fuchsia" ] |
| public_deps = [ "//third_party/openweave-core/src/include:common" ] |
| } |