Recycle CSSNodes

Summary: Adds a pool to recycle CSSNodes within UIManager. A follow-up diff will hook this up to a memory pressure listener to drop the pool on memory pressure.

Reviewed By: emilsjolander

Differential Revision: D4189532

fbshipit-source-id: 46583546f71a8c59853e1dd124de31657b3c617b
This commit is contained in:
Andy Street
2016-11-21 09:11:29 -08:00
committed by Facebook Github Bot
parent 7c91f894ba
commit bd8745b1fd
5 changed files with 107 additions and 10 deletions

View File

@@ -7,14 +7,15 @@ SUB_PROJECTS = [
android_library(
name = 'common',
srcs = glob(['**/*.java'], excludes=SUB_PROJECTS),
deps = [
':build_config',
react_native_dep('third-party/java/infer-annotations:infer-annotations'),
react_native_dep('third-party/java/jsr-305:jsr-305'),
],
exported_deps = [
react_native_dep('java/com/facebook/proguard/annotations:annotations'),
],
deps = [
':build_config',
react_native_dep('third-party/android/support/v4:lib-support-v4'),
react_native_dep('third-party/java/infer-annotations:infer-annotations'),
react_native_dep('third-party/java/jsr-305:jsr-305'),
],
visibility = [
'PUBLIC',
],