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:
Taras Tsugrii
2018-06-23 18:23:21 -07:00
committed by Facebook Github Bot
parent 0b2cee59d2
commit 346ac75ed6
18 changed files with 39 additions and 22 deletions

View File

@@ -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(