1*ff35212dScey// Copyright (C) 2020 Google LLC 2*ff35212dScey// 3*ff35212dScey// Licensed under the Apache License, Version 2.0 (the "License"); 4*ff35212dScey// you may not use this file except in compliance with the License. 5*ff35212dScey// You may obtain a copy of the License at 6*ff35212dScey// 7*ff35212dScey// http://www.apache.org/licenses/LICENSE-2.0 8*ff35212dScey// 9*ff35212dScey// Unless required by applicable law or agreed to in writing, software 10*ff35212dScey// distributed under the License is distributed on an "AS IS" BASIS, 11*ff35212dScey// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*ff35212dScey// See the License for the specific language governing permissions and 13*ff35212dScey// limitations under the License. 14*ff35212dScey 15*ff35212dSceypackage { 16*ff35212dScey default_applicable_licenses: ["Android-Apache-2.0"], 17*ff35212dScey} 18*ff35212dScey 19*ff35212dSceypython_binary_host { 20*ff35212dScey name: "update_apn", 21*ff35212dScey main: "python/update_apn.py", 22*ff35212dScey srcs: [ 23*ff35212dScey "python/update_apn.py", 24*ff35212dScey "proto/*.proto", 25*ff35212dScey ":telephonyprovider-proto-sources", 26*ff35212dScey ], 27*ff35212dScey proto: { 28*ff35212dScey canonical_path_from_root: false 29*ff35212dScey }, 30*ff35212dScey libs: [ 31*ff35212dScey "libprotobuf-python", 32*ff35212dScey "py-six", 33*ff35212dScey ], 34*ff35212dScey} 35*ff35212dScey 36*ff35212dSceypython_binary_host { 37*ff35212dScey name: "update_carrier_data", 38*ff35212dScey main: "python/update_carrier_data.py", 39*ff35212dScey srcs: [ 40*ff35212dScey "python/compare.py", 41*ff35212dScey "python/update_carrier_data.py", 42*ff35212dScey "proto/*.proto", 43*ff35212dScey ], 44*ff35212dScey proto: { 45*ff35212dScey canonical_path_from_root: false 46*ff35212dScey }, 47*ff35212dScey libs: [ 48*ff35212dScey "libprotobuf-python", 49*ff35212dScey "py-six", 50*ff35212dScey ], 51*ff35212dScey} 52*ff35212dScey 53*ff35212dSceyjava_binary_host { 54*ff35212dScey name: "CarrierConfigConverterV2", 55*ff35212dScey srcs: [ 56*ff35212dScey "java/CarrierConfigConverterV2.java", 57*ff35212dScey "java/CarrierProtoUtils.java", 58*ff35212dScey "proto/*.proto", 59*ff35212dScey ":telephonyprovider-proto-sources", 60*ff35212dScey ], 61*ff35212dScey java_resources: [ 62*ff35212dScey ":telephonyprovider-assets-carrierlist", 63*ff35212dScey ], 64*ff35212dScey main_class: "com.google.carrier.CarrierConfigConverterV2", 65*ff35212dScey proto: { 66*ff35212dScey type: "full", 67*ff35212dScey canonical_path_from_root: false, 68*ff35212dScey }, 69*ff35212dScey plugins: [ 70*ff35212dScey "auto_value_plugin", 71*ff35212dScey ], 72*ff35212dScey libs: [ 73*ff35212dScey "auto_value_annotations", 74*ff35212dScey ], 75*ff35212dScey static_libs: [ 76*ff35212dScey "guava", 77*ff35212dScey "jcommander", 78*ff35212dScey "libprotobuf-java-full", 79*ff35212dScey ], 80*ff35212dScey} 81*ff35212dScey 82*ff35212dSceyjava_binary_host { 83*ff35212dScey name: "GenCarrierList", 84*ff35212dScey srcs: [ 85*ff35212dScey "java/CarrierProtoUtils.java", 86*ff35212dScey "java/GenCarrierList.java", 87*ff35212dScey "proto/*.proto", 88*ff35212dScey ], 89*ff35212dScey main_class: "com.google.carrier.GenCarrierList", 90*ff35212dScey proto: { 91*ff35212dScey type: "full", 92*ff35212dScey canonical_path_from_root: false, 93*ff35212dScey }, 94*ff35212dScey static_libs: [ 95*ff35212dScey "guava", 96*ff35212dScey "jcommander", 97*ff35212dScey "libprotobuf-java-full", 98*ff35212dScey ], 99*ff35212dScey} 100*ff35212dScey 101*ff35212dSceyjava_binary_host { 102*ff35212dScey name: "GenDeviceSettings", 103*ff35212dScey srcs: [ 104*ff35212dScey "java/CarrierProtoUtils.java", 105*ff35212dScey "java/GenDeviceSettings.java", 106*ff35212dScey "proto/*.proto", 107*ff35212dScey ], 108*ff35212dScey main_class: "com.google.carrier.GenDeviceSettings", 109*ff35212dScey proto: { 110*ff35212dScey type: "full", 111*ff35212dScey canonical_path_from_root: false, 112*ff35212dScey }, 113*ff35212dScey static_libs: [ 114*ff35212dScey "guava", 115*ff35212dScey "jcommander", 116*ff35212dScey "libprotobuf-java-full", 117*ff35212dScey ], 118*ff35212dScey} 119