summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Henri Chataing <henrichataing@google.com> 2025-03-06 02:17:32 +0000
committer Henri Chataing <henrichataing@google.com> 2025-03-12 23:22:58 +0000
commit0ed3eff46cb84b81a4ea4facce0be84e1fc30758 (patch)
treeca59012e3dec555723e91a97a609fb5a91fe19a9
parentcc510dc80155f6003454fb578e5955cbf11225d1 (diff)
system/linux_include: Remove compat header log/log.h
Bug: 331817295 Test: floss build Flag: EXEMPT, dead code removal Change-Id: I528d7b854465a4fc7afb6fe5c96d458a5c75e2b6
-rw-r--r--system/BUILD.gn1
-rw-r--r--system/bta/BUILD.gn1
-rw-r--r--system/common/BUILD.gn1
-rw-r--r--system/linux_include/log/log.h24
-rw-r--r--system/osi/BUILD.gn1
-rw-r--r--system/stack/BUILD.gn2
6 files changed, 0 insertions, 30 deletions
diff --git a/system/BUILD.gn b/system/BUILD.gn
index b86ca5f392..48b6207a60 100644
--- a/system/BUILD.gn
+++ b/system/BUILD.gn
@@ -76,7 +76,6 @@ config("target_defaults") {
"//bt/system",
"//bt/flags/exported_include",
"//bt/sysprop/exported_include",
- "//bt/system/linux_include",
"//bt/system/include",
"//bt/system/gd",
"//bt/system/pdl/hci/include",
diff --git a/system/bta/BUILD.gn b/system/bta/BUILD.gn
index 9c28016617..f621539151 100644
--- a/system/bta/BUILD.gn
+++ b/system/bta/BUILD.gn
@@ -143,7 +143,6 @@ static_library("bta") {
"sys",
"//bt/system/",
"//bt/system/include",
- "//bt/system/linux_include",
"//bt/system/bta",
"//bt/system/bta/aics/include",
"//bt/system/gd",
diff --git a/system/common/BUILD.gn b/system/common/BUILD.gn
index a1884973dd..50ec9c1dd0 100644
--- a/system/common/BUILD.gn
+++ b/system/common/BUILD.gn
@@ -30,7 +30,6 @@ static_library("common") {
include_dirs = [
"//bt/system/",
"//bt/system/stack/include",
- "//bt/system/linux_include",
]
deps = [
diff --git a/system/linux_include/log/log.h b/system/linux_include/log/log.h
deleted file mode 100644
index 037649312c..0000000000
--- a/system/linux_include/log/log.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/******************************************************************************
- *
- * Copyright 2018 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.
- *
- ******************************************************************************/
-#pragma once
-
-#ifndef __ANDROID__
-
-#include <cstdint>
-
-#endif
diff --git a/system/osi/BUILD.gn b/system/osi/BUILD.gn
index 5bdf04c1e9..fa47062f52 100644
--- a/system/osi/BUILD.gn
+++ b/system/osi/BUILD.gn
@@ -43,7 +43,6 @@ static_library("osi") {
include_dirs = [
"//bt/system/",
- "//bt/system/linux_include",
"//bt/system/osi/include_internal",
"//bt/system/stack/include",
]
diff --git a/system/stack/BUILD.gn b/system/stack/BUILD.gn
index d078d1bc14..e961face5e 100644
--- a/system/stack/BUILD.gn
+++ b/system/stack/BUILD.gn
@@ -210,7 +210,6 @@ source_set("stack") {
"//bt/system/ctrlr/include",
"//bt/system/gd",
"//bt/system/hcis",
- "//bt/system/linux_include",
"//bt/system/rpc/include",
"//bt/system/udrv/include",
"//bt/system/vnd/ble",
@@ -367,7 +366,6 @@ if (defined(use.android) && use.android) {
include_dirs = [
"//bt/system/",
- "//bt/system/linux_include",
"//bt/system/bta/include",
"//bt/system/bta/sys",
"//bt/system/embdrv/sbc/encoder/include",