From 55ee7238904202ce74bec0eac545e15b3bda2152 Mon Sep 17 00:00:00 2001 From: luomy Date: Wed, 21 Dec 2022 10:22:06 +0800 Subject: [PATCH] refactor(ios): perfect copyright notice (#2821) --- .../third_party/base/include/base/log_level.h | 22 ++++++++++++++++++- .../base/include/base/log_settings.h | 22 ++++++++++++++++++- core/third_party/base/include/base/macros.h | 22 ++++++++++++++++++- .../third_party/base/src/base/log_settings.cc | 22 ++++++++++++++++++- .../base/src/base/log_settings_state.cc | 22 ++++++++++++++++++- .../base/src/platform/ios/logging.cc | 22 ++++++++++++++++++- .../HippyLibrary.xcodeproj/project.pbxproj | 2 -- 7 files changed, 126 insertions(+), 8 deletions(-) diff --git a/core/third_party/base/include/base/log_level.h b/core/third_party/base/include/base/log_level.h index 2c290d39bac..5a104fbd33a 100644 --- a/core/third_party/base/include/base/log_level.h +++ b/core/third_party/base/include/base/log_level.h @@ -1,4 +1,24 @@ -// Copyright (c) 2020 Tencent Corporation. All rights reserved. +/* + * + * Tencent is pleased to support the open source community by making + * Hippy available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ #pragma once diff --git a/core/third_party/base/include/base/log_settings.h b/core/third_party/base/include/base/log_settings.h index 9a9caa07dbd..281d5084b5d 100644 --- a/core/third_party/base/include/base/log_settings.h +++ b/core/third_party/base/include/base/log_settings.h @@ -1,4 +1,24 @@ -// Copyright (c) 2020 Tencent Corporation. All rights reserved. +/* + * + * Tencent is pleased to support the open source community by making + * Hippy available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ #ifndef TDF_BASE_INCLUDE_LOG_SETTINGS_H_ #define TDF_BASE_INCLUDE_LOG_SETTINGS_H_ diff --git a/core/third_party/base/include/base/macros.h b/core/third_party/base/include/base/macros.h index 15b2b3c977e..792d952b843 100644 --- a/core/third_party/base/include/base/macros.h +++ b/core/third_party/base/include/base/macros.h @@ -1,4 +1,24 @@ -// Copyright (c) 2020 Tencent Corporation. All rights reserved. +/* + * + * Tencent is pleased to support the open source community by making + * Hippy available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ #pragma once diff --git a/core/third_party/base/src/base/log_settings.cc b/core/third_party/base/src/base/log_settings.cc index fcdd2515608..2986452c6d2 100644 --- a/core/third_party/base/src/base/log_settings.cc +++ b/core/third_party/base/src/base/log_settings.cc @@ -1,4 +1,24 @@ -// Copyright (c) 2020 Tencent Corporation. All rights reserved. +/* + * + * Tencent is pleased to support the open source community by making + * Hippy available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ #include "base/log_settings.h" diff --git a/core/third_party/base/src/base/log_settings_state.cc b/core/third_party/base/src/base/log_settings_state.cc index bf7b654385f..4f2b236030e 100644 --- a/core/third_party/base/src/base/log_settings_state.cc +++ b/core/third_party/base/src/base/log_settings_state.cc @@ -1,4 +1,24 @@ -// Copyright (c) 2020 Tencent Corporation. All rights reserved. +/* + * + * Tencent is pleased to support the open source community by making + * Hippy available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ #include "base/log_settings.h" diff --git a/core/third_party/base/src/platform/ios/logging.cc b/core/third_party/base/src/platform/ios/logging.cc index cb5778fa28f..8a2d0911a84 100644 --- a/core/third_party/base/src/platform/ios/logging.cc +++ b/core/third_party/base/src/platform/ios/logging.cc @@ -1,4 +1,24 @@ -// Copyright (c) 2020 Tencent Corporation. All rights reserved. +/* + * + * Tencent is pleased to support the open source community by making + * Hippy available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ #include "base/logging.h" diff --git a/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj b/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj index 0f175d6deb3..1c1790c4cf6 100644 --- a/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj +++ b/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj @@ -243,7 +243,6 @@ F4C928E6291C9B3A0078351C /* log_settings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = log_settings.h; sourceTree = ""; }; F4C928E7291C9B3A0078351C /* persistent_object_map.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = persistent_object_map.h; sourceTree = ""; }; F4C928E8291C9B3A0078351C /* unicode_string_view.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = unicode_string_view.h; sourceTree = ""; }; - F4C928F2291C9B3A0078351C /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = ""; }; F4C928F3291C9B3A0078351C /* logging.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = logging.cc; sourceTree = ""; }; F4C928F5291C9B3A0078351C /* log_settings_state.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = log_settings_state.cc; sourceTree = ""; }; F4C928F7291C9B3A0078351C /* log_settings.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = log_settings.cc; sourceTree = ""; }; @@ -801,7 +800,6 @@ F4C928F1291C9B3A0078351C /* ios */ = { isa = PBXGroup; children = ( - F4C928F2291C9B3A0078351C /* CMakeLists.txt */, F4C928F3291C9B3A0078351C /* logging.cc */, ); path = ios;