diff options
author | Victor Chang <vichang@google.com> | 2021-08-03 18:02:28 +0100 |
---|---|---|
committer | Victor Chang <vichang@google.com> | 2021-08-03 18:02:28 +0100 |
commit | c92283518936fffb997574d3eab22ee86aa2ec92 (patch) | |
tree | eff05673ed809420f064455318655ea5ab9a9be6 | |
parent | 9ec19cbbd0e52e0f253c7355959ec62772541702 (diff) | |
download | icu-androidx-wear-wear-ongoing-release.tar.gz |
Use python3 in various python scriptsandroidx-wear-wear-ongoing-release
Bug: 185116539
Test: ./updateicudata.py
Test: ./updatecldrdata.py
Change-Id: I3062cc96a8250c50dea37345df67a49bb2282b8a
-rw-r--r-- | tools/i18nutil.py | 16 | ||||
-rw-r--r-- | tools/icuutil.py | 2 | ||||
-rwxr-xr-x | tools/updatecldrdata.py | 15 | ||||
-rwxr-xr-x | tools/updateicudata.py | 15 | ||||
-rw-r--r-- | tools/ziputil.py | 2 |
5 files changed, 44 insertions, 6 deletions
diff --git a/tools/i18nutil.py b/tools/i18nutil.py index c802f5f87..e061f5ea8 100644 --- a/tools/i18nutil.py +++ b/tools/i18nutil.py @@ -1,3 +1,19 @@ +# Copyright 2015 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. + +"""Utility methods associated with Android source and builds.""" + from __future__ import print_function import os diff --git a/tools/icuutil.py b/tools/icuutil.py index 7c84b263f..8353376f4 100644 --- a/tools/icuutil.py +++ b/tools/icuutil.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -B - # Copyright 2017 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tools/updatecldrdata.py b/tools/updatecldrdata.py index 10b169d18..1f2cf3e7b 100755 --- a/tools/updatecldrdata.py +++ b/tools/updatecldrdata.py @@ -1,4 +1,17 @@ -#!/usr/bin/python -B +#!/usr/bin/python3 -B +# Copyright 2018 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. """Regenerates (just) ICU data source files used to build ICU data files.""" diff --git a/tools/updateicudata.py b/tools/updateicudata.py index 175761920..7a47f9b0f 100755 --- a/tools/updateicudata.py +++ b/tools/updateicudata.py @@ -1,4 +1,17 @@ -#!/usr/bin/python -B +#!/usr/bin/python3 -B +# Copyright 2015 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. """Regenerates (just) ICU data files used in the Android system image.""" diff --git a/tools/ziputil.py b/tools/ziputil.py index 5b2b580ea..f5745e93d 100644 --- a/tools/ziputil.py +++ b/tools/ziputil.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -B - # Copyright 2017 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); |