Interface CxxConstructorArg

    • Method Detail

      • getSrcs

        @NaturalOrder
        com.google.common.collect.ImmutableSortedSet<SourceWithFlags> getSrcs()
      • checkDuplicateSources

        default void checkDuplicateSources​(SourcePathResolverAdapter sourcePathResolverAdapter)
        Checks that there are no files that appear both in srcs and platform_srcs
      • getRawHeaders

        @Default
        default com.google.common.collect.ImmutableSortedSet<SourcePath> getRawHeaders()
        Raw headers are headers which are used as they are (via compilation flags). Buck doesn't copy them or create symlinks for them. They are public (since managed by compilation flags).
        Returns:
        a list of raw headers
      • getIncludeDirectories

        @Default
        default com.google.common.collect.ImmutableSortedSet<String> getIncludeDirectories()
        A list of include directories to be added to the compile command for compiling this cxx target.
        Returns:
        a list of private include paths for this cxx target.
      • checkHeadersUsage

        @Check
        default void checkHeadersUsage()
      • getCompilerFlags

        com.google.common.collect.ImmutableList<StringWithMacros> getCompilerFlags()
      • getLangCompilerFlags

        com.google.common.collect.ImmutableMap<CxxSource.Type,​com.google.common.collect.ImmutableList<StringWithMacros>> getLangCompilerFlags()
      • getPreprocessorFlags

        com.google.common.collect.ImmutableList<StringWithMacros> getPreprocessorFlags()
      • getLangPreprocessorFlags

        com.google.common.collect.ImmutableMap<CxxSource.Type,​com.google.common.collect.ImmutableList<StringWithMacros>> getLangPreprocessorFlags()
      • getLinkerFlags

        com.google.common.collect.ImmutableList<StringWithMacros> getLinkerFlags()
      • getPostLinkerFlags

        com.google.common.collect.ImmutableList<StringWithMacros> getPostLinkerFlags()
      • getLinkerExtraOutputs

        com.google.common.collect.ImmutableList<String> getLinkerExtraOutputs()
      • getDefaults

        com.google.common.collect.ImmutableMap<String,​Flavor> getDefaults()
      • getDefaultFlavors

        @Derived
        default com.google.common.collect.ImmutableSortedSet<Flavor> getDefaultFlavors()
        Specified by:
        getDefaultFlavors in interface HasDefaultFlavors
        Returns:
        If present, the default flavors with which to build this target if none are provided on the command line.
      • getCxxDeps

        @Derived
        default CxxDeps getCxxDeps()
        Returns:
        the C/C++ deps this rule builds against.
      • getPrivateCxxDeps

        @Derived
        default CxxDeps getPrivateCxxDeps()
        Returns:
        C/C++ deps which are *not* propagated to dependents.