diff options
author | Dan Albert | 2016-10-05 15:47:31 -0500 |
---|---|---|
committer | Mark Salyzyn | 2016-10-14 15:12:29 -0500 |
commit | b7c3996f7c048eac6f113697a5734870f0b2cfdb (patch) | |
tree | 8a36cad36436ea67d759946cb951cf43ee94e559 /Android.bp | |
parent | 5171bebf41fa5f00d5d2bee071bcd15633172eb2 (diff) | |
download | platform-system-core-b7c3996f7c048eac6f113697a5734870f0b2cfdb.tar.gz platform-system-core-b7c3996f7c048eac6f113697a5734870f0b2cfdb.tar.xz platform-system-core-b7c3996f7c048eac6f113697a5734870f0b2cfdb.zip |
Continue using the legacy NDK android/log.h.
system/core/android/log.h needs some work before it can be included in
the NDK. It defines a *lot* of macros that previously were usable
names in NDK sources that used android/log.h. As an example, the
following file defines LOG_TAG as a variable, but the variable name
gets macro replaced if we use the current android/log.h.
https://android.googlesource.com/platform/external/deqp/+/4adc1515f867b26c19c2f7498e9de93a230a234d/framework/platform/android/tcuTestLogParserJNI.cpp#41
For now, we keep a copy of the old NDK android/log.h in
legacy-ndk-includes.
Test: make checkbuild
Bug: http://b/30465923
Change-Id: I8ce942d1ee2f8f0d4c27130802c03992a1b85ec4
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Android.bp b/Android.bp deleted file mode 100644 index 949a7fe3e..000000000 --- a/Android.bp +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | // Copyright (C) 2016 The Android Open Source Project | ||
2 | // | ||
3 | // Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | // you may not use this file except in compliance with the License. | ||
5 | // You may obtain a copy of the License at | ||
6 | // | ||
7 | // http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | // | ||
9 | // Unless required by applicable law or agreed to in writing, software | ||
10 | // distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | // See the License for the specific language governing permissions and | ||
13 | // limitations under the License. | ||
14 | |||
15 | ndk_headers { | ||
16 | name: "liblog_headers", | ||
17 | from: "include/android", | ||
18 | to: "android", | ||
19 | srcs: ["include/android/log.h"], | ||
20 | } | ||
21 | |||
22 | optional_subdirs = ["*"] | ||