Move docs about native code development into a repo directory.

No-Try: True
Bug: None
Change-Id: I4a7f3df3547beb85eaabe90a9d059da32cc64261
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/151303
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29129}
This commit is contained in:
Mirko Bonadei
2019-09-05 14:36:42 +02:00
committed by Commit Bot
parent 56d89da9cc
commit 01e97ae1b0
7 changed files with 768 additions and 1 deletions

View File

@ -910,13 +910,14 @@ def CheckApiDepsFileIsUpToDate(input_api, output_api):
deps_content = _ParseDeps(f.read())
include_rules = deps_content.get('include_rules', [])
dirs_to_skip = set(['api', 'docs'])
# Only check top level directories affected by the current CL.
dirs_to_check = set()
for f in input_api.AffectedFiles():
path_tokens = [t for t in f.LocalPath().split(os.sep) if t]
if len(path_tokens) > 1:
if (path_tokens[0] != 'api' and
if (path_tokens[0] not in dirs_to_skip and
os.path.isdir(os.path.join(input_api.PresubmitLocalPath(),
path_tokens[0]))):
dirs_to_check.add(path_tokens[0])