aboutsummaryrefslogtreecommitdiff
path: root/aosp/include/base
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2021-07-29 14:50:32 -0400
committerKelvin Zhang <zhangkelvin@google.com>2021-08-17 17:18:51 -0700
commit011d854311a08d777daba6cf81fd41d62921827a (patch)
treeb785bdf9ce143363c8154f92ff8f163902eb32a1 /aosp/include/base
parentae55a30d74dec9fd3590d2b016420a2d3b28c236 (diff)
downloadzucchini-011d854311a08d777daba6cf81fd41d62921827a.tar.gz
Get zucchini to compile on AOSP
Test: mm Change-Id: Ia030273fcc71d0920f2c62327a08903e5e27a544
Diffstat (limited to 'aosp/include/base')
-rw-r--r--aosp/include/base/check.h22
-rw-r--r--aosp/include/base/check_op.h22
-rw-r--r--aosp/include/base/containers/cxx20_erase.h22
-rw-r--r--aosp/include/base/notreached.h22
4 files changed, 88 insertions, 0 deletions
diff --git a/aosp/include/base/check.h b/aosp/include/base/check.h
new file mode 100644
index 0000000..3ed2e04
--- /dev/null
+++ b/aosp/include/base/check.h
@@ -0,0 +1,22 @@
+//
+// Copyright (C) 2021 The Android Open Source Project
+//
+// 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.
+//
+
+#ifndef __ZUCCHINI_AOSP_BASE_CHECK_H
+#define __ZUCCHINI_AOSP_BASE_CHECK_H
+
+#include <base/logging.h>
+
+#endif /* __ZUCCHINI_AOSP_BASE_CHECK_H */
diff --git a/aosp/include/base/check_op.h b/aosp/include/base/check_op.h
new file mode 100644
index 0000000..d72e4a4
--- /dev/null
+++ b/aosp/include/base/check_op.h
@@ -0,0 +1,22 @@
+//
+// Copyright (C) 2021 The Android Open Source Project
+//
+// 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.
+//
+
+#ifndef __ZUCCHINI_AOSP_BASE_CHECK_OP_H
+#define __ZUCCHINI_AOSP_BASE_CHECK_OP_H
+
+#include <base/logging.h>
+
+#endif /* __ZUCCHINI_AOSP_BASE_CHECK_OP_H */
diff --git a/aosp/include/base/containers/cxx20_erase.h b/aosp/include/base/containers/cxx20_erase.h
new file mode 100644
index 0000000..2fac314
--- /dev/null
+++ b/aosp/include/base/containers/cxx20_erase.h
@@ -0,0 +1,22 @@
+//
+// Copyright (C) 2021 The Android Open Source Project
+//
+// 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.
+//
+
+#ifndef __ZUCCHINI_AOSP_BASE_CONTAINERS_CXX20_ERASE_H
+#define __ZUCCHINI_AOSP_BASE_CONTAINERS_CXX20_ERASE_H
+
+#include <base/stl_util.h>
+
+#endif
diff --git a/aosp/include/base/notreached.h b/aosp/include/base/notreached.h
new file mode 100644
index 0000000..631285c
--- /dev/null
+++ b/aosp/include/base/notreached.h
@@ -0,0 +1,22 @@
+//
+// Copyright (C) 2021 The Android Open Source Project
+//
+// 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.
+//
+
+#ifndef __ZUCCHINI_AOSP_BASE_NOTREACHED_H
+#define __ZUCCHINI_AOSP_BASE_NOTREACHED_H
+
+#include <base/logging.h>
+
+#endif /* __ZUCCHINI_AOSP_BASE_NOTREACHED_H */