Move AppCompat resource target used by React Native
Reviewed By: alsutton Differential Revision: D4416749 fbshipit-source-id: 965a1245e7c2ffb20b34492c0cb399d3c6884dc6
This commit is contained in:
parent
d4e8b19e71
commit
35bcf1bacc
|
@ -1,9 +1,9 @@
|
|||
include_defs('//ReactAndroid/DEFS')
|
||||
|
||||
# used by ReactToolbarManager because of Gradle
|
||||
# TODO t10182713 will be replaced with res-for-appcompat when we stop using Gradle
|
||||
# TODO t10182713 will be replaced with appcompat-orig when we stop using Gradle
|
||||
android_resource(
|
||||
name = 'res-for-react-native',
|
||||
name = 'appcompat',
|
||||
res = react_native_dep('third-party/android/support/v7/appcompat-orig:res-unpacker-cmd'),
|
||||
package = 'com.facebook.react',
|
||||
visibility = ['//ReactAndroid/...',],
|
|
@ -5,7 +5,7 @@ android_library(
|
|||
srcs = glob(['*.java']),
|
||||
deps = [
|
||||
YOGA_TARGET,
|
||||
react_native_dep('android_res/android/support/v7/appcompat-orig:res-for-react-native'),
|
||||
react_native_dep('android_res/com/facebook/catalyst/appcompat:appcompat'),
|
||||
react_native_dep('third-party/android/support/v7/appcompat-orig:appcompat'),
|
||||
react_native_dep('third-party/java/jsr-305:jsr-305'),
|
||||
react_native_target('java/com/facebook/react/bridge:bridge'),
|
||||
|
|
|
@ -5,7 +5,7 @@ android_library(
|
|||
srcs = glob(['**/*.java']),
|
||||
deps = [
|
||||
YOGA_TARGET,
|
||||
react_native_dep('android_res/android/support/v7/appcompat-orig:res-for-react-native'),
|
||||
react_native_dep('android_res/com/facebook/catalyst/appcompat:appcompat'),
|
||||
react_native_dep('libraries/fresco/fresco-react-native:fresco-drawee'),
|
||||
react_native_dep('libraries/fresco/fresco-react-native:fresco-react-native'),
|
||||
react_native_dep('libraries/fresco/fresco-react-native:imagepipeline'),
|
||||
|
|
Loading…
Reference in New Issue