diff options
author | Cole Faust <colefaust@google.com> | 2023-03-04 17:44:13 -0800 |
---|---|---|
committer | Cole Faust <colefaust@google.com> | 2023-03-04 17:57:39 -0800 |
commit | 71d6846bdbdbe231e6fe30bece48956e1a67e2d0 (patch) | |
tree | 2c1b5e604623563db99b11f32c41e25c3908ef99 /tests | |
parent | 77536885419c822d4aff6fc5d4b8398945e0ad8f (diff) | |
download | bazel-71d6846bdbdbe231e6fe30bece48956e1a67e2d0.tar.gz |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/apex/apex_aab_test.bzl | 28 | ||||
-rw-r--r-- | tests/apex/apex_compression_test.bzl | 28 |
2 files changed, 26 insertions, 30 deletions
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: |