Added javascript_metadata as an exclusive change directory
Added javascript_metadata folder in the EXCLUSIVE_CHANGE_DIRECTORIES, as NativeFunction.js file is generated by roll_deps.py after running the generate-protocol-resoruces.
Bug: none
Change-Id: I80a1341f7de981397eec3f4a0c9b4f2568e167b7
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3762475
Reviewed-by: Mathias Bynens <[email protected]>
Reviewed-by: Changhao Han <[email protected]>
Commit-Queue: Changhao Han <[email protected]>
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 98e8fc3..1093e77 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -65,6 +65,7 @@
def _CheckChangesAreExclusiveToDirectory(input_api, output_api):
if input_api.change.DISABLE_THIRD_PARTY_CHECK != None:
return []
+
results = [output_api.PresubmitNotifyResult('Directory Exclusivity Check:')]
def IsParentDir(file, dir):
@@ -84,6 +85,8 @@
EXCLUSIVE_CHANGE_DIRECTORIES = [
[
'third_party', 'v8',
+ input_api.os_path.join('front_end', 'models',
+ 'javascript_metadata'),
input_api.os_path.join('front_end', 'generated')
],
[