#===============================================================================
#
# MINk
#
# GENERAL DESCRIPTION
#    build script
#
# Copyright (c) 2011 by QUALCOMM, Incorporated.
# All Rights Reserved.
# QUALCOMM Proprietary/GTDR
#
#-------------------------------------------------------------------------------
#
#  $Header: //components/rel/ssg.tz/1.10/securemsm/trustzone/qsee/mink/build/SConscript#1 $
#  $DateTime: 2019/12/10 22:12:10 $
#  $Author: pwbldsvc $
#  $Change: 21772493 $
#                      EDIT HISTORY FOR FILE
#
#  This section contains comments describing changes made to the module.
#  Notice that changes are listed in reverse chronological order.
#
# when       who     what, where, why
# --------   ---     ---------------------------------------------------------
# 09/08/11           Initial Version
#===============================================================================
Import('env')
env = env.Clone()
#all mink needs the platform interface:
env.RequireRestrictedApi(['SSGPLATFORM', 'TZCHIPSET'])

env.RequireRestrictedApi(['MINK'])

CBSP_API = [
   'KERNEL',
   'DAL'
]

env.RequirePublicApi(CBSP_API, area='core')

env.Append(CFLAGS = " -Werror ")
env.Append(CFLAGS = " -std=gnu11 ")

if env['MSM_ID'] == '9205':
   env.Append(CPPDEFINES = "MDM9205")

#-------------------------------------------------------------------------------
# Load sub scripts
#-------------------------------------------------------------------------------
env.LoadSoftwareUnits()
env.Deploy(['../include/object.h',
            '../include/proxy_base.hpp',
            '../include/impl_base.hpp',
            '../oem/inc/oem.h',
            'SConscript'])
