Zachary Liu
42713c917e
Fix empty @ReactModuleList generated code
...
Reviewed By: AaaChiuuu
Differential Revision: D5737684
fbshipit-source-id: dc9312f595da23390cda14d5092c92d1e0319b83
2017-08-30 14:01:17 -07:00
Kathy Gray
84e80eb781
Allow reactinstancemanager to set an initialization function
...
Reviewed By: javache
Differential Revision: D5227811
fbshipit-source-id: e7868481de2a8799af5d6a6bcad26369d054b35e
2017-08-14 07:02:07 -07:00
David Reiss
278cd5747f
Mark React Native annotation processors as non-ABI-affecting
...
Reviewed By: AaaChiuuu
Differential Revision: D5518898
fbshipit-source-id: 652e5a70d27a0e598b2b6ae8f73d9d4fe19dfd36
2017-07-28 12:49:01 -07:00
Kathy Gray
8b53a2b29b
Merging cxxbridge and bridge packages
...
Reviewed By: javache
Differential Revision: D5027875
fbshipit-source-id: 47e081069d4219bdb29f63ce8a78c1f31a590da7
2017-05-11 03:50:52 -07:00
Pieter De Baets
34bc6bd2ae
Drop support for webworkers
...
Reviewed By: AaaChiuuu
Differential Revision: D4916449
fbshipit-source-id: a447233d3b7cfee98db2ce00f1c0505d513e2429
2017-04-25 05:37:54 -07:00
Kathy Gray
8e382fd006
Find hasConstant status via preprocessing
...
Reviewed By: javache
Differential Revision: D4867563
fbshipit-source-id: 66e4505d142fc4776cd727a025005b43d500b167
2017-04-13 05:30:14 -07:00
Kathy Gray
78ab4ee893
Delay module creation on call for constants when module has none
...
Reviewed By: AaaChiuuu
Differential Revision: D4810252
fbshipit-source-id: b2b98c3a8355dbb5775f254f25304a21f0bfee5b
2017-04-10 03:16:36 -07:00
Jonathan Lawlor
379b60d5e8
Fix ClassCastException in ReactModuleSpecProcessor
...
Reviewed By: AaaChiuuu
Differential Revision: D4752195
fbshipit-source-id: 7c01f9be4d82dbc605f1e6d3b217f0c83f177165
2017-03-22 11:17:48 -07:00
Aaron Chiu
2f69c5f46c
exit out early and continue if no annotations are found
...
Differential Revision: D4742299
fbshipit-source-id: 8006c5c9b25c951aec12ad5c63fdaf03fe1f6e67
2017-03-21 05:16:08 -07:00
Marc Horowitz
87137cadd7
rename javaModules -> nativeModules
...
Reviewed By: AaaChiuuu
Differential Revision: D4631758
fbshipit-source-id: 3b62ada1bf32467b67cd8529d4b7873b43898ee4
2017-03-14 15:35:01 -07:00
Jonathan Keljo
0a7427f599
Migrate ReactAndroid to use Buck's new java_annotation_processor rule
...
Reviewed By: asp2insp
Differential Revision: D4654756
fbshipit-source-id: d98d55786d84cf02234699a260e8750305982267
2017-03-14 11:16:13 -07:00
Michael Bolin
48cb932c6e
Apply auto-formatter for BUCK files in fbandroid.
...
fbshipit-source-id: 278ce6f67f5df830b2218e3aca69be103d3c56a6
2017-02-27 14:04:56 -08:00
Aaron Chiu
9f3e928f83
merge module info into ModuleHolder
...
Reviewed By: javache
Differential Revision: D4512982
fbshipit-source-id: e1272812f95d08f2c3eb834a18da842d425b3edb
2017-02-08 11:16:02 -08:00
Aaron Chiu
07a2a71df3
spelling clowntown
...
Reviewed By: shergin
Differential Revision: D4386363
fbshipit-source-id: feeeac5a3f03bdb09ce0faa3faa669563d0a6a8b
2017-01-05 20:43:27 -08:00
Aaron Chiu
c27cc9c1ac
add viewManager param to @ReactModuleList
...
Reviewed By: achen1
Differential Revision: D4338871
fbshipit-source-id: 4ac175e0a9049d5fb08c9d01f630a3e17124e08e
2016-12-16 15:28:28 -08:00
Delyan Kratunov
1f78ea326e
Remove unnecessary project_config
...
Differential Revision: D4326949
fbshipit-source-id: d0e8d7c3a046a89e5794be602a406ea914de50d1
2016-12-15 09:29:16 -08:00
Aaron Chiu
797ca6c219
Add ability to lazy load Native Java Modules
...
Summary: Utilizes the build time annotation processor ReactModuleSpecProcessor that creates ReactModuleInfos for modules annotated with ReactModule and listed in the ReactModuleList annotation of LazyReactPackages. This way we don't have to instantiate the native modules to get the name, canOverrideExistingModule, and supportsWebWorkers values of the native modules. In the NativeModuleRegistry, we either store these ReactModuleInfos inside of a ModuleHolder or if we can't get the ReactModuleInfo for a specific module we instantiate that module to get the values (as we previously did) to store in a LegacyModuleInfo.
Reviewed By: astreet
Differential Revision: D3796561
fbshipit-source-id: f8fb9b4993f59b51ce595eb2f2c3425129b28ce5
2016-09-23 15:58:46 -07:00
Aaron Chiu
367c71241a
convert CoreModulesPackage to use @ReactModuleList
...
Reviewed By: astreet
Differential Revision: D3809512
fbshipit-source-id: 658284c642d55cf5f90e16901fdf6d4229d6b762
2016-09-02 19:13:27 -07:00
Aaron Chiu
3d1b79cd15
covert RNFeedPackage and it's modules to use @ReactModule and @ReactModuleList
...
Reviewed By: lexs
Differential Revision: D3796860
fbshipit-source-id: d4b5f3635754ef28277b79cb1ea9bab07ba3ea6e
2016-09-02 16:28:43 -07:00
Aaron Chiu
605a0a62dc
Add annotation processor to create static ReactModule infos
...
Reviewed By: lexs
Differential Revision: D3781016
fbshipit-source-id: 8169e8b55fc044df2230fd01e912c4e96a044f98
2016-09-01 19:28:57 -07:00