This change moves almost everything in the `upb/` directory up one level, so that for example `upb/upb/generated_code_support.h` becomes just `upb/generated_code_support.h`. The only exceptions I made to this were that I left `upb/cmake` and `upb/BUILD` where they are, mostly because that avoids conflict with other files and the current locations seem reasonable for now. The `python/` directory is a little bit of a challenge because we had to merge the existing directory there with `upb/python/`. I made `upb/python/BUILD` into the BUILD file for the merged directory, and it effectively loads the contents of the other BUILD file via `python/build_targets.bzl`, but I plan to clean this up soon. PiperOrigin-RevId: 568651768pull/14188/head
parent
30a7b23724
commit
501ececd39
454 changed files with 1889 additions and 1854 deletions
@ -1,8 +1,8 @@ |
||||
"""Implementation of the aspect that powers the upb_*_proto_library() rules.""" |
||||
|
||||
load("@bazel_skylib//lib:paths.bzl", "paths") |
||||
load("//upb/bazel:upb_proto_library_internal/cc_library_func.bzl", "cc_library_func") |
||||
load("//upb/bazel:upb_proto_library_internal/copts.bzl", "UpbProtoLibraryCoptsInfo") |
||||
load("//bazel:upb_proto_library_internal/cc_library_func.bzl", "cc_library_func") |
||||
load("//bazel:upb_proto_library_internal/copts.bzl", "UpbProtoLibraryCoptsInfo") |
||||
|
||||
# begin:github_only |
||||
_is_google3 = False |
@ -1,6 +1,6 @@ |
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
||||
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") |
||||
load("//upb/bazel:python_downloads.bzl", "python_nuget_package", "python_source_archive") |
||||
load("//bazel:python_downloads.bzl", "python_nuget_package", "python_source_archive") |
||||
|
||||
def _github_archive(repo, commit, **kwargs): |
||||
repo_name = repo.split("/")[-1] |
@ -0,0 +1,7 @@ |
||||
`protos` C++ API |
||||
=============== |
||||
|
||||
`protos` is a C++ protobuf implementation backed by μpb, introduced in 2022. |
||||
The API is currently experimental and may undergo incompatible changes without |
||||
notice. The supported C++ implementation is |
||||
[here](https://github.com/protocolbuffers/protobuf/tree/main/src). |
@ -0,0 +1,8 @@ |
||||
`protos` Generator |
||||
================== |
||||
|
||||
This directory contains the generator for the [`protos` |
||||
API](https://github.com/protocolbuffers/protobuf/tree/main/protos), an |
||||
experimental C++ protobuf implementation. Most users should use the standard |
||||
C++ implementation |
||||
[here](https://github.com/protocolbuffers/protobuf/tree/main/src). |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue