mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Android: use Fabric component codegen output instead of checked in files
Summary: For core components, we can start using the codegen output during build time instead of the checked in files in: https://github.com/facebook/react-native/tree/master/ReactAndroid/src/main/java/com/facebook/react/viewmanagers Note: Some files seemed to be handwritten, so this only removed those that use codegen. Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D25453157 fbshipit-source-id: f7eabddfd3fd668bef0c4aef3fddcb38c8b046a0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
331dc2a998
commit
15a3a01082
+1
-3
@@ -216,9 +216,7 @@ module.exports = {
|
||||
packageName?: string,
|
||||
): FilesOutput {
|
||||
// TODO: This doesn't support custom package name yet.
|
||||
// TODO: But it customizes the name here temporarily to prepare for Fabric RNTester support.
|
||||
const normalizedPackageName =
|
||||
packageName != null ? packageName : 'com.facebook.react.viewmanagers';
|
||||
const normalizedPackageName = 'com.facebook.react.viewmanagers';
|
||||
const outputDir = `java/${normalizedPackageName.replace(/\./g, '/')}`;
|
||||
|
||||
const files = new Map();
|
||||
|
||||
Reference in New Issue
Block a user