• Peter Kotwicz's avatar
    [Build] Add Android build integration tests · 3ecc5cc0
    Peter Kotwicz authored
    This CL introduces android_nocompile_test_suite() and
    android_nocompile_library() build rules.
    
    The android_nocompile_test_suite() template tries to compile its
    dependent android_nocompile_library() targets and checks that:
    - The compile fails
    - The compile output contains the error message specified in the
    android_nocompile_library() template. The android_nocompile_library()
    uses a temporary output directory so that compiling "all" still works.
    
    The CL converts |errorprone_plugin_tests| to use
    android_nocompile_test_suite().
    
    BUG=1132014
    
    Change-Id: I80a372a06a1fa7fa54546ac3ca0a1c48e8ee96ba
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2538313Reviewed-by: default avatarDirk Pranke <dpranke@google.com>
    Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
    Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#832489}
    3ecc5cc0
compile_java.py 26.6 KB