Deprecate older API uses of prebuilt_cxx_library

Summary:
Use the `deprecated_prebuilt_cxx_library` wrapper instead of the deprecated
API of `prebuilt_cxx_library`.

Reviewed By: ttsugriy

Differential Revision: D5878523

fbshipit-source-id: 2c8c1fd1d19597ff7459bbd527c89573520db74b
This commit is contained in:
Andrew Gallagher
2017-09-22 13:14:42 -07:00
committed by Facebook Github Bot
parent 58328d01ef
commit 969f055f47

View File

@@ -22,6 +22,8 @@ prebuilt_cxx_library(
cxx_library(
name = "fbjni",
srcs = glob(["src/main/cpp/**/*.cpp"]),
header_namespace = "",
exported_headers = subdir_glob([("src/main/cpp/include", "**/*.h")]),
compiler_flags = [
"-DLOG_TAG=\"libfb\"",
"-DDISABLE_CPUCAP",
@@ -35,8 +37,6 @@ cxx_library(
"-Wno-unused-parameter",
"-std=c++11",
],
exported_headers = subdir_glob([("src/main/cpp/include", "**/*.h")]),
header_namespace = "",
visibility = ["PUBLIC"],
deps = [
":ndklog",