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
diff --git a/udrv/BUILD.gn b/udrv/BUILD.gn
new file mode 100644
index 0000000..6b94bfe
--- /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",
+ ]
+}