1// Copyright (C) 2020 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["device_google_cuttlefish_prebuilts_license"], 17} 18 19// Added automatically by a large-scale-change 20// See: http://go/android-license-faq 21license { 22 name: "device_google_cuttlefish_prebuilts_license", 23 visibility: [":__subpackages__"], 24 license_kinds: [ 25 "SPDX-license-identifier-GPL-2.0", 26 ], 27 // large-scale-change unable to identify any license_text files 28} 29 30sh_binary_host { 31 name: "extract-vmlinux", 32 src: "scripts/extract-vmlinux", 33} 34 35sh_binary_host { 36 name: "extract-ikconfig", 37 src: "scripts/extract-ikconfig", 38} 39 40cc_prebuilt_binary { 41 name: "mkenvimage", 42 srcs: ["uboot_tools/mkenvimage"], 43 defaults: ["cuttlefish_buildhost_only"], 44} 45 46prebuilt_build_tool { 47 name: "mkenvimage_host", 48 enabled: false, 49 target: { 50 linux: { 51 src: "uboot_tools/mkenvimage", 52 enabled: true, 53 }, 54 darwin: { 55 src: "uboot_tools/mkenvimage_mac.sh", 56 enabled: true, 57 }, 58 }, 59} 60 61// Needed for beagle_x15 target, not cuttlefish. 62cc_prebuilt_binary { 63 name: "mkimage", 64 srcs: ["uboot_tools/mkimage"], 65 device_supported: false, 66 host_supported: true, 67} 68