• Samuel Huang's avatar
    [USB] Exclude usb_ids.* compilation for Chrome under Android. · 2cb0922d
    Samuel Huang authored
    Clank build excludes usb_ids.*, but the source files (inlcude the giant
    file usb_ids_gen.cc) still got compiled, even though its results are not
    included in the final APK. This adds unnecessary work for Clank builds,
    and creates overhead to Supersize archive command. This CL removes these
    vacuous usb_ids.* compilation under Android. This speeds up Supersize
    archive by about 20% (and probably shaves seconds from Clank build).
    
    Bug: 779162
    Change-Id: I4e4a9eb4274bfa9d298a5ce887179629a5cb6b7f
    Reviewed-on: https://chromium-review.googlesource.com/740688
    Commit-Queue: Reilly Grant <reillyg@chromium.org>
    Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#512538}
    2cb0922d
BUILD.gn 4.68 KB