• Rouslan Solomakhin's avatar
    [Web Payment] Generate fewer Java strings. · eb06b271
    Rouslan Solomakhin authored
    Before this patch, 41 error strings were auto-generated for Java, but
    only 14 of them were used on Android.
    
    This patch separates the strings that are used only from native C++ code
    into their own native_error_strings.h/cc files, which are not
    auto-generated into ErrorStrings.java.
    
    After this patch, only the 14 error strings referenced from Java are
    generated into ErrorStrings.java.
    
    Bug: 977145
    Change-Id: Id3652179c124ba1742b52aa2beaaca3d499d5d90
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1692113Reviewed-by: default avatarSahel Sharify <sahel@chromium.org>
    Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#676032}
    eb06b271
payment_request.cc 26.7 KB