mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
Move AppCompat resource target used by React Native
Reviewed By: alsutton Differential Revision: D4416749 fbshipit-source-id: 965a1245e7c2ffb20b34492c0cb399d3c6884dc6
This commit is contained in:
committed by
Facebook Github Bot
parent
d4e8b19e71
commit
35bcf1bacc
@@ -1,9 +1,9 @@
|
|||||||
include_defs('//ReactAndroid/DEFS')
|
include_defs('//ReactAndroid/DEFS')
|
||||||
|
|
||||||
# used by ReactToolbarManager because of Gradle
|
# 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(
|
android_resource(
|
||||||
name = 'res-for-react-native',
|
name = 'appcompat',
|
||||||
res = react_native_dep('third-party/android/support/v7/appcompat-orig:res-unpacker-cmd'),
|
res = react_native_dep('third-party/android/support/v7/appcompat-orig:res-unpacker-cmd'),
|
||||||
package = 'com.facebook.react',
|
package = 'com.facebook.react',
|
||||||
visibility = ['//ReactAndroid/...',],
|
visibility = ['//ReactAndroid/...',],
|
||||||
@@ -5,7 +5,7 @@ android_library(
|
|||||||
srcs = glob(['*.java']),
|
srcs = glob(['*.java']),
|
||||||
deps = [
|
deps = [
|
||||||
YOGA_TARGET,
|
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/android/support/v7/appcompat-orig:appcompat'),
|
||||||
react_native_dep('third-party/java/jsr-305:jsr-305'),
|
react_native_dep('third-party/java/jsr-305:jsr-305'),
|
||||||
react_native_target('java/com/facebook/react/bridge:bridge'),
|
react_native_target('java/com/facebook/react/bridge:bridge'),
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ android_library(
|
|||||||
srcs = glob(['**/*.java']),
|
srcs = glob(['**/*.java']),
|
||||||
deps = [
|
deps = [
|
||||||
YOGA_TARGET,
|
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-drawee'),
|
||||||
react_native_dep('libraries/fresco/fresco-react-native:fresco-react-native'),
|
react_native_dep('libraries/fresco/fresco-react-native:fresco-react-native'),
|
||||||
react_native_dep('libraries/fresco/fresco-react-native:imagepipeline'),
|
react_native_dep('libraries/fresco/fresco-react-native:imagepipeline'),
|
||||||
|
|||||||
Reference in New Issue
Block a user