Skip to content

Commit

Permalink
Add java-swift language support
Browse files Browse the repository at this point in the history
Summary: This is a similar hack to what buck did with the javadeprecated client, adding a java_binary so we can get a self-contained set of fbcode deps over to fbandroid as a jar file. I don't love it and would be happy if someone knows an alternative. Moving to xplat was one failed approach I tried. It failed because the swift runtime still requires fbcode's third-party-java.

Reviewed By: cute-jumper

Differential Revision: D68968874

fbshipit-source-id: 1337a92b05929c331c6986fab582a40bad2146c8
  • Loading branch information
ianlevesque authored and facebook-github-bot committed Feb 1, 2025
1 parent e68f20c commit 0d3dd22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions third-party/watchman/src/eden/fs/config/eden_config.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace cpp2 facebook.eden
namespace java com.facebook.eden.thrift
namespace java.swift com.facebook.eden.thrift.config
namespace py facebook.eden.eden_config
namespace py3 eden.fs.config
namespace hack edenfs.config
Expand Down
1 change: 1 addition & 0 deletions third-party/watchman/src/eden/fs/service/eden.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ include "thrift/annotation/thrift.thrift"

namespace cpp2 facebook.eden
namespace java com.facebook.eden.thrift
namespace java.swift com.facebook.eden.thrift
namespace py facebook.eden
namespace py3 eden.fs.service
namespace hack edenfs.service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

include "eden/fs/service/eden.thrift"
namespace cpp2 facebook.eden
namespace java.swift com.facebook.eden.thrift.streaming
namespace py3 eden.fs.service

enum FsEventType {
Expand Down

0 comments on commit 0d3dd22

Please sign in to comment.