dart-sdk/tools
Janice Collins 68353d76a4 Add a flag to disable the new unified_analytics for a single session.
- Adds a new flag, `--suppress-analytics` to the `dart` command to
  disable both the unified and the legacy analytics for a single
  session while deprecating the existing flag, `--[no-]analytics` used
  for disabling the legacy analytics on a single pass.
- Pipelines the flag from `dart` through `dart analyze` and `dart fix`
  to the execution of the analysis server.
- Updates all applicable uses of `dart analyze`, `dart fix`, and the
  analysis_server binary entry points in the SDK to disable analytics
  for the test infrastructure.

Bug: https://github.com/dart-lang/sdk/issues/49445
Change-Id: I1302cad7e04b21454aa7d9e8ee72a876b231377d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/287661
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2023-03-16 18:00:57 +00:00
..
bots Add a flag to disable the new unified_analytics for a single session. 2023-03-16 18:00:57 +00:00
buildtools Spelling tools 2022-12-21 17:26:48 +00:00
dart2js Change : to = in tools/ and DOM templates. 2022-08-24 14:21:01 +00:00
dom [sdk docs] update sdk libraries to use triple slash docs 2023-03-14 19:10:25 +00:00
fuchsia
linux_dist_support Fix building Debian packages for not-x64. 2023-02-28 23:18:07 +00:00
package_deps Change : to = in tools/ and DOM templates. 2022-08-24 14:21:01 +00:00
patches Spelling tools 2023-01-09 15:48:57 +00:00
sdks [release] Update checked-in SDKs to 2.19.0 2023-01-26 07:26:36 +00:00
spec_parser Remove unused non-terminal 2023-03-10 11:39:21 +00:00
test_generators
testing
verify_docs [tools] Fix verify_docs on Windows 2023-01-20 19:05:44 +00:00
.gitignore
3xhead_flutter_hooks.sh
addlatexhash.dart
analysis_options.yaml
build.py [build] Switch builds to the ninja in DEPS 2022-09-27 11:24:03 +00:00
canary.dart
copy_dart.py
copy_tree.py Spelling tools 2023-01-09 15:48:57 +00:00
create_pkg_manifest.py
diff_results.dart Spelling tools 2023-01-09 15:48:57 +00:00
download_chromium_sysroot.sh
experimental_features.yaml [flip-patterns] Enable "records" and "patterns" experiment flags. 2023-03-10 20:02:23 +00:00
FAKE_COMMITS [flip-modifiers]: flip the flags for sealed classes and class modifiers 2023-03-10 05:27:57 +00:00
find_depot_tools.py
gen_fuchsia_test_manifest.py
generate_buildfiles.py
generate_experimental_flags.dart
generate_idefiles.py [build] Switch builds to the ninja in DEPS 2022-09-27 11:24:03 +00:00
generate_package_config.dart [_fe_analyzer_shared][cfe][analyzer] Initial implementation of exhaustiveness checking 2023-01-24 13:34:46 +00:00
generate_package_config.py
generate_sdk_version_file.py
get_dot_git_folder.py
git_cl_try.sh
gn.py Reland x3 [dart2wasm] Include wasm-opt in the shipped dart-sdk. 2023-03-10 18:34:10 +00:00
gn_helpers.py
line_doc_comments.dart
list_dart_files.py
list_dart_files_as_depfile.py
make_version.py [infra] Create a GIT_TIMESTAMP file for tarball 2023-02-06 09:15:01 +00:00
manage_deps.dart [deps] update the rev script to handle 'main' branches 2023-02-06 18:04:11 +00:00
minidump.py
opt_out_files.dart
OWNERS
OWNERS_ANALYZER
OWNERS_BUILD
OWNERS_CFE
OWNERS_ECOSYSTEM [owners] add mosum@ to the OWNERS_ECOSYSTEM file 2022-09-16 17:51:55 +00:00
OWNERS_ENG
OWNERS_FOUNDATION
OWNERS_GOOGLE3
OWNERS_INFRA
OWNERS_PRODUCT
OWNERS_PUB
OWNERS_VM [OWNERS] Fix VM owners file entries. 2022-11-11 20:25:03 +00:00
OWNERS_WASM
OWNERS_WEB
presubmit.sh
promote.py [infra] Promote beta to stable when stable is ahead of beta. 2023-02-17 11:20:20 +00:00
publish_pkg.py
rev_sdk_deps.dart [deps] update the rev script to handle 'main' branches 2023-02-06 18:04:11 +00:00
run_offsets_extractor.sh
run_with_coredumps_enabled.py
set_ia32_sysroot.sh
set_x64_sysroot.sh
spec_parse.py
task_kill.py
test.dart
test.py
utils.py [infra] Promote beta to stable when stable is ahead of beta. 2023-02-17 11:20:20 +00:00
validate_test_matrix.dart
VERSION [3.0 alpha] Bump version to 3.0.0 2022-12-06 02:40:36 +00:00
write_dartdoc_options_file.py
write_revision_file.py
write_version_file.py
yaml2json.dart