Summary: The following PR fixes the tests used in the javascript port (it modifies gentest.rb). These changes don't yet pass, it seems something is segfaulting somewhere. I have to check if it comes from nbind, the yoga library, or the node bridge itself. There's also some fails on the browser build, but it might be the same issue. Closes https://github.com/facebook/yoga/pull/487 Reviewed By: emilsjolander Differential Revision: D4778870 Pulled By: astreet fbshipit-source-id: 936fbca564ec89738c78e50c4402c53eb6867dec
33 lines
543 B
Python
33 lines
543 B
Python
{
|
|
"conditions": [
|
|
|
|
[ "1==1", {
|
|
|
|
"cflags_cc": [
|
|
"-std=c++14",
|
|
"-DNBIND_DUPLICATE_POINTERS"
|
|
],
|
|
|
|
"xcode_settings": {
|
|
"OTHER_CPLUSPLUSFLAGS": [ "<@(_cflags_cc)" ]
|
|
}
|
|
|
|
} ],
|
|
|
|
[ "asmjs==1", {
|
|
|
|
"ldflags": [
|
|
"--memory-init-file", "0",
|
|
"-s", "PRECISE_F32=1",
|
|
"-s", "TOTAL_MEMORY=134217728"
|
|
],
|
|
|
|
"xcode_settings": {
|
|
"OTHER_LDFLAGS": [ "<@(_ldflags)" ]
|
|
}
|
|
|
|
} ]
|
|
|
|
]
|
|
}
|