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