mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
Fix deprecated glob usage.
Summary: https://our.intern.facebook.com/intern/wiki/Buck/python-to-skylark/ Differential Revision: D8595731 fbshipit-source-id: 0e3046a7fd2a25e9b13462713ae9a008ad546770
This commit is contained in:
committed by
Facebook Github Bot
parent
0b2cee59d2
commit
346ac75ed6
@@ -1,3 +1,4 @@
|
||||
load("@xplat//tools/build_defs:glob_defs.bzl", "subdir_glob")
|
||||
load("//configurations/buck/apple:flag_defs.bzl", "OBJC_ARC_PREPROCESSOR_FLAGS", "get_application_ios_flags", "get_debug_preprocessor_flags")
|
||||
load("//ReactNative:DEFS.bzl", "ANDROID", "APPLE", "IS_OSS_BUILD", "get_apple_inspector_flags", "react_native_xplat_target", "rn_xplat_cxx_library")
|
||||
|
||||
@@ -15,11 +16,11 @@ rn_xplat_cxx_library(
|
||||
"**/*.cpp",
|
||||
"**/*.mm",
|
||||
],
|
||||
excludes = glob(["tests/**/*.cpp"]),
|
||||
exclude = glob(["tests/**/*.cpp"]),
|
||||
),
|
||||
headers = glob(
|
||||
["**/*.h"],
|
||||
excludes = glob(["tests/**/*.h"]),
|
||||
exclude = glob(["tests/**/*.h"]),
|
||||
),
|
||||
header_namespace = "",
|
||||
exported_headers = subdir_glob(
|
||||
|
||||
Reference in New Issue
Block a user