SConscript (11247:76f75db08e09) SConscript (11807:63325e5b0a9d)
1# -*- mode:python -*-
2
1# -*- mode:python -*-
2
3# Copyright (c) 2012 ARM Limited
3# Copyright (c) 2012,2017 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating
9# to a hardware implementation of the functionality of the software
10# licensed hereunder. You may use the software subject to the license
11# terms below provided that you ensure that this notice is replicated

--- 28 unchanged lines hidden (view full) ---

40Import('*')
41
42# Only build if we have protobuf support
43if env['HAVE_PROTOBUF']:
44 ProtoBuf('inst_dep_record.proto')
45 ProtoBuf('packet.proto')
46 ProtoBuf('inst.proto')
47 Source('protoio.cc')
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating
9# to a hardware implementation of the functionality of the software
10# licensed hereunder. You may use the software subject to the license
11# terms below provided that you ensure that this notice is replicated

--- 28 unchanged lines hidden (view full) ---

40Import('*')
41
42# Only build if we have protobuf support
43if env['HAVE_PROTOBUF']:
44 ProtoBuf('inst_dep_record.proto')
45 ProtoBuf('packet.proto')
46 ProtoBuf('inst.proto')
47 Source('protoio.cc')
48
49 # protoc relies on the fact that undefined preprocessor symbols are
50 # explanded to 0 but since we use -Wundef they end up generating
51 # warnings.
52 env.Append(CCFLAGS='-DPROTOBUF_INLINE_NOT_IN_HEADERS=0')