From 9f76fb6980cb48f4657afa40898fed79e2b5085d Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Wed, 19 Apr 2017 11:28:14 -0700 Subject: [PATCH] Move libfb to src/main/cpp Summary: This way we can more easily build it with Gradle. The CMake build for this comes with the next Diff. Reviewed By: emilsjolander Differential Revision: D4913361 fbshipit-source-id: b7958e204a8a4a97a1f60043788d826dd2a4c080 --- lib/fb/BUCK | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fb/BUCK b/lib/fb/BUCK index bebb85b9..5519091a 100644 --- a/lib/fb/BUCK +++ b/lib/fb/BUCK @@ -21,7 +21,7 @@ prebuilt_cxx_library( cxx_library( name = "fbjni", - srcs = glob(["**/*.cpp"]), + srcs = glob(["src/main/cpp/**/*.cpp"]), compiler_flags = [ "-DLOG_TAG=\"libfb\"", "-DDISABLE_CPUCAP", @@ -35,7 +35,7 @@ cxx_library( "-Wno-unused-parameter", "-std=c++11", ], - exported_headers = subdir_glob([("include", "**/*.h")]), + exported_headers = subdir_glob([("src/main/cpp/include", "**/*.h")]), header_namespace = "", visibility = ["PUBLIC"], deps = [