Index: tools_webrtc/presubmit_checks_lib/check_orphan_headers.py |
diff --git a/tools_webrtc/presubmit_checks_lib/check_orphan_headers.py b/tools_webrtc/presubmit_checks_lib/check_orphan_headers.py |
index 707c49fcc5347a3bc83257b0ff7d31cb9b90a34c..6c14aad2a4ce69b53c88cfcb4b4165fbe43f70ec 100644 |
--- a/tools_webrtc/presubmit_checks_lib/check_orphan_headers.py |
+++ b/tools_webrtc/presubmit_checks_lib/check_orphan_headers.py |
@@ -18,8 +18,9 @@ TARGET_RE = re.compile(r'(?P<indent>\s*)\w+\("(?P<target_name>\w+)"\) {' |
re.MULTILINE | re.DOTALL) |
# SOURCES_RE matches a block of sources inside a GN target. |
-SOURCES_RE = re.compile(r'sources \+?= \[(?P<sources>.*?)\]', |
- re.MULTILINE | re.DOTALL) |
+SOURCES_RE = re.compile( |
+ r'(sources|common_objc_headers) \+?= \[(?P<sources>.*?)\]', |
+ re.MULTILINE | re.DOTALL) |
SOURCE_FILE_RE = re.compile(r'.*\"(?P<source_file>.*)\"') |