Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4211cfc authored by Arman Uguray's avatar Arman Uguray
Browse files

gn-build: Compile audio.a2dp.default.so

This patch adds the build file to get the audio.a2dp.default shared module to
compile using GN + ninja.

BUG=21339022

Change-Id: I2c39ee49ca01f023c73b3fa675f6d9d2dc80e133
parent 76284d4d
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
#
#  Copyright (C) 2015 Google, Inc.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at:
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#

shared_library("audio.a2dp.default") {
  sources = [
    "audio_a2dp_hw.c"
  ]

  include_dirs = [
    "include",
    "//",
    "//utils/include",
  ]

  # TODO(armansito): Fix the warnings and remove the flag below.
  cflags = [
    "-Wno-unused-variable",
  ]
}