[code-reflection] Integrated: move ffi cpp and include files under ./src/main/native

Gary Frost gfrost at openjdk.org
Fri Jun 20 15:50:29 UTC 2025


Previously *.cpp and *.include files were in the backend root dir (under cpp/*.cpp and include/*.h)

Now these files are pushed down to mimic maven src layout

/src/main/
      java/
          hat/backend packages
      native/cpp/
           *.cpp
      native/include
          *.h  
```      

Also we build a separate shared_backend.so rather than pulling the  source from shared dir into each backend.

-------------

Commit messages:
 - move ffi cpp and include files under ./src/main/native

Changes: https://git.openjdk.org/babylon/pull/453/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=453&range=00
  Stats: 136 lines in 50 files changed: 46 ins; 48 del; 42 mod
  Patch: https://git.openjdk.org/babylon/pull/453.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/453/head:pull/453

PR: https://git.openjdk.org/babylon/pull/453


More information about the babylon-dev mailing list