File tree Expand file tree Collapse file tree
packages/react-native/scripts/ios-prebuild Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 */
3131
3232const { getHeaderFilesFromPodspecs} = require ( './headers' ) ;
33+ // headers-spec.js requires only fs/path, so this cannot cycle.
34+ const { DEPS_NAMESPACES } = require ( './headers-spec' ) ;
3335const fs = require ( 'fs' ) ;
3436const path = require ( 'path' ) ;
3537
@@ -70,14 +72,11 @@ type HeaderEntry = {
7072 },
7173};
7274*/
73-
7475// Third-party C++ libraries that RN's public headers re-expose (Tier 3 of the
7576// modularization doc). Keyed by the first include-path segment. Single source
7677// of truth: the spec's DEPS_NAMESPACES (the namespaces relocated into
7778// ReactNativeHeaders) — a new third-party dep is declared ONCE and both the
78- // include classifier and the compose step follow. (headers-spec.js requires
79- // only fs/path, so this cannot cycle.)
80- const { DEPS_NAMESPACES } = require ( './headers-spec' ) ;
79+ // include classifier and the compose step follow.
8180const THIRD_PARTY_LIBS /*: Set<string> */ = new Set ( DEPS_NAMESPACES ) ;
8281
8382// Apple SDK / platform include roots (first path segment). Includes resolving
You can’t perform that action at this time.
0 commit comments