#!/usr/bin/env bash # # Copyright (C) 2018 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="tts_refactoring" ################################ # Source Code ################################ BUILD_CMD="gbs build -A armv7l -P tizen_latest --include-all --clean" CLEAN_CMD="gbs build -A armv7l -P tizen_latest --include-all --clean" SRC_PATH=$PWD SRC_LANG="auto_c_cpp" # Supported languages : c, java SRC_SCOPE="/home/abuild/rpmbuild/BUILD/tts-1.65.4;$SRC_PATH" # Scoping list #SRC_EXCLUDE="config/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/tts-1.65.4" ################################ # 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" ################################ # Analysis Hub (SCAP) ################################ SCAP_TOOL_PATH="hub/code-analysis-hub/bin/scap" SCAP=$SCAP_TOOL_PATH ################################ # Advanced Option ################################ #ADVANCED_SAM_OPTION="config/sam.cfg"