Skip to content

Commit dcf3cbe

Browse files
mzleefacebook-github-bot
authored andcommitted
Clean up some of the ReactNative Buck rules
Reviewed By: yangchi Differential Revision: D4739284 fbshipit-source-id: 0ee335df0d114631e5fc60d5d6e51547e5312d39
1 parent 3df654e commit dcf3cbe

File tree

3 files changed

+9
-3
lines changed
  • ReactAndroid/src/main/jni/first-party/fbgloginit
  • ReactCommon

3 files changed

+9
-3
lines changed

ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
include_defs("//ReactCommon/DEFS")
2+
13
cxx_library(
24
name = "fbgloginit",
35
srcs = [
@@ -14,6 +16,6 @@ cxx_library(
1416
visibility = ["PUBLIC"],
1517
xcode_public_headers_symlinks = True,
1618
deps = [
17-
"//xplat/third-party/glog:glog",
19+
GLOG_DEP,
1820
],
1921
)

ReactCommon/DEFS

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Set up common deps
2+
3+
GLOG_DEP = "//ReactAndroid/build/third-party-ndk/glog:glog"

ReactCommon/microprofiler/BUCK

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
include_defs("//ReactCommon/DEFS")
2+
13
cxx_library(
24
name = "microprofiler",
35
srcs = [
@@ -14,12 +16,11 @@ cxx_library(
1416
],
1517
force_static = True,
1618
header_namespace = "microprofiler",
17-
labels = ["accounts_for_platform_and_build_mode_flags"],
1819
visibility = [
1920
"PUBLIC",
2021
],
2122
xcode_public_headers_symlinks = True,
2223
deps = [
23-
"//xplat/third-party/glog:glog",
24+
GLOG_DEP,
2425
],
2526
)

0 commit comments

Comments
 (0)