• Ben Joyce's avatar
    Suppress warnings from robolectric. · 615ba2ba
    Ben Joyce authored
    The files are identical to the original, except it uses robolectric's
    Logger instead of javax.annotation.processing.Messager so that the
    messages are only seen when the logger is turned on.
    
    Removes weapons such as:
    warning: Couldn't find shadowed type for org.robolectric.shadows.ShadowPathParser.ShadowPathData
    warning: Couldn't find shadowed type for org.robolectric.shadows.ShadowSharedPreferences.ShadowSharedPreferencesEditorImpl
    
    ...
    [12/179] ACTION //third_party/robolectric:shadows_multidex_java__compile_java(//build/toolchain/android:android_clang_arm64)
    ../../third_party/robolectric/robolectric/shadows/multidex/src/main/java/org/robolectric/shadows/multidex/ShadowMultiDex.java:12: warning: No such class android.support.multidex.MultiDex for SDKs 19-19/21-21/25-29
      protected static void install(Context context)
    ...
    
    
    Bug: 967664
    Change-Id: I5bcddef368a8e3f527bdb03f445f7174118c7ed0
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2209632
    Commit-Queue: benjamin joyce <bjoyce@chromium.org>
    Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
    Reviewed-by: default avatarPeter Wen <wnwen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#770686}
    615ba2ba
BUILD.gn 85.9 KB