Migration of RN-Android OSS tests to Android X

Summary:
This diff migrates RN to AndroidX.
As part of this diff I disabled few tests in RNAndroid OSS that will be re-enabled this week. As part of the refactor of BUCK files in OSS

Reviewed By: shergin

Differential Revision: D14200097

fbshipit-source-id: 932fcae251d1553e672acd67ecd0e703dcb364aa
This commit is contained in:
David Vacca
2019-03-17 08:13:30 -07:00
committed by Facebook Github Bot
parent 5613aa8948
commit 8d5ac8de76
122 changed files with 1450 additions and 448 deletions
@@ -3,6 +3,7 @@ load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "react_native_tar
rn_android_library(
name = "devsupport",
srcs = glob(["*.java"]),
is_androidx = True,
manifest = "AndroidManifest.xml",
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
@@ -36,6 +37,7 @@ rn_android_library(
rn_android_library(
name = "interfaces",
srcs = glob(["interfaces/*.java"]),
is_androidx = True,
visibility = [
"PUBLIC",
],
@@ -20,7 +20,7 @@ import android.content.pm.PackageManager;
import android.hardware.SensorManager;
import android.net.Uri;
import android.os.AsyncTask;
import android.support.annotation.Nullable;
import androidx.annotation.Nullable;
import android.util.Pair;
import android.widget.Toast;
import com.facebook.common.logging.FLog;
@@ -8,7 +8,7 @@
package com.facebook.react.devsupport;
import android.content.Context;
import android.support.annotation.Nullable;
import androidx.annotation.Nullable;
import android.text.SpannedString;
import com.facebook.react.devsupport.interfaces.StackFrame;