Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/cxx-api/parser/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def main():
get_react_native_dir(),
"scripts",
"cxx-api",
"parser",
"input_filters",
"main.py",
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/cxx-api/parser/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

from doxmlparser import compound

from ..input_filters.handle_objc_interface_generics import decode_objc_generics
from .input_filters.handle_objc_interface_generics import decode_objc_generics
from .member import (
ConceptMember,
EnumMember,
Expand Down
4 changes: 4 additions & 0 deletions scripts/cxx-api/parser/input_filters/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 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.
8 changes: 4 additions & 4 deletions scripts/cxx-api/tests/test_input_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

import unittest

from ..input_filters.handle_objc_interface_generics import (
from ..parser.input_filters.handle_objc_interface_generics import (
decode_objc_generics,
encode_objc_interface_generics,
)
from ..input_filters.strip_block_comments import strip_block_comments
from ..input_filters.strip_deprecated_msg import strip_deprecated_msg
from ..input_filters.strip_ns_unavailable import strip_ns_unavailable
from ..parser.input_filters.strip_block_comments import strip_block_comments
from ..parser.input_filters.strip_deprecated_msg import strip_deprecated_msg
from ..parser.input_filters.strip_ns_unavailable import strip_ns_unavailable


class TestDoxygenStripComments(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion scripts/cxx-api/tests/test_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def _test(self: unittest.TestCase) -> None:

# Find the filter script in the package resources
pkg_root = ir.files(__package__ if __package__ else "__main__")
filter_script = pkg_root.parent / "input_filters" / "main.py"
filter_script = pkg_root.parent / "parser" / "input_filters" / "main.py"

# Get real filesystem path for filter script if it exists
# IMPORTANT: Keep the context manager active while Doxygen runs,
Expand Down
Loading