From 969f055f477def49841cb3bb7a6e7d15fba067e9 Mon Sep 17 00:00:00 2001 From: Andrew Gallagher Date: Fri, 22 Sep 2017 13:14:42 -0700 Subject: [PATCH] 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 --- lib/fb/BUCK | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fb/BUCK b/lib/fb/BUCK index 5e780dc7..ffd5b5e3 100644 --- a/lib/fb/BUCK +++ b/lib/fb/BUCK @@ -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",