From 7425719f16951a9cae9dfe67d1dfe65d6640e29d Mon Sep 17 00:00:00 2001 From: Srujan Gaddam Date: Fri, 6 Jun 2025 13:25:40 -0700 Subject: [PATCH] Add missing copyrights and delete empty files --- web_generator/bin/gen_interop_bindings.dart | 4 ++++ web_generator/lib/src/cli.dart | 4 ++++ web_generator/lib/src/dts/config.dart | 4 ++++ web_generator/lib/src/dts/parser.dart | 4 ++++ web_generator/lib/src/dts/transform.dart | 4 ++++ web_generator/lib/src/js/typescript.dart | 1 - web_generator/lib/src/js/typescript.types.dart | 1 - web_generator/test/ts_bindings_test.dart | 4 ++++ 8 files changed, 24 insertions(+), 2 deletions(-) delete mode 100644 web_generator/lib/src/js/typescript.dart delete mode 100644 web_generator/lib/src/js/typescript.types.dart diff --git a/web_generator/bin/gen_interop_bindings.dart b/web_generator/bin/gen_interop_bindings.dart index 10e74479..02d2b032 100644 --- a/web_generator/bin/gen_interop_bindings.dart +++ b/web_generator/bin/gen_interop_bindings.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + import 'dart:io'; import 'package:args/args.dart'; diff --git a/web_generator/lib/src/cli.dart b/web_generator/lib/src/cli.dart index dec055a1..af517b77 100644 --- a/web_generator/lib/src/cli.dart +++ b/web_generator/lib/src/cli.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + import 'dart:collection'; import 'dart:io'; import 'package:analyzer/dart/analysis/analysis_context_collection.dart'; diff --git a/web_generator/lib/src/dts/config.dart b/web_generator/lib/src/dts/config.dart index 4e9103b4..92389201 100644 --- a/web_generator/lib/src/dts/config.dart +++ b/web_generator/lib/src/dts/config.dart @@ -1 +1,5 @@ +// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + final class Config {} diff --git a/web_generator/lib/src/dts/parser.dart b/web_generator/lib/src/dts/parser.dart index 439ef2b5..07c3838f 100644 --- a/web_generator/lib/src/dts/parser.dart +++ b/web_generator/lib/src/dts/parser.dart @@ -1,2 +1,6 @@ +// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + // TODO(nikeokoronkwo): Implement this function dynamic parseDeclarationFiles(Iterable files) {} diff --git a/web_generator/lib/src/dts/transform.dart b/web_generator/lib/src/dts/transform.dart index 1b495b2a..400e6049 100644 --- a/web_generator/lib/src/dts/transform.dart +++ b/web_generator/lib/src/dts/transform.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + class DeclarationMap { String generate() { throw UnimplementedError(); diff --git a/web_generator/lib/src/js/typescript.dart b/web_generator/lib/src/js/typescript.dart deleted file mode 100644 index 8b137891..00000000 --- a/web_generator/lib/src/js/typescript.dart +++ /dev/null @@ -1 +0,0 @@ - diff --git a/web_generator/lib/src/js/typescript.types.dart b/web_generator/lib/src/js/typescript.types.dart deleted file mode 100644 index 8b137891..00000000 --- a/web_generator/lib/src/js/typescript.types.dart +++ /dev/null @@ -1 +0,0 @@ - diff --git a/web_generator/test/ts_bindings_test.dart b/web_generator/test/ts_bindings_test.dart index 3470d7a1..669d24ed 100644 --- a/web_generator/test/ts_bindings_test.dart +++ b/web_generator/test/ts_bindings_test.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + @TestOn('vm') @Tags(['node']) library;