[ddc] Cleanup uses of ignored cli args

The `-k`, `--kernel`, and `--dart-sdk` flags are ignored by DDC.

Change-Id: Ic2bf5c87a26cab7dcbcfeafa39dae1ea1b20c711
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277180
Reviewed-by: Nate Bosch <nbosch@google.com>
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
This commit is contained in:
Nicholas Shahan 2022-12-22 21:50:08 +00:00 committed by Commit Queue
parent dcaf392d34
commit b84aa5a7f9
4 changed files with 0 additions and 7 deletions

View file

@ -196,7 +196,6 @@ class DDCStep implements IOModularStep {
var args = [
'--packages=${sdkRoot.toFilePath()}/.dart_tool/package_config.json',
_dartdevcScript,
'--kernel',
'--modules=es6',
'--no-summarize',
'--no-source-map',

View file

@ -196,7 +196,6 @@ class DDCStep implements IOModularStep {
var args = [
'--packages=${sdkRoot.toFilePath()}/.dart_tool/package_config.json',
_dartdevcScript,
'--kernel',
'--modules=es6',
'--no-summarize',
'--no-source-map',

View file

@ -2417,7 +2417,6 @@
"arguments": [
"--enable-asserts",
"pkg/dev_compiler/bin/dartdevc.dart",
"-k",
"--sound-null-safety",
"-o",
"out/ReleaseX64/dartdevk.js",
@ -2673,7 +2672,6 @@
"arguments": [
"--enable-asserts",
"pkg/dev_compiler/bin/dartdevc.dart",
"-k",
"--sound-null-safety",
"-o",
"xcodebuild/ReleaseX64/dartdevk.js",

View file

@ -25,8 +25,6 @@ application_snapshot("dartdevc") {
main_dart = "../../pkg/dev_compiler/bin/dartdevc.dart"
training_args = [
"--dart-sdk",
rebase_path("../../sdk"),
"--dart-sdk-summary",
rebase_path(sdk_outline_dill),
"--no-sound-null-safety",
@ -189,7 +187,6 @@ template("dartdevc_kernel_compile") {
vm_args = [ "-Dsdk_hash=$sdk_hash" ]
args = [
"-k",
"--dart-sdk-summary=$sdk_path",
"-o$out_dir/$module.js",
"package:$module/$module.dart",