-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathbinding.gyp
42 lines (42 loc) · 1.33 KB
/
binding.gyp
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
{
"targets": [
{
"target_name": "mpvjs",
"win_delay_load_hook": "false",
"sources": ["index.cc"],
"libraries": ["-lppapi_cpp", "-lppapi_gles2"],
"conditions": [
["OS=='win'", {
"include_dirs": ["C:/nacl_sdk/pepper_49/include", "C:/mpv-dev/include"],
"libraries": ["-llibmpv.dll.a"],
"conditions": [
["target_arch=='ia32'", {
"library_dirs": [
"C:/nacl_sdk/pepper_49/lib/win_x86_32_host/Release",
"C:/mpv-dev/i686",
],
}, "target_arch=='x64'", {
"library_dirs": [
"C:/nacl_sdk/pepper_49/lib/win_x86_64_host/Release",
"C:/mpv-dev/x86_64",
],
}],
],
}, {
"include_dirs": ["$(NACL_SDK_ROOT)/include"],
"libraries": ["-lmpv"],
"conditions": [
["OS=='linux'", {
"defines": ["_GLIBCXX_USE_CXX11_ABI=0"],
"library_dirs": ["$(NACL_SDK_ROOT)/lib/linux_host/Release"],
"ldflags": ["-static-libstdc++"],
}, "OS=='mac'", {
"xcode_settings": {"MACOSX_DEPLOYMENT_TARGET": "10.9"},
"library_dirs": ["$(NACL_SDK_ROOT)/lib/mac_host/Release"],
}],
],
}],
],
},
],
}