1eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# 25b790feeeb211c42bf78ca3ae9c26aa30e516765Jakub Pawlowski# Copyright 2017 Google, Inc. 3eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# 4eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# Licensed under the Apache License, Version 2.0 (the "License"); 5eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# you may not use this file except in compliance with the License. 6eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# You may obtain a copy of the License at: 7eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# 8eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# http://www.apache.org/licenses/LICENSE-2.0 9eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# 10eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# Unless required by applicable law or agreed to in writing, software 11eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# distributed under the License is distributed on an "AS IS" BASIS, 12eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# See the License for the specific language governing permissions and 14eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# limitations under the License. 15eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski# 16eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski 17e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavovconfig("libldacBT_enc_config") { 18eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski include_dirs = [ "inc" ] 19eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski} 20eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski 21e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavovconfig("libldacBT_abr_config") { 22e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov include_dirs = [ "abr/inc", "inc" ] 23e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov} 24e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov 25eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowskishared_library("libldacBT_enc") { 26eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski sources = [ 27eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski "src/ldaclib.c", 28eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski "src/ldacBT.c", 29eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski ] 30eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski 31e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov public_configs = [ ":libldacBT_enc_config" ] 32e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov 33e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov cflags = [ "-O2" ] 34e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov 35e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov defines = [ "EXPORT_SYMBOL=" ] 36e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov} 37e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov 38e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavovshared_library("libldacBT_abr") { 39e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov sources = [ 40e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov "abr/src/ldacBT_abr.c", 41e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov ] 42e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov 43e4f2b615678ccb1fe7e13da4f166c9a45fd16136Pavlin Radoslavov public_configs = [ ":libldacBT_abr_config" ] 44eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski 45eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski cflags = [ "-O2" ] 4603aae0f5fb4c1f12104f3299dadeeaf262e71e15Jakub Pawlowski 4703aae0f5fb4c1f12104f3299dadeeaf262e71e15Jakub Pawlowski defines = [ "EXPORT_SYMBOL=" ] 48eff4dd5208f9bb2619c5cdfac86664aa512b6dccJakub Pawlowski} 49