Rename isolation root to "default" in fbobjc
Summary: The reason for this change is that it is the primary root that we want people to be using and the naming should reflect that. #nocancel build-break overriding_review_checks_triggers_an_audit_and_retroactive_review Changelog: [Internal] Oncall Short Name: fbobjc_sheriff Differential Revision: D19431128 fbshipit-source-id: c7208e20ed0f5f5eb6c2849428c09a6d4af9b6f3
This commit is contained in:
Родитель
e689462782
Коммит
efc2344868
|
@ -7,7 +7,7 @@ fb_apple_library(
|
|||
enable_exceptions = False,
|
||||
extension_api_only = True,
|
||||
frameworks = [],
|
||||
labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
labels = ["supermodule:ios/default/infra.react_native"],
|
||||
link_whole = False,
|
||||
visibility = ["PUBLIC"],
|
||||
)
|
||||
|
|
|
@ -15,7 +15,7 @@ fb_apple_library(
|
|||
"Foundation",
|
||||
"UIKit",
|
||||
],
|
||||
labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
labels = ["supermodule:ios/default/infra.react_native"],
|
||||
reexport_all_header_dependencies = True,
|
||||
deps = [
|
||||
"fbsource//xplat/js/react-native-github:RCTTypeSafety",
|
||||
|
|
|
@ -6,5 +6,5 @@ fb_apple_library(
|
|||
contacts = ["oncall+react_native@xmail.facebook.com"],
|
||||
extension_api_only = True,
|
||||
frameworks = ["Foundation"],
|
||||
labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
labels = ["supermodule:ios/default/infra.react_native"],
|
||||
)
|
||||
|
|
|
@ -32,7 +32,7 @@ rn_apple_library(
|
|||
"UIKit",
|
||||
],
|
||||
header_path_prefix = "React",
|
||||
labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
labels = ["supermodule:ios/default/infra.react_native"],
|
||||
lang_compiler_flags = get_fbobjc_enable_exception_lang_compiler_flags_DEPRECATED(),
|
||||
link_whole = True,
|
||||
platform_preprocessor_flags = [(
|
||||
|
|
|
@ -36,7 +36,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
|
|
|
@ -16,7 +16,7 @@ rn_xplat_cxx_library(
|
|||
"-std=c++14",
|
||||
"-Wall",
|
||||
],
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
platforms = (ANDROID, APPLE),
|
||||
preferred_linkage = "static",
|
||||
preprocessor_flags = [
|
||||
|
|
|
@ -25,7 +25,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
|
|
|
@ -19,7 +19,7 @@ rn_xplat_cxx_library(
|
|||
),
|
||||
compiler_flags = CXX_LIBRARY_COMPILER_FLAGS,
|
||||
fbobjc_compiler_flags = get_apple_compiler_flags(),
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
force_static = True,
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
|
@ -44,7 +44,7 @@ rn_xplat_cxx_library(
|
|||
"-frtti",
|
||||
],
|
||||
fbobjc_compiler_flags = get_apple_compiler_flags(),
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
force_static = True,
|
||||
preprocessor_flags = [
|
||||
"-DWITH_FBREMAP=1",
|
||||
|
@ -129,7 +129,7 @@ rn_xplat_cxx_library(
|
|||
fbandroid_preprocessor_flags = get_android_inspector_flags(),
|
||||
fbobjc_compiler_flags = get_apple_compiler_flags(),
|
||||
fbobjc_force_static = True,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
macosx_tests_override = [],
|
||||
platforms = (ANDROID, APPLE),
|
||||
|
|
|
@ -38,7 +38,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
|
|
|
@ -36,7 +36,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
macosx_tests_override = [],
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
|
|
|
@ -36,7 +36,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
macosx_tests_override = [],
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
|
|
|
@ -34,7 +34,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
platforms = (APPLE),
|
||||
|
|
|
@ -52,7 +52,7 @@ rn_xplat_cxx_library(
|
|||
["platform/android/*.cpp"],
|
||||
),
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
ios_exported_headers = subdir_glob(
|
||||
|
|
|
@ -36,7 +36,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
macosx_tests_override = [],
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
|
|
|
@ -31,7 +31,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
platforms = (APPLE),
|
||||
|
|
|
@ -39,7 +39,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
|
|
|
@ -57,7 +57,7 @@ rn_xplat_cxx_library(
|
|||
["platform/android/*.cpp"],
|
||||
),
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
ios_exported_headers = subdir_glob(
|
||||
|
|
|
@ -45,7 +45,7 @@ rn_xplat_cxx_library(
|
|||
react_native_target("jni/react/jni:jni"),
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
|
|
|
@ -44,7 +44,7 @@ rn_xplat_cxx_library(
|
|||
],
|
||||
cxx_tests = [":tests"],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
|
|
|
@ -41,7 +41,7 @@ rn_xplat_cxx_library(
|
|||
],
|
||||
cxx_tests = [":tests"],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
|
|
|
@ -41,7 +41,7 @@ rn_xplat_cxx_library(
|
|||
],
|
||||
cxx_tests = [":tests"],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
|
|
|
@ -36,7 +36,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
macosx_tests_override = [],
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
|
|
|
@ -42,7 +42,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
|
|
|
@ -45,7 +45,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
|
|
|
@ -40,7 +40,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
|
|
|
@ -38,7 +38,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
|
|
|
@ -62,7 +62,7 @@ rn_xplat_cxx_library(
|
|||
],
|
||||
),
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
ios_deps = [
|
||||
|
|
|
@ -51,7 +51,7 @@ rn_xplat_cxx_library(
|
|||
],
|
||||
),
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags() + [
|
||||
"-DLOG_TAG=\"ReactNative\"",
|
||||
"-DWITH_FBSYSTRACE=1",
|
||||
|
|
|
@ -30,7 +30,7 @@ rn_xplat_cxx_library(
|
|||
"-std=c++14",
|
||||
"-Wall",
|
||||
],
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
platforms = (ANDROID),
|
||||
|
|
|
@ -39,7 +39,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
|
|
|
@ -81,7 +81,7 @@ rn_xplat_cxx_library(
|
|||
],
|
||||
),
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
ios_deps = [
|
||||
|
|
|
@ -38,7 +38,7 @@ rn_xplat_cxx_library(
|
|||
"-Wall",
|
||||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
|
|
|
@ -101,7 +101,7 @@ rn_xplat_cxx_library(
|
|||
fbobjc_frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/JavaScriptCore.framework",
|
||||
],
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
visibility = ["PUBLIC"],
|
||||
xplat_mangled_args = {
|
||||
"soname": "libjscjsi.$(ext)",
|
||||
|
|
|
@ -22,7 +22,7 @@ cxx_library(
|
|||
],
|
||||
fbobjc_force_static = True,
|
||||
fbobjc_header_path_prefix = "",
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
platforms = (ANDROID, APPLE),
|
||||
preprocessor_flags = [
|
||||
"-DLOG_TAG=\"ReactNative\"",
|
||||
|
|
|
@ -31,7 +31,7 @@ rn_xplat_cxx_library(
|
|||
"-std=c++1y",
|
||||
],
|
||||
fbandroid_preferred_linkage = "shared",
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
],
|
||||
|
|
|
@ -16,7 +16,7 @@ cxx_library(
|
|||
"-fexceptions",
|
||||
"-fno-data-sections",
|
||||
],
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
force_static = True,
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
|
|
|
@ -38,7 +38,7 @@ rn_xplat_cxx_library(
|
|||
"-fobjc-arc-exceptions",
|
||||
],
|
||||
fbobjc_inherited_buck_flags = get_static_library_ios_flags(),
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = OBJC_ARC_PREPROCESSOR_FLAGS + get_debug_preprocessor_flags(),
|
||||
force_static = True,
|
||||
ios_deps = [
|
||||
|
|
|
@ -41,7 +41,7 @@ rn_xplat_cxx_library(
|
|||
],
|
||||
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
|
||||
fbobjc_frameworks = ["Foundation"],
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
force_static = True,
|
||||
macosx_tests_override = [],
|
||||
|
|
|
@ -204,7 +204,7 @@ def rn_codegen_components(
|
|||
],
|
||||
fbobjc_compiler_flags = get_apple_compiler_flags(),
|
||||
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
|
||||
fbobjc_labels = ["supermodule:ios/isolation/infra.react_native"],
|
||||
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
|
||||
platforms = (ANDROID, APPLE, CXX),
|
||||
preprocessor_flags = [
|
||||
"-DLOG_TAG=\"ReactNative\"",
|
||||
|
|
Загрузка…
Ссылка в новой задаче