Allow redex to optimize more of yoga by removing unneeded @DoNotStrip marks

Summary:
There are multiple `DoNotStrip` in Yoga java binding, they aren't needed.

##Changelog:
[Internal][Yoga] Allow redex to optimize more of yoga by removing unneeded DoNotStrip marks

Reviewed By: SidharthGuglani

Differential Revision: D17519844

fbshipit-source-id: 8b26800d720f34cae87754d85460abf88acbe713
This commit is contained in:
Amir Shalem
2019-12-04 01:32:14 -08:00
committed by Facebook Github Bot
parent 089095f532
commit 7f97e8b232
19 changed files with 1 additions and 56 deletions

View File

@@ -7,14 +7,10 @@
package com.facebook.yoga;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public interface YogaBaselineFunction {
/**
* Return the baseline of the node in points. When no baseline function is set the baseline
* default to the computed height of the node.
*/
@DoNotStrip
float baseline(YogaNode node, float width, float height);
}