From 17cd127445af1bd8a89bb1ea419e415392f1eee3 Mon Sep 17 00:00:00 2001 From: Arman Uguray Date: Fri, 29 May 2015 15:24:14 -0700 Subject: [PATCH] gn-build: Get //udrv:udrv to compile This patch gets the //udrv:udrv target to compile using GN + ninja as its own build target. Since this module only contains a single file, keeping it as a "source_set". Change-Id: I98c3b78b374f4102b2e6e565841eaa474bef9056 --- udrv/BUILD.gn | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 udrv/BUILD.gn diff --git a/udrv/BUILD.gn b/udrv/BUILD.gn new file mode 100644 index 000000000..6b94bfea2 --- /dev/null +++ b/udrv/BUILD.gn @@ -0,0 +1,31 @@ +# +# 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. +# + +source_set("udrv") { + sources = [ + "ulinux/uipc.c" + ] + + include_dirs = [ + "include", + "uipc", + "//audio_a2dp_hw", + "//include", + "//gki/common", + "//stack/include", + "//utils/include", + ] +} -- 2.11.0