SConscript revision 9850
13096SN/A# -*- mode:python -*- 23096SN/A 310726Sandreas.hansson@arm.com# Copyright (c) 2012 ARM Limited 411103Snilay@cs.wisc.edu# All rights reserved. 511103Snilay@cs.wisc.edu# 68428SN/A# The license below extends only to copyright in the software and shall 711138Sandreas.hansson@arm.com# not be construed as granting a license to any other intellectual 811138Sandreas.hansson@arm.com# property including but not limited to intellectual property relating 911138Sandreas.hansson@arm.com# to a hardware implementation of the functionality of the software 1011138Sandreas.hansson@arm.com# licensed hereunder. You may use the software subject to the license 1111138Sandreas.hansson@arm.com# terms below provided that you ensure that this notice is replicated 129150SAli.Saidi@ARM.com# unmodified and in its entirety in all distributions of the software, 139150SAli.Saidi@ARM.com# modified or unmodified, in source code or in binary form. 1410036SAli.Saidi@ARM.com# 1510036SAli.Saidi@ARM.com# Redistribution and use in source and binary forms, with or without 1611103Snilay@cs.wisc.edu# modification, are permitted provided that the following conditions are 1711103Snilay@cs.wisc.edu# met: redistributions of source code must retain the above copyright 1811103Snilay@cs.wisc.edu# notice, this list of conditions and the following disclaimer; 1911103Snilay@cs.wisc.edu# redistributions in binary form must reproduce the above copyright 2011103Snilay@cs.wisc.edu# notice, this list of conditions and the following disclaimer in the 2111103Snilay@cs.wisc.edu# documentation and/or other materials provided with the distribution; 2211103Snilay@cs.wisc.edu# neither the name of the copyright holders nor the names of its 2311103Snilay@cs.wisc.edu# contributors may be used to endorse or promote products derived from 2411103Snilay@cs.wisc.edu# this software without specific prior written permission. 2511103Snilay@cs.wisc.edu# 2611103Snilay@cs.wisc.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 2711103Snilay@cs.wisc.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2811103Snilay@cs.wisc.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2911103Snilay@cs.wisc.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3011103Snilay@cs.wisc.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3111103Snilay@cs.wisc.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3211103Snilay@cs.wisc.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 339978Sandreas.hansson@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3411103Snilay@cs.wisc.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 359978Sandreas.hansson@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3611103Snilay@cs.wisc.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 379978Sandreas.hansson@arm.com# 389978Sandreas.hansson@arm.com# Authors: Andreas Hansson 3911103Snilay@cs.wisc.edu 409978Sandreas.hansson@arm.comImport('*') 419978Sandreas.hansson@arm.com 429978Sandreas.hansson@arm.com# Only build if we have protobuf support 439978Sandreas.hansson@arm.comif env['HAVE_PROTOBUF']: 4411103Snilay@cs.wisc.edu ProtoBuf('packet.proto') 4511103Snilay@cs.wisc.edu Source('protoio.cc') 469978Sandreas.hansson@arm.com