libcxx: Update Android.bp to match Android.mk

Change-Id: Iffe0b0c13a23d15a6cc2c7805fc4f99477e230a4
This commit is contained in:
Colin Cross
2015-11-19 14:23:11 -08:00
parent 75746a3228
commit 286a75e86e

View File

@@ -14,8 +14,14 @@
// limitations under the License. // limitations under the License.
// //
LIBCXX_SRC_FILES = [ // host + device static lib
cc_library_static {
host_supported: true,
name: "libc++_static",
clang: true,
srcs: [
"src/algorithm.cpp", "src/algorithm.cpp",
"src/any.cpp",
"src/bind.cpp", "src/bind.cpp",
"src/chrono.cpp", "src/chrono.cpp",
"src/condition_variable.cpp", "src/condition_variable.cpp",
@@ -41,31 +47,14 @@ LIBCXX_SRC_FILES = [
"src/typeinfo.cpp", "src/typeinfo.cpp",
"src/utility.cpp", "src/utility.cpp",
"src/valarray.cpp", "src/valarray.cpp",
] ],
local_include_dirs: ["include"],
LIBCXX_C_INCLUDES = [ export_include_dirs: ["include"],
"external/libcxxabi/include", cppflags: [
]
LIBCXX_LOCAL_C_INCLUDES = [
"include/",
]
LIBCXX_CPPFLAGS = [
"-std=c++14", "-std=c++14",
"-nostdinc++", "-nostdinc++",
"-fexceptions", "-fexceptions",
] ],
// host + device static lib
cc_library_static {
host_supported: true,
name: "libc++_static",
clang: true,
srcs: LIBCXX_SRC_FILES,
include_dirs: LIBCXX_C_INCLUDES,
local_include_dirs: LIBCXX_LOCAL_C_INCLUDES,
cppflags: LIBCXX_CPPFLAGS,
rtti: true, rtti: true,
whole_static_libs: [ whole_static_libs: [
"libc++abi", "libc++abi",