• Kevin Marshall's avatar
    Fuchsia: Refactor Fuchsia SDK package GN templates. · d23c9065
    Kevin Marshall authored
    Refactors the Fuchsia SDK packages to make dependencies on SDK FIDL
    libraries easier. The previous definitions hid FIDL definitions inside
    a template subtarget with inaccessible visibility.
    
    * Add fuchsia_sdk_fidl_pkg() for FIDL files only, which can be
      depended on by directly specifying the target_name (no suffix).
    * Remove fidl_* from fuchsia_sdk_pkg.
    * Combine fuchsia_sdk_lib_pkg and fuchsia_sdk_pkg - there is so much
      overlap between the two that the convenience seemed minor compared
      to the overhead of adding another rule.
    
    Change-Id: I2db7191d73fd971442b05ad91b831882cbaefe7e
    Reviewed-on: https://chromium-review.googlesource.com/1080207
    Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
    Reviewed-by: default avatarSergey Ulanov <sergeyu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#563116}
    d23c9065
fuchsia_sdk_pkg.gni 2.87 KB