Dont strip class names referenced from native

Reviewed By: lexs

Differential Revision: D4237790

fbshipit-source-id: 1bd0780d965efbb8334917011ffd65896670ece1
This commit is contained in:
Emil Sjolander 2016-11-28 09:20:59 -08:00 committed by Facebook Github Bot
parent 7d89b773a7
commit 28275836c9
15 changed files with 41 additions and 0 deletions

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSAlign {
AUTO(0),
FLEX_START(1),

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSDimension {
WIDTH(0),
HEIGHT(1);

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSDirection {
INHERIT(0),
LTR(1),

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSEdge {
LEFT(0),
TOP(1),

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSExperimentalFeature {
ROUNDING(0),
WEB_FLEX_BASIS(1);

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSFlexDirection {
COLUMN(0),
COLUMN_REVERSE(1),

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSJustify {
FLEX_START(0),
CENTER(1),

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSLogLevel {
ERROR(0),
WARN(1),

View File

@ -15,6 +15,7 @@ import com.facebook.proguard.annotations.DoNotStrip;
* Inteface for recieving logs from native layer. Use by setting CSSNode.setLogger(myLogger);
* See CSSLogLevel for the different log levels.
*/
@DoNotStrip
public interface CSSLogger {
@DoNotStrip
void log(CSSLogLevel level, String message);

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSMeasureMode {
UNDEFINED(0),
EXACTLY(1),

View File

@ -17,6 +17,7 @@ import java.util.ArrayList;
import com.facebook.proguard.annotations.DoNotStrip;
import com.facebook.soloader.SoLoader;
@DoNotStrip
public class CSSNode implements CSSNodeAPI<CSSNode> {
static {

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSOverflow {
VISIBLE(0),
HIDDEN(1),

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSPositionType {
RELATIVE(0),
ABSOLUTE(1);

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSPrintOptions {
LAYOUT(1),
STYLE(2),

View File

@ -9,6 +9,9 @@
package com.facebook.csslayout;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum CSSWrap {
NO_WRAP(0),
WRAP(1);