Class PBXBuildFile
- java.lang.Object
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXObject
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXContainerItem
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXProjectItem
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXBuildFile
-
public class PBXBuildFile extends PBXProjectItem
File referenced by a build phase, unique to each build phase.Contains a dictionary
settings
which holds additional information to be interpreted by the particular phase referencing this object, e.g.:-
PBXHeadersBuildPhase
may read{"ATTRIBUTES": ["Public"]}
and interpret the build file as a public (exported) header. -PBXSourcesBuildPhase
may read{"COMPILER_FLAGS": "-foo"}
and interpret that this file should be compiled with the additional flag"-foo"
.
-
-
Constructor Summary
Constructors Constructor Description PBXBuildFile(PBXReference fileRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PBXReference
getFileRef()
Optional<com.dd.plist.NSDictionary>
getSettings()
String
isa()
void
serializeInto(XcodeprojSerializer s)
Populates the serializer with the fields of this object.void
setSettings(Optional<com.dd.plist.NSDictionary> v)
int
stableHash()
This method is used to generate stable GIDs and must be stable for identical contents.String
toString()
-
Methods inherited from class com.facebook.buck.apple.xcode.xcodeproj.PBXObject
generateGid, getGlobalID, setGlobalID
-
-
-
-
Constructor Detail
-
PBXBuildFile
public PBXBuildFile(PBXReference fileRef)
-
-
Method Detail
-
getFileRef
public PBXReference getFileRef()
-
getSettings
public Optional<com.dd.plist.NSDictionary> getSettings()
-
setSettings
public void setSettings(Optional<com.dd.plist.NSDictionary> v)
-
isa
public String isa()
- Overrides:
isa
in classPBXProjectItem
- Returns:
- Type name of the serialized object.
-
stableHash
public int stableHash()
Description copied from class:PBXObject
This method is used to generate stable GIDs and must be stable for identical contents. Returning a constant value is ok but will make the generated project order-dependent.- Overrides:
stableHash
in classPBXObject
-
serializeInto
public void serializeInto(XcodeprojSerializer s)
Description copied from class:PBXObject
Populates the serializer with the fields of this object.- Overrides:
serializeInto
in classPBXContainerItem
-
-