diff --git a/media/BUILD.gn b/media/BUILD.gn index 9911ce2437..31822cedb9 100644 --- a/media/BUILD.gn +++ b/media/BUILD.gn @@ -273,7 +273,7 @@ rtc_static_library("rtc_data") { } else { # libtool on mac does not like empty targets. sources = [ - "//rtc_base/noop.cc", + "sctp/noop.cc", ] } diff --git a/media/sctp/noop.cc b/media/sctp/noop.cc new file mode 100644 index 0000000000..a3523b18b2 --- /dev/null +++ b/media/sctp/noop.cc @@ -0,0 +1,13 @@ +/* + * Copyright 2017 The WebRTC Project Authors. All rights reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +// This file is only needed to make ninja happy on some platforms. +// On some platforms it is not possible to link an rtc_static_library +// without any source file listed in the GN target.