SConscript revision 11247
112600Sodanrc@yahoo.com.br# -*- mode:python -*- 212600Sodanrc@yahoo.com.br 312600Sodanrc@yahoo.com.br# Copyright (c) 2013 ARM Limited 412600Sodanrc@yahoo.com.br# All rights reserved. 512600Sodanrc@yahoo.com.br# 612600Sodanrc@yahoo.com.br# The license below extends only to copyright in the software and shall 712600Sodanrc@yahoo.com.br# not be construed as granting a license to any other intellectual 812600Sodanrc@yahoo.com.br# property including but not limited to intellectual property relating 912600Sodanrc@yahoo.com.br# to a hardware implementation of the functionality of the software 1012600Sodanrc@yahoo.com.br# licensed hereunder. You may use the software subject to the license 1112600Sodanrc@yahoo.com.br# terms below provided that you ensure that this notice is replicated 1212600Sodanrc@yahoo.com.br# unmodified and in its entirety in all distributions of the software, 1312600Sodanrc@yahoo.com.br# modified or unmodified, in source code or in binary form. 1412600Sodanrc@yahoo.com.br# 1512600Sodanrc@yahoo.com.br# Redistribution and use in source and binary forms, with or without 1612600Sodanrc@yahoo.com.br# modification, are permitted provided that the following conditions are 1712600Sodanrc@yahoo.com.br# met: redistributions of source code must retain the above copyright 1812600Sodanrc@yahoo.com.br# notice, this list of conditions and the following disclaimer; 1912600Sodanrc@yahoo.com.br# redistributions in binary form must reproduce the above copyright 2012600Sodanrc@yahoo.com.br# notice, this list of conditions and the following disclaimer in the 2112600Sodanrc@yahoo.com.br# documentation and/or other materials provided with the distribution; 2212600Sodanrc@yahoo.com.br# neither the name of the copyright holders nor the names of its 2312600Sodanrc@yahoo.com.br# contributors may be used to endorse or promote products derived from 2412600Sodanrc@yahoo.com.br# this software without specific prior written permission. 2512600Sodanrc@yahoo.com.br# 2612600Sodanrc@yahoo.com.br# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 2712600Sodanrc@yahoo.com.br# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2812600Sodanrc@yahoo.com.br# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2912600Sodanrc@yahoo.com.br# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3012600Sodanrc@yahoo.com.br# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3112600Sodanrc@yahoo.com.br# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3212600Sodanrc@yahoo.com.br# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3312600Sodanrc@yahoo.com.br# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3412600Sodanrc@yahoo.com.br# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3512600Sodanrc@yahoo.com.br# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3612626Sodanrc@yahoo.com.br# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3712607Sodanrc@yahoo.com.br# 3812600Sodanrc@yahoo.com.br# Authors: Matt Horsnell 3912601Sodanrc@yahoo.com.br 4012600Sodanrc@yahoo.com.brImport('*') 41 42if 'O3CPU' in env['CPU_MODELS']: 43 SimObject('SimpleTrace.py') 44 Source('simple_trace.cc') 45 DebugFlag('SimpleTrace') 46 47 if env['HAVE_PROTOBUF']: 48 SimObject('ElasticTrace.py') 49 Source('elastic_trace.cc') 50 DebugFlag('ElasticTrace') 51