Dont strip class names referenced from native
Reviewed By: lexs Differential Revision: D4237790 fbshipit-source-id: 1bd0780d965efbb8334917011ffd65896670ece1
This commit is contained in:
parent
7d89b773a7
commit
28275836c9
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSAlign {
|
public enum CSSAlign {
|
||||||
AUTO(0),
|
AUTO(0),
|
||||||
FLEX_START(1),
|
FLEX_START(1),
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSDimension {
|
public enum CSSDimension {
|
||||||
WIDTH(0),
|
WIDTH(0),
|
||||||
HEIGHT(1);
|
HEIGHT(1);
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSDirection {
|
public enum CSSDirection {
|
||||||
INHERIT(0),
|
INHERIT(0),
|
||||||
LTR(1),
|
LTR(1),
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSEdge {
|
public enum CSSEdge {
|
||||||
LEFT(0),
|
LEFT(0),
|
||||||
TOP(1),
|
TOP(1),
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSExperimentalFeature {
|
public enum CSSExperimentalFeature {
|
||||||
ROUNDING(0),
|
ROUNDING(0),
|
||||||
WEB_FLEX_BASIS(1);
|
WEB_FLEX_BASIS(1);
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSFlexDirection {
|
public enum CSSFlexDirection {
|
||||||
COLUMN(0),
|
COLUMN(0),
|
||||||
COLUMN_REVERSE(1),
|
COLUMN_REVERSE(1),
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSJustify {
|
public enum CSSJustify {
|
||||||
FLEX_START(0),
|
FLEX_START(0),
|
||||||
CENTER(1),
|
CENTER(1),
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSLogLevel {
|
public enum CSSLogLevel {
|
||||||
ERROR(0),
|
ERROR(0),
|
||||||
WARN(1),
|
WARN(1),
|
||||||
|
|
|
@ -15,6 +15,7 @@ import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
* Inteface for recieving logs from native layer. Use by setting CSSNode.setLogger(myLogger);
|
* Inteface for recieving logs from native layer. Use by setting CSSNode.setLogger(myLogger);
|
||||||
* See CSSLogLevel for the different log levels.
|
* See CSSLogLevel for the different log levels.
|
||||||
*/
|
*/
|
||||||
|
@DoNotStrip
|
||||||
public interface CSSLogger {
|
public interface CSSLogger {
|
||||||
@DoNotStrip
|
@DoNotStrip
|
||||||
void log(CSSLogLevel level, String message);
|
void log(CSSLogLevel level, String message);
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSMeasureMode {
|
public enum CSSMeasureMode {
|
||||||
UNDEFINED(0),
|
UNDEFINED(0),
|
||||||
EXACTLY(1),
|
EXACTLY(1),
|
||||||
|
|
|
@ -17,6 +17,7 @@ import java.util.ArrayList;
|
||||||
import com.facebook.proguard.annotations.DoNotStrip;
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
import com.facebook.soloader.SoLoader;
|
import com.facebook.soloader.SoLoader;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public class CSSNode implements CSSNodeAPI<CSSNode> {
|
public class CSSNode implements CSSNodeAPI<CSSNode> {
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSOverflow {
|
public enum CSSOverflow {
|
||||||
VISIBLE(0),
|
VISIBLE(0),
|
||||||
HIDDEN(1),
|
HIDDEN(1),
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSPositionType {
|
public enum CSSPositionType {
|
||||||
RELATIVE(0),
|
RELATIVE(0),
|
||||||
ABSOLUTE(1);
|
ABSOLUTE(1);
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSPrintOptions {
|
public enum CSSPrintOptions {
|
||||||
LAYOUT(1),
|
LAYOUT(1),
|
||||||
STYLE(2),
|
STYLE(2),
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
package com.facebook.csslayout;
|
package com.facebook.csslayout;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public enum CSSWrap {
|
public enum CSSWrap {
|
||||||
NO_WRAP(0),
|
NO_WRAP(0),
|
||||||
WRAP(1);
|
WRAP(1);
|
||||||
|
|
Loading…
Reference in New Issue