From 5747fc4b17b2b2ae2bceb8a01f2514e15db5e0b3 Mon Sep 17 00:00:00 2001 From: Zeya Peng Date: Fri, 11 Apr 2025 10:44:01 -0700 Subject: [PATCH] Fix license comment block in ReactCxxPlatform code Summary: ## Changelog: [Internal] [Changed] - Fix license comment block in ReactCxxPlatform code Reviewed By: rshest Differential Revision: D72802801 fbshipit-source-id: 987a532bfe10d66db0aa2dad687d064225fa609d --- .../ReactCxxPlatform/react/nativemodule/JavaScriptModule.h | 7 ++++++- .../react/nativemodule/TurboModuleManager.h | 7 ++++++- .../react/renderer/scheduler/SchedulerDelegateImpl.cpp | 7 ++++++- .../react/renderer/scheduler/SchedulerDelegateImpl.h | 7 ++++++- .../react/renderer/scheduler/SurfaceDelegate.h | 7 ++++++- .../react/renderer/uimanager/IMountingManager.h | 7 ++++++- 6 files changed, 36 insertions(+), 6 deletions(-) diff --git a/packages/react-native/ReactCxxPlatform/react/nativemodule/JavaScriptModule.h b/packages/react-native/ReactCxxPlatform/react/nativemodule/JavaScriptModule.h index 86f84aac143..94e2dfe720a 100644 --- a/packages/react-native/ReactCxxPlatform/react/nativemodule/JavaScriptModule.h +++ b/packages/react-native/ReactCxxPlatform/react/nativemodule/JavaScriptModule.h @@ -1,4 +1,9 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ #pragma once diff --git a/packages/react-native/ReactCxxPlatform/react/nativemodule/TurboModuleManager.h b/packages/react-native/ReactCxxPlatform/react/nativemodule/TurboModuleManager.h index 74fd7887cf3..e0d6682dd37 100644 --- a/packages/react-native/ReactCxxPlatform/react/nativemodule/TurboModuleManager.h +++ b/packages/react-native/ReactCxxPlatform/react/nativemodule/TurboModuleManager.h @@ -1,4 +1,9 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ #pragma once diff --git a/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SchedulerDelegateImpl.cpp b/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SchedulerDelegateImpl.cpp index f594a75c043..8ca95ecdd0c 100644 --- a/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SchedulerDelegateImpl.cpp +++ b/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SchedulerDelegateImpl.cpp @@ -1,4 +1,9 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ #include "SchedulerDelegateImpl.h" diff --git a/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SchedulerDelegateImpl.h b/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SchedulerDelegateImpl.h index 229d21c8900..9eebdf1e702 100644 --- a/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SchedulerDelegateImpl.h +++ b/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SchedulerDelegateImpl.h @@ -1,4 +1,9 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ #pragma once diff --git a/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SurfaceDelegate.h b/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SurfaceDelegate.h index a62269bd11d..8797e679486 100644 --- a/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SurfaceDelegate.h +++ b/packages/react-native/ReactCxxPlatform/react/renderer/scheduler/SurfaceDelegate.h @@ -1,4 +1,9 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ #pragma once diff --git a/packages/react-native/ReactCxxPlatform/react/renderer/uimanager/IMountingManager.h b/packages/react-native/ReactCxxPlatform/react/renderer/uimanager/IMountingManager.h index 302905ee140..c6650fa5b52 100644 --- a/packages/react-native/ReactCxxPlatform/react/renderer/uimanager/IMountingManager.h +++ b/packages/react-native/ReactCxxPlatform/react/renderer/uimanager/IMountingManager.h @@ -1,4 +1,9 @@ -// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ #pragma once