Files
react-native/tools/api/public-api.conf
Blake Friedman 3a7aed6ed8 Follow-ups to issues earlier in the stack (#48455)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/48455

This is a followup to earlier issues in the stack.

Two fixes here:
1. Make the paths more consistent esp. from the config, so everything is working out of react-native-github.
2. Just declare `__cpluscplus`, as we don't seem to care about the value in our code.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D67716883

fbshipit-source-id: 359c33210d6b66bb0d75724a177587a7d5f837b2
2025-01-02 15:58:04 -08:00

29 lines
983 B
Plaintext

; Copyright (c) Meta Platforms, Inc. and affiliates.
;
; This source code is licensed under the MIT license found in the
; LICENSE file in the root directory of this source tree.
;
; @flow strict-local
; @format
; @oncall react_native
; All [include] and [exclude] globs are run from the react-native project root
[include]
packages/react-native/**/*.h
[exclude]
; Collection of paths we're sure aren't part of the public API. These
; will always override anything in [include].
packages/react-native/ReactCommon/jsinspector-modern/tests/*
packages/react-native/ReactCommon/react/Nativemodule/samples/*
packages/react-native/ReactCommon/react/test_utils/*
packages/react-native/ReactCommon/react/utils/*
packages/react-native/ReactCommon/react/featureflags/*
packages/react-native/Libraries/WebSocket/*
packages/react-native/Libraries/Wrapper/Example/*
[settings]
output=tools/api/ReactNativeCPP.api
; clang=$HOME/some/path/to/clang
; clang-format=$HOME/some/path/to/clang-format