1*60517a1eSAndroid Build Coastguard Worker# Copyright 2023 The Bazel Authors. All rights reserved. 2*60517a1eSAndroid Build Coastguard Worker# 3*60517a1eSAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); 4*60517a1eSAndroid Build Coastguard Worker# you may not use this file except in compliance with the License. 5*60517a1eSAndroid Build Coastguard Worker# You may obtain a copy of the License at 6*60517a1eSAndroid Build Coastguard Worker# 7*60517a1eSAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 8*60517a1eSAndroid Build Coastguard Worker# 9*60517a1eSAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 10*60517a1eSAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 11*60517a1eSAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*60517a1eSAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 13*60517a1eSAndroid Build Coastguard Worker# limitations under the License. 14*60517a1eSAndroid Build Coastguard Worker 15*60517a1eSAndroid Build Coastguard Workerload("@bazel_skylib//:bzl_library.bzl", "bzl_library") 16*60517a1eSAndroid Build Coastguard Worker 17*60517a1eSAndroid Build Coastguard Workerpackage( 18*60517a1eSAndroid Build Coastguard Worker default_visibility = ["//:__subpackages__"], 19*60517a1eSAndroid Build Coastguard Worker) 20*60517a1eSAndroid Build Coastguard Worker 21*60517a1eSAndroid Build Coastguard Workerbzl_library( 22*60517a1eSAndroid Build Coastguard Worker name = "attributes_bazel_bzl", 23*60517a1eSAndroid Build Coastguard Worker srcs = ["attributes_bazel.bzl"], 24*60517a1eSAndroid Build Coastguard Worker deps = ["//python/private:rules_cc_srcs_bzl"], 25*60517a1eSAndroid Build Coastguard Worker) 26*60517a1eSAndroid Build Coastguard Worker 27*60517a1eSAndroid Build Coastguard Workerbzl_library( 28*60517a1eSAndroid Build Coastguard Worker name = "attributes_bzl", 29*60517a1eSAndroid Build Coastguard Worker srcs = ["attributes.bzl"], 30*60517a1eSAndroid Build Coastguard Worker deps = [ 31*60517a1eSAndroid Build Coastguard Worker ":common_bzl", 32*60517a1eSAndroid Build Coastguard Worker ":providers_bzl", 33*60517a1eSAndroid Build Coastguard Worker ":py_internal_bzl", 34*60517a1eSAndroid Build Coastguard Worker ":semantics_bzl", 35*60517a1eSAndroid Build Coastguard Worker "//python/private:enum_bzl", 36*60517a1eSAndroid Build Coastguard Worker "//python/private:flags_bzl", 37*60517a1eSAndroid Build Coastguard Worker "//python/private:reexports_bzl", 38*60517a1eSAndroid Build Coastguard Worker "//python/private:rules_cc_srcs_bzl", 39*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//rules:common_settings", 40*60517a1eSAndroid Build Coastguard Worker ], 41*60517a1eSAndroid Build Coastguard Worker) 42*60517a1eSAndroid Build Coastguard Worker 43*60517a1eSAndroid Build Coastguard Workerbzl_library( 44*60517a1eSAndroid Build Coastguard Worker name = "cc_helper_bzl", 45*60517a1eSAndroid Build Coastguard Worker srcs = ["cc_helper.bzl"], 46*60517a1eSAndroid Build Coastguard Worker deps = [":py_internal_bzl"], 47*60517a1eSAndroid Build Coastguard Worker) 48*60517a1eSAndroid Build Coastguard Worker 49*60517a1eSAndroid Build Coastguard Workerbzl_library( 50*60517a1eSAndroid Build Coastguard Worker name = "common_bazel_bzl", 51*60517a1eSAndroid Build Coastguard Worker srcs = ["common_bazel.bzl"], 52*60517a1eSAndroid Build Coastguard Worker deps = [ 53*60517a1eSAndroid Build Coastguard Worker ":attributes_bzl", 54*60517a1eSAndroid Build Coastguard Worker ":common_bzl", 55*60517a1eSAndroid Build Coastguard Worker ":providers_bzl", 56*60517a1eSAndroid Build Coastguard Worker ":py_internal_bzl", 57*60517a1eSAndroid Build Coastguard Worker "//python/private:py_interpreter_program_bzl", 58*60517a1eSAndroid Build Coastguard Worker "//python/private:toolchain_types_bzl", 59*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//lib:paths", 60*60517a1eSAndroid Build Coastguard Worker ], 61*60517a1eSAndroid Build Coastguard Worker) 62*60517a1eSAndroid Build Coastguard Worker 63*60517a1eSAndroid Build Coastguard Workerbzl_library( 64*60517a1eSAndroid Build Coastguard Worker name = "common_bzl", 65*60517a1eSAndroid Build Coastguard Worker srcs = ["common.bzl"], 66*60517a1eSAndroid Build Coastguard Worker deps = [ 67*60517a1eSAndroid Build Coastguard Worker ":cc_helper_bzl", 68*60517a1eSAndroid Build Coastguard Worker ":providers_bzl", 69*60517a1eSAndroid Build Coastguard Worker ":py_internal_bzl", 70*60517a1eSAndroid Build Coastguard Worker ":semantics_bzl", 71*60517a1eSAndroid Build Coastguard Worker "//python/private:reexports_bzl", 72*60517a1eSAndroid Build Coastguard Worker "//python/private:rules_cc_srcs_bzl", 73*60517a1eSAndroid Build Coastguard Worker ], 74*60517a1eSAndroid Build Coastguard Worker) 75*60517a1eSAndroid Build Coastguard Worker 76*60517a1eSAndroid Build Coastguard Workerfilegroup( 77*60517a1eSAndroid Build Coastguard Worker name = "distribution", 78*60517a1eSAndroid Build Coastguard Worker srcs = glob(["**"]), 79*60517a1eSAndroid Build Coastguard Worker) 80*60517a1eSAndroid Build Coastguard Worker 81*60517a1eSAndroid Build Coastguard Workerbzl_library( 82*60517a1eSAndroid Build Coastguard Worker name = "providers_bzl", 83*60517a1eSAndroid Build Coastguard Worker srcs = ["providers.bzl"], 84*60517a1eSAndroid Build Coastguard Worker deps = [ 85*60517a1eSAndroid Build Coastguard Worker ":semantics_bzl", 86*60517a1eSAndroid Build Coastguard Worker "//python/private:rules_cc_srcs_bzl", 87*60517a1eSAndroid Build Coastguard Worker "//python/private:util_bzl", 88*60517a1eSAndroid Build Coastguard Worker ], 89*60517a1eSAndroid Build Coastguard Worker) 90*60517a1eSAndroid Build Coastguard Worker 91*60517a1eSAndroid Build Coastguard Workerbzl_library( 92*60517a1eSAndroid Build Coastguard Worker name = "py_binary_macro_bazel_bzl", 93*60517a1eSAndroid Build Coastguard Worker srcs = ["py_binary_macro_bazel.bzl"], 94*60517a1eSAndroid Build Coastguard Worker deps = [ 95*60517a1eSAndroid Build Coastguard Worker ":common_bzl", 96*60517a1eSAndroid Build Coastguard Worker ":py_binary_rule_bazel_bzl", 97*60517a1eSAndroid Build Coastguard Worker ], 98*60517a1eSAndroid Build Coastguard Worker) 99*60517a1eSAndroid Build Coastguard Worker 100*60517a1eSAndroid Build Coastguard Workerbzl_library( 101*60517a1eSAndroid Build Coastguard Worker name = "py_binary_rule_bazel_bzl", 102*60517a1eSAndroid Build Coastguard Worker srcs = ["py_binary_rule_bazel.bzl"], 103*60517a1eSAndroid Build Coastguard Worker deps = [ 104*60517a1eSAndroid Build Coastguard Worker ":attributes_bzl", 105*60517a1eSAndroid Build Coastguard Worker ":py_executable_bazel_bzl", 106*60517a1eSAndroid Build Coastguard Worker ":semantics_bzl", 107*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//lib:dicts", 108*60517a1eSAndroid Build Coastguard Worker ], 109*60517a1eSAndroid Build Coastguard Worker) 110*60517a1eSAndroid Build Coastguard Worker 111*60517a1eSAndroid Build Coastguard Workerbzl_library( 112*60517a1eSAndroid Build Coastguard Worker name = "py_executable_bazel_bzl", 113*60517a1eSAndroid Build Coastguard Worker srcs = ["py_executable_bazel.bzl"], 114*60517a1eSAndroid Build Coastguard Worker deps = [ 115*60517a1eSAndroid Build Coastguard Worker ":attributes_bazel_bzl", 116*60517a1eSAndroid Build Coastguard Worker ":common_bazel_bzl", 117*60517a1eSAndroid Build Coastguard Worker ":common_bzl", 118*60517a1eSAndroid Build Coastguard Worker ":providers_bzl", 119*60517a1eSAndroid Build Coastguard Worker ":py_executable_bzl", 120*60517a1eSAndroid Build Coastguard Worker ":py_internal_bzl", 121*60517a1eSAndroid Build Coastguard Worker ":semantics_bzl", 122*60517a1eSAndroid Build Coastguard Worker ], 123*60517a1eSAndroid Build Coastguard Worker) 124*60517a1eSAndroid Build Coastguard Worker 125*60517a1eSAndroid Build Coastguard Workerbzl_library( 126*60517a1eSAndroid Build Coastguard Worker name = "py_executable_bzl", 127*60517a1eSAndroid Build Coastguard Worker srcs = ["py_executable.bzl"], 128*60517a1eSAndroid Build Coastguard Worker deps = [ 129*60517a1eSAndroid Build Coastguard Worker ":attributes_bzl", 130*60517a1eSAndroid Build Coastguard Worker ":cc_helper_bzl", 131*60517a1eSAndroid Build Coastguard Worker ":common_bzl", 132*60517a1eSAndroid Build Coastguard Worker ":providers_bzl", 133*60517a1eSAndroid Build Coastguard Worker ":py_internal_bzl", 134*60517a1eSAndroid Build Coastguard Worker "//python/private:flags_bzl", 135*60517a1eSAndroid Build Coastguard Worker "//python/private:py_executable_info_bzl", 136*60517a1eSAndroid Build Coastguard Worker "//python/private:rules_cc_srcs_bzl", 137*60517a1eSAndroid Build Coastguard Worker "//python/private:toolchain_types_bzl", 138*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//lib:dicts", 139*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//lib:structs", 140*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//rules:common_settings", 141*60517a1eSAndroid Build Coastguard Worker ], 142*60517a1eSAndroid Build Coastguard Worker) 143*60517a1eSAndroid Build Coastguard Worker 144*60517a1eSAndroid Build Coastguard Workerbzl_library( 145*60517a1eSAndroid Build Coastguard Worker name = "py_internal_bzl", 146*60517a1eSAndroid Build Coastguard Worker srcs = ["py_internal.bzl"], 147*60517a1eSAndroid Build Coastguard Worker deps = ["@rules_python_internal//:py_internal_bzl"], 148*60517a1eSAndroid Build Coastguard Worker) 149*60517a1eSAndroid Build Coastguard Worker 150*60517a1eSAndroid Build Coastguard Workerbzl_library( 151*60517a1eSAndroid Build Coastguard Worker name = "py_library_bzl", 152*60517a1eSAndroid Build Coastguard Worker srcs = ["py_library.bzl"], 153*60517a1eSAndroid Build Coastguard Worker deps = [ 154*60517a1eSAndroid Build Coastguard Worker ":attributes_bzl", 155*60517a1eSAndroid Build Coastguard Worker ":common_bzl", 156*60517a1eSAndroid Build Coastguard Worker ":providers_bzl", 157*60517a1eSAndroid Build Coastguard Worker ":py_internal_bzl", 158*60517a1eSAndroid Build Coastguard Worker "//python/private:flags_bzl", 159*60517a1eSAndroid Build Coastguard Worker "//python/private:toolchain_types_bzl", 160*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//lib:dicts", 161*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//rules:common_settings", 162*60517a1eSAndroid Build Coastguard Worker ], 163*60517a1eSAndroid Build Coastguard Worker) 164*60517a1eSAndroid Build Coastguard Worker 165*60517a1eSAndroid Build Coastguard Workerbzl_library( 166*60517a1eSAndroid Build Coastguard Worker name = "py_library_macro_bazel_bzl", 167*60517a1eSAndroid Build Coastguard Worker srcs = ["py_library_macro_bazel.bzl"], 168*60517a1eSAndroid Build Coastguard Worker deps = [":py_library_rule_bazel_bzl"], 169*60517a1eSAndroid Build Coastguard Worker) 170*60517a1eSAndroid Build Coastguard Worker 171*60517a1eSAndroid Build Coastguard Workerbzl_library( 172*60517a1eSAndroid Build Coastguard Worker name = "py_library_rule_bazel_bzl", 173*60517a1eSAndroid Build Coastguard Worker srcs = ["py_library_rule_bazel.bzl"], 174*60517a1eSAndroid Build Coastguard Worker deps = [ 175*60517a1eSAndroid Build Coastguard Worker ":attributes_bazel_bzl", 176*60517a1eSAndroid Build Coastguard Worker ":common_bazel_bzl", 177*60517a1eSAndroid Build Coastguard Worker ":common_bzl", 178*60517a1eSAndroid Build Coastguard Worker ":py_library_bzl", 179*60517a1eSAndroid Build Coastguard Worker ], 180*60517a1eSAndroid Build Coastguard Worker) 181*60517a1eSAndroid Build Coastguard Worker 182*60517a1eSAndroid Build Coastguard Workerbzl_library( 183*60517a1eSAndroid Build Coastguard Worker name = "py_runtime_macro_bzl", 184*60517a1eSAndroid Build Coastguard Worker srcs = ["py_runtime_macro.bzl"], 185*60517a1eSAndroid Build Coastguard Worker deps = [":py_runtime_rule_bzl"], 186*60517a1eSAndroid Build Coastguard Worker) 187*60517a1eSAndroid Build Coastguard Worker 188*60517a1eSAndroid Build Coastguard Workerbzl_library( 189*60517a1eSAndroid Build Coastguard Worker name = "py_runtime_rule_bzl", 190*60517a1eSAndroid Build Coastguard Worker srcs = ["py_runtime_rule.bzl"], 191*60517a1eSAndroid Build Coastguard Worker deps = [ 192*60517a1eSAndroid Build Coastguard Worker ":attributes_bzl", 193*60517a1eSAndroid Build Coastguard Worker ":providers_bzl", 194*60517a1eSAndroid Build Coastguard Worker ":py_internal_bzl", 195*60517a1eSAndroid Build Coastguard Worker "//python/private:reexports_bzl", 196*60517a1eSAndroid Build Coastguard Worker "//python/private:util_bzl", 197*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//lib:dicts", 198*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//lib:paths", 199*60517a1eSAndroid Build Coastguard Worker ], 200*60517a1eSAndroid Build Coastguard Worker) 201*60517a1eSAndroid Build Coastguard Worker 202*60517a1eSAndroid Build Coastguard Workerbzl_library( 203*60517a1eSAndroid Build Coastguard Worker name = "py_test_macro_bazel_bzl", 204*60517a1eSAndroid Build Coastguard Worker srcs = ["py_test_macro_bazel.bzl"], 205*60517a1eSAndroid Build Coastguard Worker deps = [ 206*60517a1eSAndroid Build Coastguard Worker ":common_bazel_bzl", 207*60517a1eSAndroid Build Coastguard Worker ":py_test_rule_bazel_bzl", 208*60517a1eSAndroid Build Coastguard Worker ], 209*60517a1eSAndroid Build Coastguard Worker) 210*60517a1eSAndroid Build Coastguard Worker 211*60517a1eSAndroid Build Coastguard Workerbzl_library( 212*60517a1eSAndroid Build Coastguard Worker name = "py_test_rule_bazel_bzl", 213*60517a1eSAndroid Build Coastguard Worker srcs = ["py_test_rule_bazel.bzl"], 214*60517a1eSAndroid Build Coastguard Worker deps = [ 215*60517a1eSAndroid Build Coastguard Worker ":attributes_bzl", 216*60517a1eSAndroid Build Coastguard Worker ":common_bzl", 217*60517a1eSAndroid Build Coastguard Worker ":py_executable_bazel_bzl", 218*60517a1eSAndroid Build Coastguard Worker ":semantics_bzl", 219*60517a1eSAndroid Build Coastguard Worker "@bazel_skylib//lib:dicts", 220*60517a1eSAndroid Build Coastguard Worker ], 221*60517a1eSAndroid Build Coastguard Worker) 222*60517a1eSAndroid Build Coastguard Worker 223*60517a1eSAndroid Build Coastguard Workerbzl_library( 224*60517a1eSAndroid Build Coastguard Worker name = "semantics_bzl", 225*60517a1eSAndroid Build Coastguard Worker srcs = ["semantics.bzl"], 226*60517a1eSAndroid Build Coastguard Worker) 227