diff options
Diffstat (limited to 'linux')
-rwxr-xr-x | linux/ws_main.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/linux/ws_main.py b/linux/ws_main.py index 505853b6..e2364be4 100755 --- a/linux/ws_main.py +++ b/linux/ws_main.py @@ -139,23 +139,25 @@ net_src = SrcGroup(dir='src/common/Network/Packet', 'VLANHeader.cpp']); # RPC code -rpc_server_src = SrcGroup(dir='src/rpc-server/src', +rpc_server_src = SrcGroup(dir='src/rpc-server/', src_list=[ 'trex_rpc_server.cpp', 'trex_rpc_req_resp_server.cpp', 'trex_rpc_jsonrpc_v2_parser.cpp', 'trex_rpc_cmds_table.cpp', + 'trex_rpc_cmd.cpp', 'commands/trex_rpc_cmd_test.cpp', 'commands/trex_rpc_cmd_general.cpp', + 'commands/trex_rpc_cmd_stream.cpp', ]) # RPC mock server (test) -rpc_server_mock_src = SrcGroup(dir='src/rpc-server/src', +rpc_server_mock_src = SrcGroup(dir='src/rpc-server/', src_list=[ 'trex_rpc_server_mock.cpp', - '../../gtest/rpc_test.cpp', + '../gtest/rpc_test.cpp', ]) # JSON package @@ -222,7 +224,7 @@ cxxflags_base =['-DWIN_UCODE_SIM', includes_path =''' ../src/pal/linux/ ../src/ - ../src/rpc-server/include + ../src/rpc-server/ ../external_libs/json/ ../external_libs/zmq/include/ ../external_libs/yaml-cpp/include/ @@ -351,7 +353,7 @@ build_types = [ build_option(name = "bp-sim", src = bp, debug_mode= RELEASE_,platform = PLATFORM_32, is_pie = False), build_option(name = "bp-sim", src = bp, debug_mode= RELEASE_,platform = PLATFORM_64, is_pie = False), - # build_option(name = "mock-rpc-server", use = ['zmq'], src = rpc_server_mock, debug_mode= DEBUG_,platform = PLATFORM_64, is_pie = False), + build_option(name = "mock-rpc-server", use = ['zmq'], src = rpc_server_mock, debug_mode= DEBUG_,platform = PLATFORM_64, is_pie = False), ] |