Converted more stuff to bazel.
Change-Id: I18c4d5c38cc810086d00479962c1b3f16203a252
diff --git a/aos/common/libc/BUILD b/aos/common/libc/BUILD
new file mode 100644
index 0000000..fb27f3a
--- /dev/null
+++ b/aos/common/libc/BUILD
@@ -0,0 +1,58 @@
+package(default_visibility = ['//visibility:public'])
+
+cc_library(
+ name = 'aos_strsignal',
+ srcs = [
+ 'aos_strsignal.cc',
+ ],
+ deps = [
+ '//aos/common/logging:logging_interface',
+ ],
+)
+
+cc_test(
+ name = 'aos_strsignal_test',
+ srcs = [
+ 'aos_strsignal_test.cc',
+ ],
+ deps = [
+ ':aos_strsignal',
+ '//third_party/gtest',
+ '//aos/common/logging:logging',
+ ],
+)
+
+cc_library(
+ name = 'dirname',
+ srcs = [
+ 'dirname.cc',
+ ],
+)
+
+cc_test(
+ name = 'dirname_test',
+ srcs = [
+ 'dirname_test.cc',
+ ],
+ deps = [
+ '//third_party/gtest',
+ ],
+)
+
+cc_library(
+ name = 'aos_strerror',
+ srcs = [
+ 'aos_strerror.cc',
+ ],
+)
+
+cc_test(
+ name = 'aos_strerror_test',
+ srcs = [
+ 'aos_strerror_test.cc',
+ ],
+ deps = [
+ ':aos_strerror',
+ '//third_party/gtest',
+ ],
+)
diff --git a/aos/common/libc/libc.gyp b/aos/common/libc/libc.gyp
index d7fc357..6b409f0 100644
--- a/aos/common/libc/libc.gyp
+++ b/aos/common/libc/libc.gyp
@@ -1,3 +1,4 @@
+# Converted to bazel
{
'targets': [
{