From 71d6846bdbdbe231e6fe30bece48956e1a67e2d0 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Sat, 4 Mar 2023 17:44:13 -0800 Subject: Make copyright messages comments, not docstrings Otherwise the copywrite would be the main module-level documentation when generating documentation. Bug: 271709362 Test: Presubmits Change-Id: Ifc385b321e7226048dda47a6e1d0e0d667226483 --- tests/apex/apex_aab_test.bzl | 28 +++++++++++++--------------- tests/apex/apex_compression_test.bzl | 28 +++++++++++++--------------- 2 files changed, 26 insertions(+), 30 deletions(-) (limited to 'tests') diff --git a/tests/apex/apex_aab_test.bzl b/tests/apex/apex_aab_test.bzl index 7ee9fa2f..e0b8d551 100644 --- a/tests/apex/apex_aab_test.bzl +++ b/tests/apex/apex_aab_test.bzl @@ -1,18 +1,16 @@ -""" -Copyright (C) 2022 The Android Open Source Project - -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. -""" +# Copyright (C) 2022 The Android Open Source Project +# +# 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. load("//build/bazel/rules/apex:apex_aab.bzl", "apex_aab") diff --git a/tests/apex/apex_compression_test.bzl b/tests/apex/apex_compression_test.bzl index 54acdbab..923a1222 100644 --- a/tests/apex/apex_compression_test.bzl +++ b/tests/apex/apex_compression_test.bzl @@ -1,18 +1,16 @@ -""" -Copyright (C) 2022 The Android Open Source Project - -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. -""" +# Copyright (C) 2022 The Android Open Source Project +# +# 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. def apex_compression_test(name, apex, compressed, **kwargs): """This verifies APEX or compressed APEX file: -- cgit v1.2.3