Add sam configuration 12/278912/3
authorHyunsoo Park <hance.park@samsung.com>
Thu, 28 Jul 2022 04:32:44 +0000 (13:32 +0900)
committerHyunsoo Park <hance.park@samsung.com>
Fri, 29 Jul 2022 02:35:31 +0000 (11:35 +0900)
[Version] : 0.2.32
[Issue type] : add tool

Change-Id: I5f254fa83cb4dff245668612ec2a6591c660998e
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
packaging/capi-media-screen-mirroring.spec
sam_cli.cfg [new file with mode: 0644]
src_exclude.cfg [new file with mode: 0644]

index ecc31551a46bc0ac90a53db48c1c43e139e2ec5b..d3eff1edca006f1e81ab60ae79ff8240401f4a5d 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-screen-mirroring
 Summary:    A screen mirroring library in Tizen C API
-Version:    0.2.31
+Version:    0.2.32
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
diff --git a/sam_cli.cfg b/sam_cli.cfg
new file mode 100644 (file)
index 0000000..c264378
--- /dev/null
@@ -0,0 +1,95 @@
+#!/usr/bin/env bash
+#
+# Copyright (C) 2019 The SAM Tool Authors. All rights reserved.
+#
+#               SAM (S/W Architecture Maturity)
+#
+# Samsung Research,
+# Samsung Electronics Co., Ltd.
+#
+# This software and its documentation are confidential and proprietary
+# information of Samsung Electronics Co., Ltd.  No part of the software and
+# documents may be copied, reproduced, transmitted, translated, or reduced to
+# any electronic medium or machine-readable form without the prior written
+# consent of Samsung Electronics.
+#
+# Samsung Electronics makes no representations with respect to the contents,
+# and assumes no responsibility for any errors that might appear in the
+# software and documents. This publication and the contents here of are subject
+# to change without notice.
+#
+
+################################
+# Project Name
+################################
+SAM_PRJ_NAME="SAM_PROJECT"
+
+################################
+# Source Code
+################################
+#BUILD_CMD="gbs -c /home/usr/tizen/gbs_tizen5_unified.conf build -A armv7l --profile=profile.t5.armv7l --include-all --clean /home/usr/tizen/src_path/"
+BUILD_CMD="gbs build -A armv7l -P tizen_unified_standard --include-all --clean"
+CLEAN_CMD="gbs build -A armv7l -P tizen_unified_standard --include-all --clean"
+SRC_PATH="/home/hyunsoopark/dev/tizen/mypackages/screen-mirroring"
+SRC_LANG="c"                             # Supported languages : c, cpp, auto_c_cpp, java, cs, python, javascript, kotlin
+SRC_SCOPE="/home/hyunsoopark/dev/tizen/mypackages/screen-mirroring/src_scope.cfg"        # Scoping list
+SRC_SCOPE="$SRC_PATH;/home/abuild/rpmbuild/BUILD/capi-media-screen-mirroring-0.2.31" # Scoping list
+SRC_EXCLUDE="/home/hyunsoopark/dev/tizen/mypackages/screen-mirroring/src_exclude.cfg"    # Excluding list
+
+
+################################
+# SCRA
+################################
+SCRA_SKIP=FALSE                             # Options : TRUE, FALSE
+SCRA_RAW_DATA_PATH=".scap/workspace/scra"
+SCRA_ROOT_TO_CUT="/home/abuild/rpmbuild/BUILD/capi-media-screen-mirroring-0.2.31"
+#SCRA_USE_PARAM=TRUE
+#SCRA_VERSION=SVACE_3.0.0                   # Options : SVACE_3.0.0, SCRA_1.9.6
+
+
+################################
+# ART_BEAN (Convert SCRA data)
+################################
+ART_BEAN_SKIP=FALSE                         # Options : TRUE, FALSE
+
+
+################################
+# PMD CPD (Duplicated Code)
+################################
+PMD_SKIP=FALSE                              # Options : TRUE, FALSE
+PMD_RAW_DATA_PATH=".scap/workspace/pmd"
+PMD_USE_BUILT_PATH=FALSE                    # Options : TRUE, FALSE
+PMD_ROOT_TO_CUT=$SRC_PATH
+#PMD_EXCLUDE_LIST="config/src_exclude.cfg"  # Excluding list of PMD
+#PMD_RESULT_DETAIL_MODE=FALSE               # Options : TRUE, FALSE
+#PMD_HEAP_SIZE=2048m
+#PMD_ENCODING="utf-8"
+#PMD_ITERATE_LIST="/home/user/list.txt"     # PMD iterate execution list (must be absolute path)
+
+
+################################
+# Metrix++ (Preprocessor)
+###############################
+MPP_SKIP=FALSE
+MPP_RAW_DATA_PATH=".scap/workspace/metrixpp"
+MPP_ROOT_TO_CUT=$SRC_PATH
+#MPP_USE_BUILT_PATH=TRUE
+#MPP_EX_MACRO="config/macro_exclude.cfg"
+
+################################
+# Advanced Option
+################################
+#ADVANCED_SAM_OPTION="config/sam.cfg"
+#USE_EMBEDDED_LIB=TRUE
+#LMCD_INIT=FALSE
+
+SCAP_TOOL_PATH="hub/code-analysis-hub/bin/scap"
+SCAP=$SCAP_TOOL_PATH
+
+SEND_DATA_FLAG=FALSE
+GBS_BUILD=FALSE
+
+################################
+# Data Store Config File
+################################
+DATA_STORE_CONFIG_PATH=""
diff --git a/src_exclude.cfg b/src_exclude.cfg
new file mode 100644 (file)
index 0000000..4721c1f
--- /dev/null
@@ -0,0 +1,2 @@
+/test/
+/test_sink/