|
|
@ -107,7 +107,6 @@ if arch == "larch64": |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
libpath += [ |
|
|
|
libpath += [ |
|
|
|
"#third_party/snpe/larch64", |
|
|
|
|
|
|
|
"#third_party/libyuv/larch64/lib", |
|
|
|
"#third_party/libyuv/larch64/lib", |
|
|
|
"/usr/lib/aarch64-linux-gnu" |
|
|
|
"/usr/lib/aarch64-linux-gnu" |
|
|
|
] |
|
|
|
] |
|
|
@ -146,14 +145,6 @@ else: |
|
|
|
"/usr/local/lib", |
|
|
|
"/usr/local/lib", |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
if arch == "x86_64": |
|
|
|
|
|
|
|
libpath += [ |
|
|
|
|
|
|
|
f"#third_party/snpe/{arch}" |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
rpath += [ |
|
|
|
|
|
|
|
Dir(f"#third_party/snpe/{arch}").abspath, |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if GetOption('asan'): |
|
|
|
if GetOption('asan'): |
|
|
|
ccflags = ["-fsanitize=address", "-fno-omit-frame-pointer"] |
|
|
|
ccflags = ["-fsanitize=address", "-fno-omit-frame-pointer"] |
|
|
|
ldflags = ["-fsanitize=address"] |
|
|
|
ldflags = ["-fsanitize=address"] |
|
|
@ -197,7 +188,6 @@ env = Environment( |
|
|
|
"#third_party/libyuv/include", |
|
|
|
"#third_party/libyuv/include", |
|
|
|
"#third_party/json11", |
|
|
|
"#third_party/json11", |
|
|
|
"#third_party/linux/include", |
|
|
|
"#third_party/linux/include", |
|
|
|
"#third_party/snpe/include", |
|
|
|
|
|
|
|
"#third_party", |
|
|
|
"#third_party", |
|
|
|
"#msgq", |
|
|
|
"#msgq", |
|
|
|
], |
|
|
|
], |
|
|
|