Suppressing lint errors using comments is an undocumented feature of the
linter, and suppressing using the tools:ignore attribute should be
preferred.
Suppressing using comments becomes a problem when using the manifest
merger introduced in
6ada47bc79
as it reformats the comments slightly:
<!--suppress MissingPrefix -->
becomes
<!-- supress MissingPrefix -->
which causes the linter to disregard the suppression.
Bug: 740657
Change-Id: I8e365744d089271c390254e7c958b24b81043766
Reviewed-on: https://chromium-review.googlesource.com/566860
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Ingemar Ådahl <ingemara@opera.com>
Cr-Commit-Position: refs/heads/master@{#18971}
31 lines
1.2 KiB
XML
31 lines
1.2 KiB
XML
<!--
|
|
* Copyright 2017 The WebRTC Project Authors. All rights reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
-->
|
|
|
|
<manifest
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="org.appspot.apprtc.test">
|
|
|
|
<uses-permission android:name="android.permission.RUN_INSTRUMENTATION" />
|
|
<uses-sdk android:minSdkVersion="13" android:targetSdkVersion="21" />
|
|
|
|
<application>
|
|
<uses-library android:name="android.test.runner" />
|
|
</application>
|
|
|
|
<!-- tools:ignore needed for chromium-junit4 tag. crbug.com/640116
|
|
TODO(sakal): Remove once the tag is no longer needed. -->
|
|
<instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
|
|
tools:ignore="MissingPrefix"
|
|
android:targetPackage="org.appspot.apprtc"
|
|
android:label="Tests for AppRTCMobile"
|
|
chromium-junit4="true"/>
|
|
</manifest>
|