2020-07-24 00:20:24 -04:00
|
|
|
{
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"target_name": "index",
|
|
|
|
"sources": [
|
|
|
|
"binding.c"
|
|
|
|
],
|
|
|
|
"include_dirs": [
|
|
|
|
"native/target/release/",
|
|
|
|
],
|
2020-07-24 03:35:26 -04:00
|
|
|
"conditions": [
|
2021-01-06 02:02:00 -05:00
|
|
|
["OS=='mac'", {
|
|
|
|
"libraries": [
|
|
|
|
"Security.framework",
|
|
|
|
],
|
|
|
|
}],
|
2020-07-24 03:35:26 -04:00
|
|
|
["OS!='win'", {
|
|
|
|
"libraries": [
|
|
|
|
"../native/target/release/libminify_html_ffi.a",
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
["OS=='win'", {
|
|
|
|
"libraries": [
|
|
|
|
"advapi32.lib", "ws2_32.lib", "userenv.lib", "msvcrt.lib",
|
|
|
|
"../native/target/release/minify_html_ffi.lib",
|
|
|
|
],
|
|
|
|
}],
|
2020-07-24 00:20:24 -04:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|