Index: third_party/opus/BUILD.gn |
diff --git a/third_party/opus/BUILD.gn b/third_party/opus/BUILD.gn |
index cc3d3cd07cd86783aafb21e32335dcc2d75c08a0..ca90687c29ba04bcbf5f95a713562b01751f3bb7 100644 |
--- a/third_party/opus/BUILD.gn |
+++ b/third_party/opus/BUILD.gn |
@@ -18,6 +18,11 @@ use_opus_rtcd = current_cpu == "arm" && (is_win || is_android || is_linux) |
config("opus_config") { |
include_dirs = [ "src/include" ] |
+ |
+ defines = [] |
+ if (use_opus_fixed_point) { |
+ defines += [ "OPUS_FIXED_POINT" ] |
minyue
2015/10/15 08:20:24
The corresponding switch in gyp is configured this
Tima Vaisburd
2015/10/15 18:11:49
Unfortunately I'm not an expert in GN either. Here
minyue
2015/10/15 18:32:15
Thank you for pointing out the doc. That is quite
Tima Vaisburd
2015/10/15 18:51:50
Yes, that seems to work too. Modified the way you
|
+ } |
} |
config("opus_test_config") { |