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}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 7edc249..d838bfd 100755
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -910,13 +910,14 @@
     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])