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 cflags: ["-Wall", "-Werror"], 22 host_supported: true, 23 shared_libs: ["liblog", "libese", "libese-sysdeps"], 24 export_include_dirs: ["include"], 25} 26 27cc_library { 28 name: "libese-app-boot-fortest", 29 defaults: ["libese-app-defaults"], 30 srcs: ["boot.c"], 31 host_supported: true, 32 cflags: [ 33 "-fvisibility=default", 34 "-Wall", 35 "-Werror", 36 ], 37 shared_libs: ["liblog", "libese", "libese-sysdeps"], 38 export_include_dirs: ["include"], 39} 40 41 42cc_binary { 43 name: "ese-boot-tool", 44 proprietary: true, 45 srcs: ["ese_boot_tool.cpp"], 46 shared_libs: [ 47 "libcutils", 48 "liblog", 49 "libese", 50 "libese-sysdeps", 51 "libese-app-boot", 52 "libese-teq1", 53 "libese-hw-nxp-pn80t-nq-nci", 54 ], 55 host_supported: false, 56 cflags: ["-Wall", "-Werror"], 57 target: { 58 darwin: { 59 enabled: false, 60 }, 61 }, 62} 63 64subdirs = ["tests"] 65