Change runtim-info keys to system-settings keys to apply vconf-internal-keys changes
[platform/framework/web/nwrt.git] / src / common / CMakeLists.txt
1 #
2 # Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
3 #
4 #    Licensed under the Apache License, Version 2.0 (the "License");
5 #    you may not use this file except in compliance with the License.
6 #    You may obtain a copy of the License at
7 #
8 #        http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #    Unless required by applicable law or agreed to in writing, software
11 #   distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #    See the License for the specific language governing permissions and
14 #    limitations under the License.
15 #
16
17 PKG_CHECK_MODULES(TARGET_COMMON_STATIC_DEPS
18   uuid
19   gio-2.0
20   dlog
21   capi-appfw-package-manager
22   capi-system-system-settings
23   capi-appfw-application
24   aul
25   appsvc
26   manifest-parser
27   manifest-handlers
28   REQUIRED
29 )
30
31 SET(TARGET_COMMON_STATIC_INCS
32   ${BASE_SRCDIR}
33   ${TARGET_COMMON_STATIC_DEPS_INCLUDE_DIRS}
34 )
35
36 SET(TARGET_COMMON_STATIC_SRCS
37   ${BASE_SRCDIR}/common/constants.cc
38   ${BASE_SRCDIR}/common/file_utils.cc
39   ${BASE_SRCDIR}/common/string_utils.cc
40   ${BASE_SRCDIR}/common/command_line.cc
41   ${BASE_SRCDIR}/common/dbus_server.cc
42   ${BASE_SRCDIR}/common/dbus_client.cc
43   ${BASE_SRCDIR}/common/profiler.cc
44   ${BASE_SRCDIR}/common/resource_manager.cc
45   ${BASE_SRCDIR}/common/application_data.cc
46   ${BASE_SRCDIR}/common/app_control.cc
47   ${BASE_SRCDIR}/common/locale_manager.cc
48   ${BASE_SRCDIR}/common/app_db.cc
49 )
50
51 INCLUDE_DIRECTORIES(${TARGET_COMMON_STATIC_INCS})
52 ADD_LIBRARY(${TARGET_COMMON_STATIC} STATIC
53   ${TARGET_COMMON_STATIC_SRCS}
54 )
55 SET_TARGET_PROPERTIES(${TARGET_COMMON_STATIC} PROPERTIES
56     COMPILE_FLAGS -fPIC)
57 TARGET_LINK_LIBRARIES(${TARGET_COMMON_STATIC}
58   ${TARGET_COMMON_STATIC_DEPS_LIBRARIES}
59 )