Index: webrtc/api/audio_codec/BUILD.gn |
diff --git a/webrtc/api/audio_codec/BUILD.gn b/webrtc/api/audio_codec/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2c16e76421a7a473a7a5ba0ec8fc06475e9906a4 |
--- /dev/null |
+++ b/webrtc/api/audio_codec/BUILD.gn |
@@ -0,0 +1,57 @@ |
+# Copyright (c) 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. |
+ |
+import("../../webrtc.gni") |
+if (is_android) { |
+ import("//build/config/android/config.gni") |
+ import("//build/config/android/rules.gni") |
+} |
+ |
+rtc_source_set("audio_decoder_factory_interface") { |
kjellander_webrtc
2017/02/01 14:54:50
Can we use _api suffix instead? It's the most comm
ossu
2017/02/01 15:05:26
General stuff-in-api/ question:
Should we add _in
kwiberg-webrtc
2017/02/01 20:15:02
The full name of an api/ build target "foo" is "we
the sun
2017/02/02 21:02:28
All good points, but let's stick to using the _api
kwiberg-webrtc
2017/02/03 09:50:11
Ugh. I wish I'd noticed that in time...
|
+ sources = [ |
+ "audio_decoder_factory.h", |
+ ] |
+ deps = [ |
ossu
2017/02/01 15:05:26
Next general question:
Where do we draw the line
kwiberg-webrtc
2017/02/01 20:15:02
Hmm. That goes against my intuition (which is that
ossu
2017/02/06 12:54:16
I don't really know. I was hoping kjellander@ woul
kwiberg-webrtc
2017/02/06 14:19:36
I'm really sure it's not---that would be madness.
|
+ ":audio_decoder_interface", |
+ ":audio_format", |
+ "../../base:rtc_base_approved", |
+ ] |
+} |
+ |
+rtc_static_library("audio_decoder_interface") { |
+ sources = [ |
+ "audio_decoder.cc", |
+ "audio_decoder.h", |
+ ] |
+ deps = [ |
+ "../..:webrtc_common", |
+ "../../base:rtc_base_approved", |
+ ] |
+} |
+ |
+rtc_static_library("audio_format") { |
+ sources = [ |
+ "audio_format.cc", |
+ "audio_format.h", |
+ ] |
+ deps = [ |
+ "../..:webrtc_common", |
+ ] |
+} |
+ |
+rtc_static_library("builtin_audio_decoder_factory") { |
+ sources = [ |
+ "builtin_audio_decoder_factory.cc", |
+ "builtin_audio_decoder_factory.h", |
+ ] |
+ deps = [ |
+ ":audio_decoder_factory_interface", |
+ "../../base:rtc_base_approved", |
+ "../../modules/audio_coding:internal_builtin_audio_decoder_factory", |
+ ] |
+} |