enabling gn check on the whole WebRTC repo

BUG=webrtc:6828
NOTRY=True

Review-Url: https://codereview.webrtc.org/2918803002
Cr-Commit-Position: refs/heads/master@{#18390}
This commit is contained in:
mbonadei
2017-06-01 13:01:48 -07:00
committed by Commit Bot
parent 3d4b83da91
commit 7d9a55b92d
3 changed files with 47 additions and 22 deletions

23
.gn
View File

@ -20,28 +20,7 @@ secondary_source = "//build/secondary/"
# matching these patterns (see "gn help label_pattern" for format) will have
# their includes checked for proper dependencies when you run either
# "gn check" or "gn gen --check".
# TODO(kjellander): Keep adding paths to this list as work in webrtc:5589 is done.
check_targets = [
"//webrtc/api/*",
"//webrtc/audio/*",
"//webrtc/base/*",
"//webrtc/call/*",
"//webrtc/common_video/*",
"//webrtc/common_audio/*",
"//webrtc/examples/*",
"//webrtc/logging/*",
"//webrtc/media/*",
"//webrtc/modules/*",
"//webrtc/ortc/*",
"//webrtc/p2p/*",
"//webrtc/sdk/*",
"//webrtc/stats/*",
"//webrtc/system_wrappers/*",
"//webrtc/test/*",
"//webrtc/tools/*",
"//webrtc/video/*",
"//webrtc/voice_engine/*",
]
check_targets = [ "//webrtc/*" ]
# These are the list of GN files that run exec_script. This whitelist exists
# to force additional review for new uses of exec_script, which is strongly