Avoid top-level read_config invocations.

Reviewed By: danzimm

Differential Revision: D7651745

fbshipit-source-id: 5cbc82b3c9da3ab514278d438f97f98e19946dc7
This commit is contained in:
Taras Tsugrii
2018-04-17 09:32:30 -07:00
committed by Facebook Github Bot
parent b5f90ed497
commit 1433d15557
7 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
load("//configurations/buck/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "react_native_xplat_target", "rn_xplat_cxx_library", "APPLE_INSPECTOR_FLAGS")
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "react_native_xplat_target", "rn_xplat_cxx_library", "get_apple_inspector_flags")
APPLE_COMPILER_FLAGS = []
@@ -24,7 +24,7 @@ rn_xplat_cxx_library(
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + APPLE_INSPECTOR_FLAGS,
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
force_static = True,
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",