[Fuchsia] Add FIDL namespaces support
Lack of namespace support in FIDL was breaking some libraries when using them in chromium due to name conflicts. fidlgen now supports namespaces. That change requires some updates in GN files because fidlgen now assumes a different location for generated headers (<namespace>/<name>/cpp/fidl.h instead of fuchsia/cpp/<name>.h). 1. Updated FIDL GN templates to support FIDL files with namespaces. 2. Updated existing FIDL deps in //base and //net. 3. Removed fuchsia/cpp from global include_rules. 4. Added SDK packages for Scenic in //third_party/fuchsia-sdk/BUILD.gn 5. Marked base::ServicesDirectory::GetDefault() static (was omitted initially by mistake). Bug: 831384 Change-Id: Iabae4887733b4a78e3de6781069cf029bdcc8c92 Reviewed-on: https://chromium-review.googlesource.com/1068203 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:Matt Menke <mmenke@chromium.org> Reviewed-by:
Kevin Marshall <kmarshall@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#560899}
Showing
Please register or sign in to comment