From 5d6ca41a1f7e8063cd0b598cb8344de03e767008 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Thu, 12 Dec 2024 09:37:05 -0800 Subject: [PATCH] Format _empty.dart (flutter/engine#57144) When `dartfmt` formatted `_empty.dart` it formatted it with a trailing newline, which then makes the license script angry. Rather then treating `_empty.dart` special, this just makes it a regular source file with header and everything. --- engine/src/flutter/ci/licenses_golden/licenses_flutter | 2 ++ engine/src/flutter/sky/packages/sky_engine/lib/_empty.dart | 3 +++ 2 files changed, 5 insertions(+) diff --git a/engine/src/flutter/ci/licenses_golden/licenses_flutter b/engine/src/flutter/ci/licenses_golden/licenses_flutter index 6bffc72ff49..36f280bd78e 100644 --- a/engine/src/flutter/ci/licenses_golden/licenses_flutter +++ b/engine/src/flutter/ci/licenses_golden/licenses_flutter @@ -45301,6 +45301,7 @@ ORIGIN: ../../../flutter/shell/profiling/sampling_profiler.h + ../../../flutter/ ORIGIN: ../../../flutter/shell/version/version.cc + ../../../flutter/LICENSE ORIGIN: ../../../flutter/shell/version/version.h + ../../../flutter/LICENSE ORIGIN: ../../../flutter/shell/vmservice/empty.dart + ../../../flutter/LICENSE +ORIGIN: ../../../flutter/sky/packages/sky_engine/lib/_empty.dart + ../../../flutter/LICENSE ORIGIN: ../../../flutter/third_party/accessibility/base/color_utils.h + ../../../flutter/LICENSE ORIGIN: ../../../flutter/third_party/accessibility/base/compiler_specific.h + ../../../flutter/LICENSE ORIGIN: ../../../flutter/third_party/accessibility/base/container_utils.h + ../../../flutter/LICENSE @@ -48266,6 +48267,7 @@ FILE: ../../../flutter/shell/profiling/sampling_profiler.h FILE: ../../../flutter/shell/version/version.cc FILE: ../../../flutter/shell/version/version.h FILE: ../../../flutter/shell/vmservice/empty.dart +FILE: ../../../flutter/sky/packages/sky_engine/lib/_empty.dart FILE: ../../../flutter/third_party/accessibility/base/color_utils.h FILE: ../../../flutter/third_party/accessibility/base/compiler_specific.h FILE: ../../../flutter/third_party/accessibility/base/container_utils.h diff --git a/engine/src/flutter/sky/packages/sky_engine/lib/_empty.dart b/engine/src/flutter/sky/packages/sky_engine/lib/_empty.dart index e69de29bb2d..e7217c7d7b3 100644 --- a/engine/src/flutter/sky/packages/sky_engine/lib/_empty.dart +++ b/engine/src/flutter/sky/packages/sky_engine/lib/_empty.dart @@ -0,0 +1,3 @@ +// Copyright 2013 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file.