commit | 3398a4ac15c9954f7d6355607897060236c3169b | [log] [tgz] |
---|---|---|
author | kjellander@webrtc.org <kjellander@webrtc.org> | Mon Nov 24 10:05:37 2014 +0000 |
committer | kjellander@webrtc.org <kjellander@webrtc.org> | Mon Nov 24 10:05:37 2014 +0000 |
tree | 0b55e09b52658d7ac209308765e6dd08f6e8ece2 | |
parent | 8562f23acb15f555f35f0b5760adc8bd1b988406 [diff] [blame] |
PRESUBMIT: Only notify GN changes for GYP files in webrtc/* We don't maintain a BUILD.gn file for talk/ since it's a part of Chromium: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/libjingle/BUILD.gn Because of this, it's confusing to get warnings about updating a GYP file in talk/ from the PRESUBMIT check. TESTED=Successsfully ran git cl presubmit with this change applied on top of a CL containing changes in .gyp files. R=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/27189004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7737 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 612f877..14bc50b 100755 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py
@@ -128,7 +128,8 @@ gyp_files = [] for f in input_api.AffectedSourceFiles(source_file_filter): - gyp_files.append(f) + if f.LocalPath().startswith('webrtc'): + gyp_files.append(f) result = [] if gyp_files: