-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 613fa1f into dev
- Loading branch information
Showing
56 changed files
with
1,526 additions
and
1,026 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
service=remotebuildexecution.googleapis.com:443 | ||
instance=projects/flutter-rbe-prod/instances/default | ||
use_application_default_credentials=true | ||
enable_deps_cache=true | ||
xattr_digest=user.fuchsia.rbe.digest.sha256 | ||
server_address=unix:///tmp/reproxy.sock | ||
log_format=reducedtext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/usr/bin/env python3 | ||
# Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file | ||
# for details. All rights reserved. Use of this source code is governed by a | ||
# BSD-style license that can be found in the LICENSE file. | ||
"""Analyzer specific presubmit script. | ||
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts | ||
for more details about the presubmit API built into gcl. | ||
""" | ||
|
||
import os.path | ||
import re | ||
|
||
USE_PYTHON3 = True | ||
PRESUBMIT_VERSION = '2.0.0' | ||
|
||
|
||
def CheckNodeTextExpectationsCollectorUpdatingIsDisabled(input_api, output_api): | ||
local_root = input_api.change.RepositoryRoot() | ||
node_text_expectations_file = os.path.join(local_root, 'pkg', 'analyzer', | ||
'test', 'src', 'dart', | ||
'resolution', | ||
'node_text_expectations.dart') | ||
for git_file in input_api.AffectedTestableFiles(): | ||
filename = git_file.AbsoluteLocalPath() | ||
if (filename == node_text_expectations_file): | ||
isEnabledLine = re.compile('static const updatingIsEnabled = (.*);') | ||
for line in git_file.NewContents(): | ||
m = isEnabledLine.search(line) | ||
if (m is not None): | ||
value = m.group(1) | ||
if (value == 'false'): | ||
return [] | ||
else: | ||
return [ | ||
output_api.PresubmitError( | ||
'NodeTextExpectationsCollector.updatingIsEnabled ' | ||
'must be `false`') | ||
] | ||
return [ | ||
output_api.PresubmitError( | ||
'Could not validate ' | ||
'NodeTextExpectationsCollector.updatingIsEnabled') | ||
] | ||
return [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.