xref: /aosp_15_r20/prebuilts/bundletool/BUILD.bazel (revision 4d55b55cd444c97bc021d35316010f57f62d7844)
1*4d55b55cSJooyung Han"""
2*4d55b55cSJooyung HanCopyright (C) 2022 The Android Open Source Project
3*4d55b55cSJooyung Han
4*4d55b55cSJooyung HanLicensed under the Apache License, Version 2.0 (the "License");
5*4d55b55cSJooyung Hanyou may not use this file except in compliance with the License.
6*4d55b55cSJooyung HanYou may obtain a copy of the License at
7*4d55b55cSJooyung Han
8*4d55b55cSJooyung Han    http://www.apache.org/licenses/LICENSE-2.0
9*4d55b55cSJooyung Han
10*4d55b55cSJooyung HanUnless required by applicable law or agreed to in writing, software
11*4d55b55cSJooyung Handistributed under the License is distributed on an "AS IS" BASIS,
12*4d55b55cSJooyung HanWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*4d55b55cSJooyung HanSee the License for the specific language governing permissions and
14*4d55b55cSJooyung Hanlimitations under the License.
15*4d55b55cSJooyung Han"""
16*4d55b55cSJooyung Han
17*4d55b55cSJooyung Hanpackage(default_visibility = ["//visibility:public"])
18*4d55b55cSJooyung Han
19*4d55b55cSJooyung Hanjava_import(
20*4d55b55cSJooyung Han    name = "bundletool-lib",
21*4d55b55cSJooyung Han    jars = glob(["bundletool-all-*.jar"]),
22*4d55b55cSJooyung Han)
23*4d55b55cSJooyung Han
24*4d55b55cSJooyung Hanjava_binary(
25*4d55b55cSJooyung Han    name = "bundletool",
26*4d55b55cSJooyung Han    main_class = "com.android.tools.build.bundletool.BundleToolMain",
27*4d55b55cSJooyung Han    runtime_deps = [
28*4d55b55cSJooyung Han        "bundletool-lib",
29*4d55b55cSJooyung Han    ],
30*4d55b55cSJooyung Han)
31