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

Unified Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 2609443003: Refactoring ./webrtc/modules/BUILD.gn for gn check (Closed)
Patch Set: Removing useless TODO, I can depend on audio_processing:audioproc_debug_proto Created 3 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/audio_mixer/audio_mixer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/BUILD.gn
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
index 70ecc55dc2aa86d3f2739bdd6d91567fe112be17..1c762a232d16ee0e2dbb6b55434540a5d759b51a 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -540,7 +540,12 @@ rtc_static_library("isac") {
}
rtc_static_library("isac_c") {
- visibility = [ ":*" ] # Only targets in this file can depend on this.
+ # Only targets in this file should depend on this (or testing targets).
+ visibility = [
+ "//webrtc/modules:*",
+ ":*",
+ ]
+
sources = [
"codecs/isac/main/include/audio_decoder_isac.h",
"codecs/isac/main/include/audio_encoder_isac.h",
@@ -808,7 +813,12 @@ rtc_static_library("pcm16b") {
}
rtc_source_set("pcm16b_c") {
- visibility = [ ":*" ] # Only targets in this file can depend on this.
+ # Only targets in this file should depend on this (or testing targets).
+ visibility = [
+ "//webrtc/modules:_modules_tests__library",
kjellander_webrtc 2017/02/15 07:43:33 isn't this redundant due to the rule below?
+ "//webrtc/modules:*",
+ ":*",
+ ]
sources = [
"codecs/pcm16b/pcm16b.c",
"codecs/pcm16b/pcm16b.h",
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/audio_mixer/audio_mixer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698