• Sergey Ulanov's avatar
    [Fuchsia] Make namespace parameter in fidl_library GN template optional · 441ccbcb
    Sergey Ulanov authored
    Previously fidl_library GN template required namespace parameter. It was
    separate from library_name mainly to workaround the lack of
    string_replace() function in GN. But that's not a problem anymore. This
    change updates fidl_library template to make namespace parameter
    optional. Now library_name can contain complete name of a FIDL library,
    e.g. "fuchsia.ui.gfx". namespace is still supported and works as before.
    
    Also updated all FIDL targets to specify namespace as part of
    library_name.
    
    Bug: 1050252
    Change-Id: I3de83e244b3ef32449e170f06933beb58198aa0d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2045000
    Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
    Reviewed-by: default avatarWez <wez@chromium.org>
    Auto-Submit: Sergey Ulanov <sergeyu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#740475}
    441ccbcb
BUILD.gn 1.37 KB