Gardening M37 : Fix TestContentProvider not found when running the tests
on Android.

Following what upstream is doing we need to move the declaration
to various targets.

Relate to https://chromiumcodereview.appspot.com/23346011
Merge pull request #2183 from darktears/next

Gardening M37 : Fix TestContentProvider not found when running the tests