Remove product/platform/infra layers from ios supermodules

Summary:
Context: https://fb.workplace.com/groups/2116332615111503/permalink/2773825422695549/

build-break
overriding_review_checks_triggers_an_audit_and_retroactive_review
allow-large-files
allow_many_files

Differential Revision:
D19858113
Ninja: master broken

fbshipit-source-id: d9e531f9579bfe7ef87097f0d50512722eb1de5e
This commit is contained in:
Josh Leibsly 2020-02-12 10:11:03 -08:00 коммит произвёл Facebook Github Bot
Родитель 0a6f058b6b
Коммит ca431c2179
39 изменённых файлов: 41 добавлений и 41 удалений

Просмотреть файл

@ -7,7 +7,7 @@ fb_apple_library(
enable_exceptions = False,
extension_api_only = True,
frameworks = [],
labels = ["supermodule:ios/default/infra.react_native"],
labels = ["supermodule:ios/default/react_native.infra"],
link_whole = False,
visibility = ["PUBLIC"],
)

Просмотреть файл

@ -15,7 +15,7 @@ fb_apple_library(
"Foundation",
"UIKit",
],
labels = ["supermodule:ios/default/infra.react_native"],
labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
labels = ["supermodule:ios/default/react_native.infra"],
)

Просмотреть файл

@ -32,7 +32,7 @@ rn_apple_library(
"UIKit",
],
header_path_prefix = "React",
labels = ["supermodule:ios/default/infra.react_native"],
labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
# TODO (T55502220): Remove when iOS 9.0 deprecation is complete everywhere.
fbobjc_target_sdk_version = "9.0",
visibility = ["PUBLIC"],

Просмотреть файл

@ -22,7 +22,7 @@ cxx_library(
],
fbobjc_force_static = True,
fbobjc_header_path_prefix = "",
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
visibility = [
"PUBLIC",
],

Просмотреть файл

@ -16,7 +16,7 @@ cxx_library(
"-fexceptions",
"-fno-data-sections",
],
fbobjc_labels = ["supermodule:ios/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + get_apple_inspector_flags(),
force_static = True,
macosx_tests_override = [],

Просмотреть файл

@ -219,7 +219,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/default/infra.react_native"],
fbobjc_labels = ["supermodule:ios/default/react_native.infra"],
platforms = (ANDROID, APPLE, CXX),
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",