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:
kjellander
2017-02-28 08:01:46 -08:00
committed by Commit bot
parent a2508c1e0f
commit e3e902eef9
4 changed files with 4 additions and 4 deletions

View File

@ -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") {

View File

@ -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