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

@ -794,7 +794,7 @@ if (rtc_include_tests) {
sources = [
"test/unittest.proto",
]
proto_out_dir = "webrtc/modules/audio_processing"
proto_out_dir = "webrtc/modules/audio_processing/test"
}
rtc_static_library("audioproc_protobuf_utils") {

View File

@ -41,7 +41,7 @@ RTC_PUSH_IGNORING_WUNDEF()
#ifdef WEBRTC_ANDROID_PLATFORM_BUILD
#include "external/webrtc/webrtc/modules/audio_processing/test/unittest.pb.h"
#else
#include "webrtc/modules/audio_processing/unittest.pb.h"
#include "webrtc/modules/audio_processing/test/unittest.pb.h"
#endif
RTC_POP_IGNORING_WUNDEF()