Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: webrtc/api/audio_codecs/opus/BUILD.gn

Issue 2976293002: Remove remains of webrtc/base (Closed)
Patch Set: Add README.md Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/audio_codecs/ilbc/BUILD.gn ('k') | webrtc/api/audio_codecs/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../../../webrtc.gni") 9 import("../../../webrtc.gni")
10 if (is_android) { 10 if (is_android) {
11 import("//build/config/android/config.gni") 11 import("//build/config/android/config.gni")
12 import("//build/config/android/rules.gni") 12 import("//build/config/android/rules.gni")
13 } 13 }
14 14
15 rtc_static_library("audio_encoder_opus_config") { 15 rtc_static_library("audio_encoder_opus_config") {
16 sources = [ 16 sources = [
17 "audio_encoder_opus_config.cc", 17 "audio_encoder_opus_config.cc",
18 "audio_encoder_opus_config.h", 18 "audio_encoder_opus_config.h",
19 ] 19 ]
20 deps = [ 20 deps = [
21 "../../../base:rtc_base_approved", 21 "../../../rtc_base:rtc_base_approved",
22 ] 22 ]
23 defines = [] 23 defines = []
24 if (rtc_opus_variable_complexity) { 24 if (rtc_opus_variable_complexity) {
25 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] 25 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ]
26 } else { 26 } else {
27 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] 27 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ]
28 } 28 }
29 } 29 }
30 30
31 rtc_source_set("audio_encoder_opus") { 31 rtc_source_set("audio_encoder_opus") {
32 sources = [ 32 sources = [
33 "audio_encoder_opus.h", 33 "audio_encoder_opus.h",
34 ] 34 ]
35 deps = [ 35 deps = [
36 ":audio_encoder_opus_config", 36 ":audio_encoder_opus_config",
37 "..:audio_codecs_api", 37 "..:audio_codecs_api",
38 "../../../base:protobuf_utils", # TODO(kwiberg): Why is this needed?
39 "../../../base:rtc_base_approved",
40 "../../../modules/audio_coding:webrtc_opus", 38 "../../../modules/audio_coding:webrtc_opus",
39 "../../../rtc_base:protobuf_utils", # TODO(kwiberg): Why is this needed?
40 "../../../rtc_base:rtc_base_approved",
41 ] 41 ]
42 } 42 }
43 43
44 rtc_static_library("audio_decoder_opus") { 44 rtc_static_library("audio_decoder_opus") {
45 sources = [ 45 sources = [
46 "audio_decoder_opus.cc", 46 "audio_decoder_opus.cc",
47 "audio_decoder_opus.h", 47 "audio_decoder_opus.h",
48 ] 48 ]
49 deps = [ 49 deps = [
50 "..:audio_codecs_api", 50 "..:audio_codecs_api",
51 "../../..:webrtc_common", 51 "../../..:webrtc_common",
52 "../../../base:rtc_base_approved",
53 "../../../modules/audio_coding:webrtc_opus", 52 "../../../modules/audio_coding:webrtc_opus",
53 "../../../rtc_base:rtc_base_approved",
54 ] 54 ]
55 } 55 }
OLDNEW
« no previous file with comments | « webrtc/api/audio_codecs/ilbc/BUILD.gn ('k') | webrtc/api/audio_codecs/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698