Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: third_party/opus/BUILD.gn

Issue 1405783002: Support desktop media pipeline on Android for GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Chris' comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
« no previous file with comments | « media/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698