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:
committed by
Facebook Github Bot
parent
58328d01ef
commit
969f055f47
@@ -22,6 +22,8 @@ prebuilt_cxx_library(
|
|||||||
cxx_library(
|
cxx_library(
|
||||||
name = "fbjni",
|
name = "fbjni",
|
||||||
srcs = glob(["src/main/cpp/**/*.cpp"]),
|
srcs = glob(["src/main/cpp/**/*.cpp"]),
|
||||||
|
header_namespace = "",
|
||||||
|
exported_headers = subdir_glob([("src/main/cpp/include", "**/*.h")]),
|
||||||
compiler_flags = [
|
compiler_flags = [
|
||||||
"-DLOG_TAG=\"libfb\"",
|
"-DLOG_TAG=\"libfb\"",
|
||||||
"-DDISABLE_CPUCAP",
|
"-DDISABLE_CPUCAP",
|
||||||
@@ -35,8 +37,6 @@ cxx_library(
|
|||||||
"-Wno-unused-parameter",
|
"-Wno-unused-parameter",
|
||||||
"-std=c++11",
|
"-std=c++11",
|
||||||
],
|
],
|
||||||
exported_headers = subdir_glob([("src/main/cpp/include", "**/*.h")]),
|
|
||||||
header_namespace = "",
|
|
||||||
visibility = ["PUBLIC"],
|
visibility = ["PUBLIC"],
|
||||||
deps = [
|
deps = [
|
||||||
":ndklog",
|
":ndklog",
|
||||||
|
Reference in New Issue
Block a user