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
This commit is contained in:
Pascal Hartig
2017-04-19 11:28:14 -07:00
committed by Facebook Github Bot
parent 8b0ff0a25c
commit 9f76fb6980

View File

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