diff --git a/.gitignore b/.gitignore index da265f4..584de88 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .* !.gitignore +/bazel-* __pycache__ diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 0000000..d2b1096 --- /dev/null +++ b/WORKSPACE @@ -0,0 +1 @@ +workspace(name = "com_github_nuxinl_cloudabi") diff --git a/headers/BUILD.bazel b/headers/BUILD.bazel new file mode 100644 index 0000000..945a2c9 --- /dev/null +++ b/headers/BUILD.bazel @@ -0,0 +1,24 @@ +cc_library( + name = "cloudabi_syscalls", + hdrs = ["cloudabi_syscalls.h"], + strip_include_prefix = ".", + visibility = ["//visibility:public"], + deps = [":cloudabi_types"], +) + +cc_library( + name = "cloudabi_syscalls_info", + hdrs = ["cloudabi_syscalls_info.h"], + strip_include_prefix = ".", + visibility = ["//visibility:public"], +) + +cc_library( + name = "cloudabi_types", + hdrs = [ + "cloudabi_types.h", + "cloudabi_types_common.h", + ], + strip_include_prefix = ".", + visibility = ["//visibility:public"], +)