OLD | NEW |
| (Empty) |
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | |
2 # | |
3 # Use of this source code is governed by a BSD-style license | |
4 # that can be found in the LICENSE file in the root of the source | |
5 # tree. An additional intellectual property rights grant can be found | |
6 # in the file PATENTS. All contributing project authors may | |
7 # be found in the AUTHORS file in the root of the source tree. | |
8 | |
9 { | |
10 'targets': [ | |
11 { | |
12 'target_name': 'bwe_standalone', | |
13 'type': 'executable', | |
14 'dependencies': [ | |
15 'matlab_plotting', | |
16 'rtp_rtcp', | |
17 'udp_transport', | |
18 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
19 ], | |
20 'sources': [ | |
21 'BWEStandAlone/BWEStandAlone.cc', | |
22 'BWEStandAlone/TestLoadGenerator.cc', | |
23 'BWEStandAlone/TestLoadGenerator.h', | |
24 'BWEStandAlone/TestSenderReceiver.cc', | |
25 'BWEStandAlone/TestSenderReceiver.h', | |
26 ], # source | |
27 'conditions': [ | |
28 ['OS=="linux"', { | |
29 'cflags': [ | |
30 '-fexceptions', # enable exceptions | |
31 ], | |
32 }, | |
33 ], | |
34 ], | |
35 }, | |
36 | |
37 { | |
38 'target_name': 'matlab_plotting', | |
39 'type': 'static_library', | |
40 'dependencies': [ | |
41 'matlab_plotting_include', | |
42 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
43 ], | |
44 'include_dirs': [ | |
45 '/opt/matlab2010a/extern/include', | |
46 ], | |
47 'export_dependent_settings': [ | |
48 'matlab_plotting_include', | |
49 ], | |
50 'sources': [ | |
51 'BWEStandAlone/MatlabPlot.cc', | |
52 'BWEStandAlone/MatlabPlot.h', | |
53 ], | |
54 'link_settings': { | |
55 'ldflags' : [ | |
56 '-L/opt/matlab2010a/bin/glnxa64', | |
57 '-leng', | |
58 '-lmx', | |
59 '-Wl,-rpath,/opt/matlab2010a/bin/glnxa64', | |
60 ], | |
61 }, | |
62 'defines': [ | |
63 'MATLAB', | |
64 ], | |
65 'conditions': [ | |
66 ['OS=="linux"', { | |
67 'cflags': [ | |
68 '-fexceptions', # enable exceptions | |
69 ], | |
70 }, | |
71 ], | |
72 ], | |
73 }, | |
74 | |
75 { | |
76 'target_name': 'matlab_plotting_include', | |
77 'type': 'none', | |
78 'direct_dependent_settings': { | |
79 'include_dirs': [ | |
80 'BWEStandAlone', | |
81 ], | |
82 }, | |
83 }, | |
84 ], | |
85 } | |
OLD | NEW |