Clean up some of the ReactNative Buck rules

Reviewed By: yangchi

Differential Revision: D4739284

fbshipit-source-id: 0ee335df0d114631e5fc60d5d6e51547e5312d39
This commit is contained in:
Michael Lee 2017-03-23 11:57:18 -07:00 committed by Facebook Github Bot
parent 3df654e28e
commit dcf3cbeb31
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,5 @@
include_defs("//ReactCommon/DEFS")
cxx_library(
name = "fbgloginit",
srcs = [
@ -14,6 +16,6 @@ cxx_library(
visibility = ["PUBLIC"],
xcode_public_headers_symlinks = True,
deps = [
"//xplat/third-party/glog:glog",
GLOG_DEP,
],
)

3
ReactCommon/DEFS Normal file
View File

@ -0,0 +1,3 @@
# Set up common deps
GLOG_DEP = "//ReactAndroid/build/third-party-ndk/glog:glog"

View File

@ -1,3 +1,5 @@
include_defs("//ReactCommon/DEFS")
cxx_library(
name = "microprofiler",
srcs = [
@ -14,12 +16,11 @@ cxx_library(
],
force_static = True,
header_namespace = "microprofiler",
labels = ["accounts_for_platform_and_build_mode_flags"],
visibility = [
"PUBLIC",
],
xcode_public_headers_symlinks = True,
deps = [
"//xplat/third-party/glog:glog",
GLOG_DEP,
],
)