diff --git a/examples/glfw/FlutterEmbedderGLFW.cc b/examples/glfw/FlutterEmbedderGLFW.cc index 92473c70c54b561b6158297db69f77eccf1f3017..5389fb298ddb519edd7e52632f8666e302179412 100644 --- a/examples/glfw/FlutterEmbedderGLFW.cc +++ b/examples/glfw/FlutterEmbedderGLFW.cc @@ -1,7 +1,11 @@ +// 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. #include #include #include + #include #include diff --git a/examples/glfw/main.dart b/examples/glfw/main.dart index 1f2daa6fb162352d5e8c23306a92b0d6332d7a3e..4b8f5dde93b1d1394af4fadc0a22d06ad6915bc8 100644 --- a/examples/glfw/main.dart +++ b/examples/glfw/main.dart @@ -1,3 +1,7 @@ +// 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. + import 'package:flutter/material.dart'; import 'package:flutter/foundation.dart' show debugDefaultTargetPlatformOverride; diff --git a/flow/embedded_views.h b/flow/embedded_views.h index cbfde228786a303fe1a5f4807f7a43809e8a04a9..a89d2cb3e0a67ae10cd89b1eb36b3aa4a8f8caeb 100644 --- a/flow/embedded_views.h +++ b/flow/embedded_views.h @@ -1,7 +1,7 @@ // 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. -// + #ifndef FLUTTER_FLOW_EMBEDDED_VIEWS_H_ #define FLUTTER_FLOW_EMBEDDED_VIEWS_H_ diff --git a/flow/flow_run_all_unittests.cc b/flow/flow_run_all_unittests.cc index a3a927c375f5ff9009e9a4fa2dae89b055e44a3c..efa27a7433834158fb2e6604dd4f4db754d7c916 100644 --- a/flow/flow_run_all_unittests.cc +++ b/flow/flow_run_all_unittests.cc @@ -1,7 +1,7 @@ // 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. -// + #include "flutter/fml/build_config.h" #include "flutter/fml/command_line.h" #include "flutter/fml/logging.h" diff --git a/flow/flow_test_utils.cc b/flow/flow_test_utils.cc index 9b2abdf9804c782a453cbfe36ec39eff35cbbe13..2e2bc5e48336f98c870e2aeceec3e43356cd4f47 100644 --- a/flow/flow_test_utils.cc +++ b/flow/flow_test_utils.cc @@ -1,7 +1,7 @@ // 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. -// + #include namespace flutter { diff --git a/flow/flow_test_utils.h b/flow/flow_test_utils.h index ec4300e70c6317c7f6b056c660e4d6c37262c4ae..ed4ca287fe7dd41572166c478c7fff0ab15c73a5 100644 --- a/flow/flow_test_utils.h +++ b/flow/flow_test_utils.h @@ -1,7 +1,7 @@ // 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. -// + #include namespace flutter { diff --git a/flutter_frontend_server/bin/starter.dart b/flutter_frontend_server/bin/starter.dart index e95335c62f6b953593b258d5c20b3fc9e3a2aa00..27037aac5a61cb83cca88da88bedb86fc16e6b06 100644 --- a/flutter_frontend_server/bin/starter.dart +++ b/flutter_frontend_server/bin/starter.dart @@ -1,3 +1,7 @@ +// 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. + // @dart=2.8 library frontend_server; diff --git a/shell/common/shell_test_external_view_embedder.cc b/shell/common/shell_test_external_view_embedder.cc index 07557768a46b7f6655f2152b1dbf6d0ce74175af..c26fbd2a172d2d834bddf5f5f56da0806a28a08d 100644 --- a/shell/common/shell_test_external_view_embedder.cc +++ b/shell/common/shell_test_external_view_embedder.cc @@ -1,3 +1,7 @@ +// 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. + #include "shell_test_external_view_embedder.h" namespace flutter { diff --git a/shell/platform/android/apk_asset_provider.cc b/shell/platform/android/apk_asset_provider.cc index 7ffbf2b45afb5a194c57ff58b493f5516d6e9c98..9f52aa56bf076d3797b2b83b4a48a9c55294044e 100644 --- a/shell/platform/android/apk_asset_provider.cc +++ b/shell/platform/android/apk_asset_provider.cc @@ -1,4 +1,9 @@ +// 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. + #include + #include #include diff --git a/shell/platform/common/cpp/client_wrapper/testing/stub_flutter_api.cc b/shell/platform/common/cpp/client_wrapper/testing/stub_flutter_api.cc index 7cdd354a4d8eadd40fbe88d98048eea8f0bb0cd5..749f99c02443c24aa96c5da380a864f0f66f50b6 100644 --- a/shell/platform/common/cpp/client_wrapper/testing/stub_flutter_api.cc +++ b/shell/platform/common/cpp/client_wrapper/testing/stub_flutter_api.cc @@ -2,10 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// 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. - #include "flutter/shell/platform/common/cpp/client_wrapper/testing/stub_flutter_api.h" static flutter::testing::StubFlutterApi* s_stub_implementation; diff --git a/shell/platform/embedder/fixtures/main.dart b/shell/platform/embedder/fixtures/main.dart index 95c25aaefb6c14b962bc065dcd0fa5ff2a0ee1df..de4cf422b662f77a5a4f996a5f6f5ebf795f8217 100644 --- a/shell/platform/embedder/fixtures/main.dart +++ b/shell/platform/embedder/fixtures/main.dart @@ -1,3 +1,7 @@ +// 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. + import 'dart:async'; import 'dart:typed_data'; import 'dart:ui'; diff --git a/shell/platform/windows/testing/mock_win32_window.cc b/shell/platform/windows/testing/mock_win32_window.cc index 01543df2d6d695ad5da3514440b6e8b9a8f06799..68e8e3f516f062719e344ccd8acc969fb0563d02 100644 --- a/shell/platform/windows/testing/mock_win32_window.cc +++ b/shell/platform/windows/testing/mock_win32_window.cc @@ -1,3 +1,7 @@ +// 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. + #include "flutter/shell/platform/windows/testing/mock_win32_window.h" namespace flutter { diff --git a/shell/platform/windows/testing/win32_flutter_window_test.cc b/shell/platform/windows/testing/win32_flutter_window_test.cc index bae1d9cd8d5b3e1e8000a76a3c9e60b87079844d..b514a96a57fb853c2b4ad503d6fd56e8960fdc6c 100644 --- a/shell/platform/windows/testing/win32_flutter_window_test.cc +++ b/shell/platform/windows/testing/win32_flutter_window_test.cc @@ -1,3 +1,7 @@ +// 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. + #include "flutter/shell/platform/windows/testing/win32_flutter_window_test.h" namespace flutter { diff --git a/shell/platform/windows/win32_dpi_utils.cc b/shell/platform/windows/win32_dpi_utils.cc index 8fe994c463b1873b5c87936efa4efbd5316626f0..25e8b4a5103ee2e1790a78b92f8516e8352180a1 100644 --- a/shell/platform/windows/win32_dpi_utils.cc +++ b/shell/platform/windows/win32_dpi_utils.cc @@ -1,3 +1,7 @@ +// 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. + #include "win32_dpi_utils.h" namespace flutter { diff --git a/shell/platform/windows/win32_flutter_window.cc b/shell/platform/windows/win32_flutter_window.cc index 42915f2535babc29e38273372499e5d94f7530de..c79e0a5364dcf33b3716e45e30a5faaea1804629 100644 --- a/shell/platform/windows/win32_flutter_window.cc +++ b/shell/platform/windows/win32_flutter_window.cc @@ -1,3 +1,7 @@ +// 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. + #include "flutter/shell/platform/windows/win32_flutter_window.h" #include diff --git a/testing/dart/channel_buffers_test.dart b/testing/dart/channel_buffers_test.dart index 96047fb17ad2a15924227e40827b2beba6df7d79..a6d0152015a009146ebaab08ae48d88b711cee62 100644 --- a/testing/dart/channel_buffers_test.dart +++ b/testing/dart/channel_buffers_test.dart @@ -1,3 +1,7 @@ +// 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. + // @dart = 2.6 import 'dart:convert'; import 'dart:typed_data'; diff --git a/testing/dart/dart_test.dart b/testing/dart/dart_test.dart index 6f8467e4aa09248203f3c08946202e2184aaca46..97735d911355ae297ea98b6c4f902c2a718417d0 100644 --- a/testing/dart/dart_test.dart +++ b/testing/dart/dart_test.dart @@ -1,4 +1,4 @@ -// Copyright 2013 The Chromium Authors. All rights reserved. +// 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. diff --git a/testing/dart/image_filter_test.dart b/testing/dart/image_filter_test.dart index 8ba9351b47535198a66b0431401c3da2d679b1c7..fb0297bc3e00978523c00ccd0b5bfe71446b6023 100644 --- a/testing/dart/image_filter_test.dart +++ b/testing/dart/image_filter_test.dart @@ -1,4 +1,4 @@ -// Copyright 2019 The Flutter Authors. All rights reserved. +// 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. diff --git a/testing/dart/paragraph_test.dart b/testing/dart/paragraph_test.dart index 4a760d0be55288555eab1dba23838f0d568ad2e8..2f4ec6f6bc0a479ee18aad020fb001b594a840d3 100644 --- a/testing/dart/paragraph_test.dart +++ b/testing/dart/paragraph_test.dart @@ -1,4 +1,4 @@ -// Copyright 2013 The Chromium Authors. All rights reserved. +// 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. diff --git a/testing/dart/semantics_test.dart b/testing/dart/semantics_test.dart index 4257b479b17eca6b5c31cc3f38425141321767d4..5a7146c01fd162106aa2a5102c016c14b201b756 100644 --- a/testing/dart/semantics_test.dart +++ b/testing/dart/semantics_test.dart @@ -1,4 +1,4 @@ -// Copyright 2019 The Chromium Authors. All rights reserved. +// 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. diff --git a/testing/dart/task_order_test.dart b/testing/dart/task_order_test.dart index 64aacf59ac8163faf2291220953cab30b7ebf285..4bfd71702b9ca292352398a14b5501b95c628533 100644 --- a/testing/dart/task_order_test.dart +++ b/testing/dart/task_order_test.dart @@ -1,4 +1,4 @@ -// Copyright 2013 The Chromium Authors. All rights reserved. +// 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. diff --git a/testing/dart/text_test.dart b/testing/dart/text_test.dart index 9b4798f15f6a20cd2ebde23569865078854d3429..559aeef5394d32f0b66e953ca626a264101e23da 100644 --- a/testing/dart/text_test.dart +++ b/testing/dart/text_test.dart @@ -1,4 +1,4 @@ -// Copyright 2019 The Flutter Authors. All rights reserved. +// 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. diff --git a/testing/scenario_app/lib/src/channel_util.dart b/testing/scenario_app/lib/src/channel_util.dart index 5f8c4c0d1d296fcf90372188661d619f435d36f3..986494f5ff4e917aa98812fe27dffce2b2a79acf 100644 --- a/testing/scenario_app/lib/src/channel_util.dart +++ b/testing/scenario_app/lib/src/channel_util.dart @@ -1,4 +1,4 @@ -// Copyright 2019 The Flutter Authors. All rights reserved. +// 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. diff --git a/testing/scenario_app/lib/src/initial_route_reply.dart b/testing/scenario_app/lib/src/initial_route_reply.dart index d53a118e842c908411bf42a265e1402c4cb8d1e9..c42e7608da93df44e2a013899a780d2c92b2a15a 100644 --- a/testing/scenario_app/lib/src/initial_route_reply.dart +++ b/testing/scenario_app/lib/src/initial_route_reply.dart @@ -1,4 +1,4 @@ -// Copyright 2019 The Flutter Authors. All rights reserved. +// 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. diff --git a/testing/scenario_app/lib/src/locale_initialization.dart b/testing/scenario_app/lib/src/locale_initialization.dart index 8e48a91b7c5032e9f2e198dc8cb8c137405d6ede..6157de30be90365b8b94a0237b5f856f5363f723 100644 --- a/testing/scenario_app/lib/src/locale_initialization.dart +++ b/testing/scenario_app/lib/src/locale_initialization.dart @@ -1,4 +1,4 @@ -// Copyright 2020 The Flutter Authors. All rights reserved. +// 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. diff --git a/testing/scenario_app/lib/src/platform_echo_mixin.dart b/testing/scenario_app/lib/src/platform_echo_mixin.dart index fbd67338f5bffdecb8f576803cf8d4da6030cf6e..2e735d86c641c3fd7c1c4bcc9ac4d7b3fd225429 100644 --- a/testing/scenario_app/lib/src/platform_echo_mixin.dart +++ b/testing/scenario_app/lib/src/platform_echo_mixin.dart @@ -1,4 +1,4 @@ -// Copyright 2019 The Flutter Authors. All rights reserved. +// 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. diff --git a/testing/scenario_app/lib/src/poppable_screen.dart b/testing/scenario_app/lib/src/poppable_screen.dart index c2a1f91c71afe439cd40788259316f25f3838d6b..6ecd655b029950df67049fa74fe07dff76ccb97d 100644 --- a/testing/scenario_app/lib/src/poppable_screen.dart +++ b/testing/scenario_app/lib/src/poppable_screen.dart @@ -1,4 +1,4 @@ -// Copyright 2019 The Flutter Authors. All rights reserved. +// 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. diff --git a/testing/scenario_app/lib/src/send_text_focus_semantics.dart b/testing/scenario_app/lib/src/send_text_focus_semantics.dart index 9b5839212d99fae509544f9f199e2af44c6ccb6f..529dafcea5416f5eff5476a4ae9e5285b234851d 100644 --- a/testing/scenario_app/lib/src/send_text_focus_semantics.dart +++ b/testing/scenario_app/lib/src/send_text_focus_semantics.dart @@ -1,4 +1,4 @@ -// Copyright 2020 The Flutter Authors. All rights reserved. +// 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. diff --git a/testing/scenario_app/lib/src/touches_scenario.dart b/testing/scenario_app/lib/src/touches_scenario.dart index 7afcf030fc8abe3d923a0eca3d789b20cfd07355..dbbf50ff155819e3ee8e693a2ebb39c89918f952 100644 --- a/testing/scenario_app/lib/src/touches_scenario.dart +++ b/testing/scenario_app/lib/src/touches_scenario.dart @@ -1,4 +1,4 @@ -// Copyright 2020 The Flutter Authors. All rights reserved. +// 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. diff --git a/testing/symbols/verify_exported.dart b/testing/symbols/verify_exported.dart index 2bd2d236d0e49791e1877ecc1c5e0d0c9f374cee..0a26a3cf4bde786e0edb6f63ada597c41436e6ba 100644 --- a/testing/symbols/verify_exported.dart +++ b/testing/symbols/verify_exported.dart @@ -1,3 +1,7 @@ +// 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. + // @dart = 2.6 import 'dart:convert'; import 'dart:io'; diff --git a/third_party/txt/src/txt/styled_runs.cc b/third_party/txt/src/txt/styled_runs.cc index 7c7ba75db5ae4d2b9c8f7a2c6fa3e3f045543913..aa39ef75d93e6532fdddd36b201c3388c9add7f8 100644 --- a/third_party/txt/src/txt/styled_runs.cc +++ b/third_party/txt/src/txt/styled_runs.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Google, Inc. + * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tools/const_finder/test/const_finder_test.dart b/tools/const_finder/test/const_finder_test.dart index e68146761b02bd0e89069a39abd123105ea18afc..0046660bafefa1610370945f07bb7634e1ed15a2 100644 --- a/tools/const_finder/test/const_finder_test.dart +++ b/tools/const_finder/test/const_finder_test.dart @@ -132,7 +132,7 @@ void _checkNonConsts() { }, { 'file': 'file://$fixtures/pkg/package.dart', - 'line': 10, + 'line': 14, 'column': 25, } ] diff --git a/tools/const_finder/test/fixtures/pkg/package.dart b/tools/const_finder/test/fixtures/pkg/package.dart index 62ba73c3575abb9062c90fe42b7483b4bdf0274f..1b9d1eb255a3a47bfdc6bf5e980d0aa3a879ea6e 100644 --- a/tools/const_finder/test/fixtures/pkg/package.dart +++ b/tools/const_finder/test/fixtures/pkg/package.dart @@ -1,3 +1,7 @@ +// 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. + import 'package:const_finder_fixtures/target.dart'; void createTargetInPackage() { diff --git a/tools/generate_package_config/bin/generate_from_legacy.dart b/tools/generate_package_config/bin/generate_from_legacy.dart index 011e5e11ba4487e5b6c2b653749f1d542209aa3b..f1a7d6e235875d6a2aa61a32948b7ea1d7f34eb4 100644 --- a/tools/generate_package_config/bin/generate_from_legacy.dart +++ b/tools/generate_package_config/bin/generate_from_legacy.dart @@ -1,6 +1,7 @@ -// Copyright (c) 2020, 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. +// 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. + // @dart=2.8 import 'dart:convert'; import 'dart:io';