mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 16:44:59 +00:00
[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:
parent
dcaf392d34
commit
b84aa5a7f9
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue