Repository navigation
Expand file tree
/
Copy pathbinding.gyp
More file actions
94 lines (94 loc) · 3.47 KB
/
Copy pathbinding.gyp
File metadata and controls
94 lines (94 loc) · 3.47 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
'targets': [
{
'target_name': 'webrtc',
'sources': [
'src/event/createsessiondescriptionevent.cc',
'src/event/eventqueue.cc',
'src/globals.cc',
'src/module.cc',
'src/observer/createsessiondescriptionobserver.cc',
'src/observer/peerconnectionobserver.cc',
'src/rtccertificate.cc',
'src/rtcicecandidate.cc',
'src/rtcpeerconnection.cc',
'src/rtcsessiondescription.cc',
],
'include_dirs' : [
'build/include',
'src',
'<!(node -e "require(\'nan\')")',
],
'library_dirs': [
'../build/lib',
],
'conditions': [
['os_posix==1', {
'defines': [
'WEBRTC_POSIX',
'_GLIBCXX_USE_CXX11_ABI=0',
],
'link_settings': {
'libraries': [
'-lwebrtc',
],
},
}],
['OS=="linux"', {
'cflags_cc': [
'-std=c++11',
],
'link_settings': {
'libraries': [
'<!@(pkg-config --libs sm)',
'<!@(pkg-config --libs ice)',
'<!@(pkg-config --libs x11)',
'<!@(pkg-config --libs xext)',
'-ldl',
],
},
}],
['OS=="mac"', {
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [
'-std=c++11',
'-stdlib=libc++'
],
'OTHER_LDFLAGS': [
'-stdlib=libc++'
],
'MACOSX_DEPLOYMENT_TARGET': '10.7',
},
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
'$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
'$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
],
},
}],
['OS=="win"', {
'defines': [
'WEBRTC_WIN',
'NOMINMAX',
'_CRT_SECURE_NO_WARNINGS',
],
'link_settings': {
'libraries': [
'-l../build/lib/webrtc.lib',
'-lmsdmo.lib',
'-lwmcodecdspuuid.lib',
'-ldmoguids.lib',
'-lole32.lib',
'-lsecur32.lib',
'-lwinmm.lib',
'-lws2_32.lib',
],
},
}],
],
},
],
}