ADD_DEFINITIONS("-DPROJECT_TAG=\"CAPMGR\"")
## Find all needed packages once
-PKG_CHECK_MODULES(GMOCK_DEPS REQUIRED gmock)
PKG_CHECK_MODULES(AUL_DEPS REQUIRED aul)
PKG_CHECK_MODULES(BUNDLE_DEPS REQUIRED bundle)
+PKG_CHECK_MODULES(CYNARA_CREDS_DEPS REQUIRED cynara-creds-gdbus)
PKG_CHECK_MODULES(DLOG_DEPS REQUIRED dlog)
PKG_CHECK_MODULES(GIO_DEPS REQUIRED gio-2.0)
PKG_CHECK_MODULES(GLIB_DEPS REQUIRED glib-2.0)
+PKG_CHECK_MODULES(GMOCK_DEPS REQUIRED gmock)
PKG_CHECK_MODULES(JSONCPP_DEPS REQUIRED jsoncpp)
PKG_CHECK_MODULES(MDG_DEPS REQUIRED capi-network-mdg)
PKG_CHECK_MODULES(PKGMGR_DEPS REQUIRED pkgmgr)
PKG_CHECK_MODULES(PKGMGR_INFO_DEPS REQUIRED pkgmgr-info)
-PKG_CHECK_MODULES(SQLITE_DEPS REQUIRED sqlite3)
-PKG_CHECK_MODULES(CYNARA_CREDS_DEPS REQUIRED cynara-creds-gdbus)
PKG_CHECK_MODULES(SMACK_DEPS REQUIRED libsmack)
+PKG_CHECK_MODULES(SQLITE_DEPS REQUIRED sqlite3)
FIND_PACKAGE(Boost REQUIRED COMPONENTS filesystem system)
Requires(post): /usr/bin/chsmack
BuildRequires: boost-devel
BuildRequires: cmake
-BuildRequires: pkgconfig(gmock)
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(bundle)
BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-network-mdg)
+BuildRequires: pkgconfig(cynara-creds-gdbus)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gmock)
BuildRequires: pkgconfig(jsoncpp)
+BuildRequires: pkgconfig(libsmack)
BuildRequires: pkgconfig(libtzplatform-config)
-BuildRequires: pkgconfig(capi-network-mdg)
BuildRequires: pkgconfig(pkgmgr)
BuildRequires: pkgconfig(pkgmgr-info)
BuildRequires: pkgconfig(sqlite3)
-BuildRequires: pkgconfig(cynara-creds-gdbus)
-BuildRequires: pkgconfig(libsmack)
%description
Tizen Capability Manager
APPLY_PKG_CONFIG(${TARGET_SQL_TEST} PUBLIC
DLOG_DEPS
GLIB_DEPS
- SQLITE_DEPS
GMOCK_DEPS
+ SQLITE_DEPS
)
APPLY_PKG_CONFIG(${TARGET_SMOKE_TEST} PUBLIC
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved\r
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved\r
// Use of this source code is governed by a apache 2.0 license that can be\r
// found in the LICENSE file.\r
\r
#include <gmock/gmock.h>\r
+\r
#include "common/capability_manager.h"\r
#include "mock/pkgmgr-info.h"\r
\r
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-// Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
+// Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.