1// Copyright (C) 2019 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// http://www.apache.org/licenses/LICENSE-2.0 7// 8// Unless required by applicable law or agreed to in writing, software 9// distributed under the License is distributed on an "AS IS" BASIS, 10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11// See the License for the specific language governing permissions and 12// limitations under the License. 13 14package { 15 // See: http://go/android-license-faq 16 // A large-scale-change added 'default_applicable_licenses' to import 17 // all of the 'license_kinds' from "system_core_trusty_license" 18 // to get the below license kinds: 19 // SPDX-license-identifier-Apache-2.0 20 // SPDX-license-identifier-MIT 21 default_applicable_licenses: ["system_core_trusty_license"], 22} 23 24cc_binary { 25 name: "rpmb_dev", 26 vendor: true, 27 28 srcs: [ 29 "rpmb_dev.c", 30 ], 31 shared_libs: [ 32 "libc", 33 "liblog", 34 "libcrypto", 35 ], 36 cflags: [ 37 "-Wall", 38 "-Werror", 39 ], 40 init_rc: [ 41 "rpmb_dev.rc", 42 ], 43} 44