4a7bf608b2
This is an improvement over directly referencing the prebuilt because bp2build can now emit BUILD files that contain a dep to //build/soong/zip/cmd:soong_zip even though we're not converting the soong_zip module. It helps to make progress despite not having go rules support to convert/build soong_zip. This unblocks many modules, like genrules and gensrcs that use soong_zip in tools. soong_zip doesn't change often, so it's not risky to depend on the prebuilt instead of source version. Bug: 194644518 Bug: 248222296 Test: bp2build CI Change-Id: Idef0c27ec0fb43a9097d750ec72fba00644c9f2a
20 lines
784 B
Python
20 lines
784 B
Python
# 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.
|
|
|
|
# TODO(b/194644518): Switch to the source version when Bazel can build go
|
|
# binaries.
|
|
alias(
|
|
name = "soong_zip",
|
|
actual = "//prebuilts/build-tools:linux-x86/bin/soong_zip",
|
|
)
|