1// 2// Copyright (C) 2017 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17cc_library { 18 name: "libese-app-boot", 19 defaults: ["libese-app-defaults"], 20 srcs: ["boot.c"], 21 host_supported: true, 22 shared_libs: ["liblog", "libese", "libese-sysdeps"], 23} 24 25cc_library { 26 name: "libese-app-boot-fortest", 27 defaults: ["libese-app-defaults"], 28 srcs: ["boot.c"], 29 host_supported: true, 30 cflags: ["-fvisibility=default"], 31 shared_libs: ["liblog", "libese", "libese-sysdeps"], 32} 33 34 35cc_binary { 36 name: "ese-boot-tool", 37 proprietary: true, 38 srcs: ["ese_boot_tool.cpp"], 39 shared_libs: [ 40 "libcutils", 41 "liblog", 42 "libese", 43 "libese-sysdeps", 44 "libese-app-boot", 45 "libese-teq1", 46 "libese-hw-nxp-pn80t-nq-nci", 47 ], 48 host_supported: false, 49 target: { 50 darwin: { 51 enabled: false, 52 }, 53 }, 54} 55 56subdirs = ["tests"] 57