Force-include assert.h for third_party/oboe
Oboe uses assert but doesn't seem to include the header explicitly: ../../third_party/externals/oboe/src/flowgraph/resampler/PolyphaseResamplerStereo.cpp:25:5: error: use of undeclared identifier 'assert' assert(builder.getChannelCount() == STEREO); Change-Id: Ib008ffaeade0b84196141102b956bc6e5606a468 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/383698 Reviewed-by: Jorge Betancourt <jmbetancourt@google.com> Commit-Queue: Florin Malita <fmalita@google.com>
This commit is contained in:
parent
3527389e28
commit
4aa19871ec
7
third_party/oboe/BUILD.gn
vendored
7
third_party/oboe/BUILD.gn
vendored
@ -5,7 +5,14 @@
|
||||
|
||||
import("../third_party.gni")
|
||||
|
||||
config("oboe_lib") {
|
||||
# Oboe does not include this explicitly
|
||||
cflags = [ "--includeassert.h" ]
|
||||
}
|
||||
|
||||
third_party("oboe") {
|
||||
configs += [ ":oboe_lib" ]
|
||||
|
||||
public_include_dirs = [
|
||||
"../externals/oboe/include",
|
||||
"../externals/oboe/samples/parselib/src/main/cpp",
|
||||
|
Loading…
Reference in New Issue
Block a user