Hong Shin
52cda1a9f0
Consolidate cc_library_func usage betwixt hpb and upb by using the upb common core
...
PiperOrigin-RevId: 691519553
4 weeks ago
Hong Shin
7ef7eebbfc
hpb_proto_library: properly handle alias libraries (srcs empty, reexport deps)
...
PiperOrigin-RevId: 689464159
1 month ago
Hong Shin
c006c62e71
Finish migration of hpb_proto_library.bzl to use proto_common
...
PiperOrigin-RevId: 686085793
1 month ago
Hong Shin
ac6e4c0e3b
Initial cleanup of hpb_proto_library.bzl
...
- update some refs protos -> hpb
- utilize proto_common.bzl
- remove _generate_output_file
PiperOrigin-RevId: 685704538
2 months ago
Hong Shin
9f1722b117
rename protoc-gen-upb-protos to protoc-gen-hpb
...
PiperOrigin-RevId: 681998046
2 months ago
Hong Shin
a089fad8bd
Completely expunge protos!! 👋
...
PiperOrigin-RevId: 681457876
2 months ago
Hong Shin
1db4fdc236
Introduce set_alias to hpb
...
In certain cases, it is useful to share submessages across multiple parent messages.
proto2::cpp has a mechanism for this, so we add the hpb equivalent.
For this initial impl, we stipulate that the arenas must be exactly the same. We may explore broadening the constraint to allow for all fused arenas.
PiperOrigin-RevId: 681169537
2 months ago
Hong Shin
7620bbf3c6
Temporary removal of hpb BUILD files for OSS while we refactor.
...
At some point we will re-introduce these with the corresponding CI tests to ensure they stay green.
PiperOrigin-RevId: 675691367
2 months ago
Hong Shin
cbdc330f80
Rename upb_cc_proto_library_copts to hpb_proto_library_copts
...
PiperOrigin-RevId: 675592784
2 months ago
Hong Shin
3d9f6dc1e1
rm upb_cc_proto_library.bzl
...
PiperOrigin-RevId: 673832587
3 months ago
Joshua Haberman
8422e9795f
Migrated upb to use Copybara-standard stripping.
...
This CL is mostly a no-op, except that now google3-only code is actually stripped from OSS, instead of being preserved in `# begin:google_only` blocks.
This follows the conventions of the greater Copybara ecosystem.
PiperOrigin-RevId: 669513564
3 months ago
Joshua Haberman
e4449ba248
Harmonize license rules between google3 and OSS
...
This simplifies upb by removing differences between google3 and OSS.
This also points upb at the protobuf license, instead of keeping a separate copy around for upb.
PiperOrigin-RevId: 669447145
3 months ago
Hong Shin
6879b81364
Remove trailing mangle for generated_protos_support
...
and rename to hpb (!)
PiperOrigin-RevId: 663373078
4 months ago
Hong Shin
29a024831f
Remove protos::upb_cc_proto_library_copts__for_generated_code_only_do_not_use
...
PiperOrigin-RevId: 663017124
4 months ago
Hong Shin
7a039dd177
Remove repeated_field_iterator (protos)
...
PiperOrigin-RevId: 662933968
4 months ago
Hong Shin
1937e7645f
Expunge protos_internal in totality
...
PiperOrigin-RevId: 662897498
4 months ago
Hong Shin
1ec060bb04
re-point upb_cc_proto_library_bzl from upb to hpb and utilize hpb_proto_library
...
PiperOrigin-RevId: 660821782
4 months ago
Hong Shin
2f8472adc1
Introduce hpb_proto_library_bzl
...
PiperOrigin-RevId: 660150036
4 months ago
Hong Shin
096b139192
move upb/hpb_generator -> protobuf/compiler/hpb
...
PiperOrigin-RevId: 649112245
5 months ago
Hong Shin
d7087fc901
Move over upb/protos -> hpb (note that hpb is now a sibling of upb, not a child)
...
PiperOrigin-RevId: 647378884
5 months ago