From 8a95fbe87874aec9fcd1cabbee8952755949431d Mon Sep 17 00:00:00 2001 From: Athipat Pipatpinyopong Date: Tue, 24 Aug 2021 16:29:04 -0700 Subject: [PATCH] Add FBCODE specification to some targets in nonrecursive allowlist #4 Summary: - Right now, it is only implied that fbcode can rely on these targets via the [fbcode_allowed_list_rules]((https://www.internalfb.com/code/fbsource/tools/build_defs/xplat/fbcode_allowed_list_rules.bzl)) - So, I'm making it explicit that fbcode can rely on these targets - These targets aren't all related (just going in order of allowlist) Reviewed By: aniketmathur Differential Revision: D30405951 fbshipit-source-id: ad324c6d346d77d60fade9cabeae4b5622f0dab7 --- lib/fb/BUCK | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/fb/BUCK b/lib/fb/BUCK index df65844d..851e749f 100644 --- a/lib/fb/BUCK +++ b/lib/fb/BUCK @@ -2,7 +2,8 @@ # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. -load("//tools/build_defs/oss:yoga_defs.bzl", "ANDROID", "JNI_TARGET", "YOGA_ROOTS", "subdir_glob", "yoga_cxx_library", "yoga_prebuilt_cxx_library") +load("@fbsource//tools/build_defs:platform_defs.bzl", "ANDROID", "APPLE", "CXX", "FBCODE", "WINDOWS") +load("//tools/build_defs/oss:yoga_defs.bzl", "JNI_TARGET", "YOGA_ROOTS", "subdir_glob", "yoga_cxx_library", "yoga_prebuilt_cxx_library") yoga_prebuilt_cxx_library( name = "ndklog", @@ -13,6 +14,7 @@ yoga_prebuilt_cxx_library( ), ], header_only = True, + platforms = (ANDROID, APPLE, CXX, FBCODE, WINDOWS), visibility = YOGA_ROOTS, )