1*7ba4dab5SXin Li// 2*7ba4dab5SXin Li// Copyright (C) 2016 The Android Open Source Project 3*7ba4dab5SXin Li// 4*7ba4dab5SXin Li// Licensed under the Apache License, Version 2.0 (the "License"); 5*7ba4dab5SXin Li// you may not use this file except in compliance with the License. 6*7ba4dab5SXin Li// You may obtain a copy of the License at 7*7ba4dab5SXin Li// 8*7ba4dab5SXin Li// http://www.apache.org/licenses/LICENSE-2.0 9*7ba4dab5SXin Li// 10*7ba4dab5SXin Li// Unless required by applicable law or agreed to in writing, software 11*7ba4dab5SXin Li// distributed under the License is distributed on an "AS IS" BASIS, 12*7ba4dab5SXin Li// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*7ba4dab5SXin Li// See the License for the specific language governing permissions and 14*7ba4dab5SXin Li// limitations under the License. 15*7ba4dab5SXin Li// 16*7ba4dab5SXin Li 17*7ba4dab5SXin Lipackage { 18*7ba4dab5SXin Li default_applicable_licenses: ["Android-Apache-2.0"], 19*7ba4dab5SXin Li} 20*7ba4dab5SXin Li 21*7ba4dab5SXin Lisubdirs = [ 22*7ba4dab5SXin Li "tests", 23*7ba4dab5SXin Li] 24*7ba4dab5SXin Li 25*7ba4dab5SXin Licc_library_shared { 26*7ba4dab5SXin Li name: "libnvram-messages", 27*7ba4dab5SXin Li host_supported: true, 28*7ba4dab5SXin Li srcs: [ 29*7ba4dab5SXin Li "blob.cpp", 30*7ba4dab5SXin Li "io.cpp", 31*7ba4dab5SXin Li "message_codec.cpp", 32*7ba4dab5SXin Li "nvram_messages.cpp", 33*7ba4dab5SXin Li ], 34*7ba4dab5SXin Li cflags: [ 35*7ba4dab5SXin Li "-Wall", 36*7ba4dab5SXin Li "-Werror", 37*7ba4dab5SXin Li "-Wextra", 38*7ba4dab5SXin Li "-fvisibility=hidden", 39*7ba4dab5SXin Li ], 40*7ba4dab5SXin Li export_include_dirs: ["include"], 41*7ba4dab5SXin Li static_libs: ["libbase"], 42*7ba4dab5SXin Li} 43