1 # Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License
15 ADD_OSQUERY_LIBRARY(osquery_tizen property/property.cpp
17 manager/manager_impl.cpp
18 notification/notification.cpp)
20 FILE(GLOB OSQUERY_TIZEN_TESTS "*/tests/*.cpp")
21 ADD_OSQUERY_TEST(${OSQUERY_TIZEN_TESTS})
24 SET(GBS_ONLY_PACKAGES klay
28 capi-network-wifi-manager)
30 INCLUDE(FindPkgConfig)
31 PKG_CHECK_MODULES(GBS_DEPS REQUIRED ${GBS_ONLY_PACKAGES})
32 INCLUDE_DIRECTORIES(SYSTEM ${GBS_DEPS_INCLUDE_DIRS})
34 ADD_OSQUERY_LINK(${GBS_DEPS_LIBRARIES})
35 ADD_OSQUERY_LIBRARY(device_policy_wifi device-policy/wifi/wifi.cpp
36 device-policy/wifi/wifi-impl.cpp)
37 ENDIF(DEFINED GBS_BUILD)