blob: b436493cabba1a69bf6e0346b293bb86e45175e0 [file] [log] [blame]
// Copyright 2023 The Bazel Authors. All rights reserved.
//
// 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.
// Package akcommands provides a map of all AK commands to their respective binaries.
package akcommands
import (
"src/tools/ak/bucketize/bucketize"
"src/tools/ak/compile/compile"
"src/tools/ak/extractaar/extractaar"
"src/tools/ak/extractresources/extractresources"
"src/tools/ak/finalrjar/finalrjar"
"src/tools/ak/generatemanifest/generatemanifest"
"src/tools/ak/link/link"
"src/tools/ak/liteparse/liteparse"
"src/tools/ak/manifest/manifest"
"src/tools/ak/minsdkfloor/minsdkfloor"
"src/tools/ak/nativelib/nativelib"
"src/tools/ak/patch/patch"
"src/tools/ak/repack/repack"
"src/tools/ak/rjar/rjar"
"src/tools/ak/types"
)
var (
// Cmds map AK commands to their respective binaries
Cmds = map[string]types.Command{
"bucketize": bucketize.Cmd,
"compile": compile.Cmd,
"extractaar": extractaar.Cmd,
"extractresources": extractresources.Cmd,
"link": link.Cmd,
"liteparse": liteparse.Cmd,
"generatemanifest": generatemanifest.Cmd,
"manifest": manifest.Cmd,
"nativelib": nativelib.Cmd,
"patch": patch.Cmd,
"repack": repack.Cmd,
"rjar": rjar.Cmd,
"finalrjar": finalrjar.Cmd,
"minsdkfloor": minsdkfloor.Cmd,
}
)