-
Notifications
You must be signed in to change notification settings - Fork 390
/
SConscript
46 lines (37 loc) · 1.19 KB
/
SConscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
#
# -*- mode: python; -*-
# services directory
import sys
if sys.platform == 'darwin':
Return()
Import('AgentEnv')
env = AgentEnv.Clone()
SandeshGenFiles = env.SandeshGenCpp('pkt.sandesh')
SandeshGenSrcs = env.ExtractCpp(SandeshGenFiles)
env.Prepend(CPPPATH = env['TOP'] + '/vnsw/dp/sandesh')
sandesh_objs = AgentEnv.BuildExceptionCppObj(env, SandeshGenSrcs)
pkt_srcs = [
'flow_entry.cc',
'flow_event.cc',
'flow_table.cc',
'flow_token.cc',
'flow_handler.cc',
'flow_mgmt.cc',
'flow_mgmt_dbclient.cc',
'flow_proto.cc',
'flow_trace_filter.cc',
'packet_buffer.cc',
'pkt_init.cc',
'pkt_init.cc',
'pkt_handler.cc',
'pkt_flow_info.cc',
'pkt_sandesh_flow.cc',
'proto.cc',
'proto_handler.cc',
]
libservices = env.Library('pkt',
sandesh_objs +
pkt_srcs)
env.SConscript('test/SConscript', exports='AgentEnv', duplicate = 0)