Set environment variables
[platform/core/appfw/debug-launchpad.git] / include / defs.h
1 /*
2  * Copyright (c) 2015 - 2016 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 #ifndef __DEFS_H__
18 #define __DEFS_H__
19
20 #define AUL_K_STARTTIME "__AUL_STARTTIME__"
21 #define AUL_K_EXEC "__AUL_EXEC__"
22 #define AUL_K_PACKAGETYPE "__AUL_PACKAGETYPE__"
23 #define AUL_K_HWACC "__AUL_HWACC__"
24 #define AUL_K_APPID "__AUL_APPID__"
25 #define AUL_K_PID "__AUL_PID__"
26 #define AUL_K_TASKMANAGE "__AUL_TASKMANAGE__"
27 #define AUL_K_INTERNAL_POOL "__AUL_INTERNAL_POOL__"
28 #define AUL_K_PKGID "__AUL_PKGID_"
29 #define AUL_K_DEBUG "__AUL_DEBUG__"
30 #define AUL_K_SDK "__AUL_SDK__"
31 #define AUL_K_ORG_CALLER_PID "__AUL_ORG_CALLER_PID__"
32 #define AUL_K_CALLER_PID "__AUL_CALLER_PID__"
33 #define AUL_K_COMP_TYPE "__AUL_COMP_TYPE__"
34 #define AUL_K_PRIVACY_APPID "__AUL_PRIVACY_APPID__"
35 #define AUL_K_WAYLAND_DISPLAY "__AUL_WAYLAND_DISPLAY__"
36 #define AUL_K_WAYLAND_WORKING_DIR "__AUL_WAYLAND_WORKING_DIR__"
37 #define AUL_K_API_VERSION "__AUL_API_VERSION__"
38
39 #define SDK_CODE_COVERAGE "CODE_COVERAGE"
40 #define SDK_DEBUG "DEBUG"
41 #define SDK_UNIT_TEST "UNIT_TEST"
42 #define SDK_VALGRIND "VALGRIND"
43 #define SDK_ATTACH "ATTACH"
44
45 /* DLP is short for debug-launchpad */
46 #define DLP_K_DEBUG_ARG "__DLP_DEBUG_ARG__"
47 #define DLP_K_UNIT_TEST_ARG "__DLP_UNIT_TEST_ARG__"
48 #define DLP_K_VALGRIND_ARG "__DLP_VALGRIND_ARG__"
49 #define DLP_K_ATTACH_ARG "__DLP_ATTACH_ARG__"
50 #define DLP_K_GDBSERVER_PATH "__DLP_GDBSERVER_PATH__"
51 #define DLP_K_VALGRIND_PATH "__DLP_VALGRIND_PATH__"
52
53 #define OPT_VALGRIND_LOGFILE_FIXED "--log-file=/tmp/valgrind_result.txt"
54 #define OPT_VALGRIND_XMLFILE_FIXED "--xml-file=/tmp/valgrind_result.xml"
55 #define OPT_VALGRIND_MASSIFFILE_FIXED "--massif-out-file=/tmp/valgrind_result.xml"
56 #define PATH_VALGRIND_LOGFILE "/tmp/valgrind_result.txt"
57 #define PATH_VALGRIND_XMLFILE "/tmp/valgrind_result.xml"
58 #define PATH_VALGRIND_MASSIFFILE PATH_VALGRIND_XMLFILE
59
60 #endif /* __DEFS_H__ */
61