1# 2# Copyright (C) 2017 Google, Inc. 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 17config("libldacBT_enc_config") { 18 include_dirs = [ "inc" ] 19} 20 21config("libldacBT_abr_config") { 22 include_dirs = [ "abr/inc", "inc" ] 23} 24 25shared_library("libldacBT_enc") { 26 sources = [ 27 "src/ldaclib.c", 28 "src/ldacBT.c", 29 ] 30 31 public_configs = [ ":libldacBT_enc_config" ] 32 33 cflags = [ "-O2" ] 34 35 defines = [ "EXPORT_SYMBOL=" ] 36} 37 38shared_library("libldacBT_abr") { 39 sources = [ 40 "abr/src/ldacBT_abr.c", 41 ] 42 43 public_configs = [ ":libldacBT_abr_config" ] 44 45 cflags = [ "-O2" ] 46 47 defines = [ "EXPORT_SYMBOL=" ] 48} 49