aboutsummaryrefslogtreecommitdiff
path: root/flags
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2023-03-04 17:44:13 -0800
committerCole Faust <colefaust@google.com>2023-03-04 17:57:39 -0800
commit71d6846bdbdbe231e6fe30bece48956e1a67e2d0 (patch)
tree2c1b5e604623563db99b11f32c41e25c3908ef99 /flags
parent77536885419c822d4aff6fc5d4b8398945e0ad8f (diff)
downloadbazel-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 'flags')
-rw-r--r--flags/common.bzl28
1 files changed, 13 insertions, 15 deletions
diff --git a/flags/common.bzl b/flags/common.bzl
index 270e1f9c..1e84d303 100644
--- a/flags/common.bzl
+++ b/flags/common.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 is_env_true(value):
"""return the truthiness of the value of an environment variable