public class JsFlavors extends Object
Modifier and Type | Field and Description |
---|---|
static UserFlavor |
ANDROID |
static InternalFlavor |
ANDROID_RESOURCES |
static UserFlavor |
DEPENDENCY_FILE |
static InternalFlavor |
FORCE_JS_BUNDLE |
static UserFlavor |
IOS |
static InternalFlavor |
LIBRARY_FILES |
static UserFlavor |
MISC |
static FlavorDomain<String> |
OPTIMIZATION_DOMAIN |
static FlavorDomain<Object> |
OUTPUT_OPTIONS_DOMAIN |
static FlavorDomain<String> |
PLATFORM_DOMAIN |
static FlavorDomain<String> |
RAM_BUNDLE_DOMAIN |
static UserFlavor |
RAM_BUNDLE_FILES |
static UserFlavor |
RAM_BUNDLE_INDEXED |
static UserFlavor |
RELEASE |
static UserFlavor |
SOURCE_MAP |
Modifier and Type | Method and Description |
---|---|
static String |
bundleJobArgs(Set<Flavor> flavors) |
static Optional<Either<SourcePath,Pair<SourcePath,String>>> |
extractSourcePath(com.google.common.collect.ImmutableBiMap<Flavor,Either<SourcePath,Pair<SourcePath,String>>> flavorsToSources,
java.util.stream.Stream<Flavor> flavors) |
static Flavor |
fileFlavorForSourcePath(Path path) |
static boolean |
isFileFlavor(Flavor flavor) |
static String |
platformArgForRelease(Set<Flavor> flavors) |
static boolean |
validateFlavors(com.google.common.collect.ImmutableSet<Flavor> flavors,
Iterable<FlavorDomain<?>> allowableDomains) |
public static final UserFlavor ANDROID
public static final UserFlavor IOS
public static final UserFlavor RELEASE
public static final UserFlavor RAM_BUNDLE_FILES
public static final UserFlavor RAM_BUNDLE_INDEXED
public static final UserFlavor SOURCE_MAP
public static final UserFlavor MISC
public static final UserFlavor DEPENDENCY_FILE
public static final FlavorDomain<String> OPTIMIZATION_DOMAIN
public static final FlavorDomain<String> PLATFORM_DOMAIN
public static final FlavorDomain<String> RAM_BUNDLE_DOMAIN
public static final FlavorDomain<Object> OUTPUT_OPTIONS_DOMAIN
public static final InternalFlavor ANDROID_RESOURCES
public static final InternalFlavor FORCE_JS_BUNDLE
public static final InternalFlavor LIBRARY_FILES
public static boolean validateFlavors(com.google.common.collect.ImmutableSet<Flavor> flavors, Iterable<FlavorDomain<?>> allowableDomains)
public static Optional<Either<SourcePath,Pair<SourcePath,String>>> extractSourcePath(com.google.common.collect.ImmutableBiMap<Flavor,Either<SourcePath,Pair<SourcePath,String>>> flavorsToSources, java.util.stream.Stream<Flavor> flavors)
public static boolean isFileFlavor(Flavor flavor)