Restructure protobuf targets to fit with downstream requirements.
The paths of the protobuf output files needs to match the actual tree path in order for Bazel builds to work. BUG=webrtc:6412 NOTRY=True Review-Url: https://codereview.webrtc.org/2716413004 Cr-Commit-Position: refs/heads/master@{#16912}
This commit is contained in:
@ -1324,7 +1324,7 @@ if (rtc_include_tests) {
|
||||
sources = [
|
||||
"neteq/neteq_unittest.proto",
|
||||
]
|
||||
proto_out_dir = "webrtc/audio_coding/neteq"
|
||||
proto_out_dir = "webrtc/modules/audio_coding/neteq"
|
||||
}
|
||||
|
||||
rtc_static_library("rtc_event_log_source") {
|
||||
|
||||
@ -38,7 +38,7 @@ RTC_PUSH_IGNORING_WUNDEF()
|
||||
#ifdef WEBRTC_ANDROID_PLATFORM_BUILD
|
||||
#include "external/webrtc/webrtc/modules/audio_coding/neteq/neteq_unittest.pb.h"
|
||||
#else
|
||||
#include "webrtc/audio_coding/neteq/neteq_unittest.pb.h"
|
||||
#include "webrtc/modules/audio_coding/neteq/neteq_unittest.pb.h"
|
||||
#endif
|
||||
RTC_POP_IGNORING_WUNDEF()
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user