[stable][build] Fix incorrect output path in ddc's package_kernel_outline template.
Issue description: Stable branch does not build on bots.
What is the fix: Fix build issue.
Why cherry-pick: To publish 3.8.2
Risk: Low, this fix has landed on the main channel and is tested on the same infrastructure.
Change-Id: I6c2f03c21437c2068c3ca36dbcc7a5bfd7e5f494
Cherry-pick: https://dart-review.googlesource.com/c/sdk/+/433860
Changelog-Exempt: build change, no user visible changes
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/440660
Reviewed-by: Alexander Thomas <athom@google.com>
diff --git a/utils/ddc/BUILD.gn b/utils/ddc/BUILD.gn
index 1e37ba6..fc6b628 100644
--- a/utils/ddc/BUILD.gn
+++ b/utils/ddc/BUILD.gn
@@ -267,7 +267,7 @@
"Need 'package' in $target_name (the name of the package)")
module = invoker.package
- output = "$target_gen_dir/${module}_outline"
+ output = "$target_gen_dir/${module}_outline.dill"
sdk_outline = rebase_path(sdk_outline_dill)
package_config =
@@ -291,7 +291,7 @@
"--source",
"package:$module/$module.dart",
"--output",
- rebase_path("$output.dill"),
+ rebase_path(output),
]
if (defined(invoker.extra_libraries)) {
foreach(lib, invoker.extra_libraries) {