Interface CxxLibraryDescription.CommonArg

    • Method Detail

      • getExportedHeaders

        @Default
        default SourceSortedSet getExportedHeaders()
      • getExportedPreprocessorFlags

        com.google.common.collect.ImmutableList<StringWithMacros> getExportedPreprocessorFlags()
      • getExportedLangPreprocessorFlags

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

        com.google.common.collect.ImmutableList<StringWithMacros> getExportedLinkerFlags()
      • getExportedPostLinkerFlags

        com.google.common.collect.ImmutableList<StringWithMacros> getExportedPostLinkerFlags()
      • getExportedDeps

        @NaturalOrder
        com.google.common.collect.ImmutableSortedSet<BuildTarget> getExportedDeps()
      • getSupportedPlatformsRegex

        Optional<Pattern> getSupportedPlatformsRegex()
      • getStaticLibraryBasename

        Optional<String> getStaticLibraryBasename()
      • getXcodePublicHeadersSymlinks

        Optional<Boolean> getXcodePublicHeadersSymlinks()
      • getXcodePrivateHeadersSymlinks

        Optional<Boolean> getXcodePrivateHeadersSymlinks()
      • getExtraXcodeSources

        com.google.common.collect.ImmutableList<SourcePath> getExtraXcodeSources()
        extra_xcode_sources will add the files to the list of files to be compiled in the Xcode target.
      • getExtraXcodeFiles

        com.google.common.collect.ImmutableList<SourcePath> getExtraXcodeFiles()
        extra_xcode_sources will add the files to the list of files in the project and won't add them to an Xcode target.
      • isReexportAllHeaderDependencies

        Optional<Boolean> isReexportAllHeaderDependencies()
        Controls whether the headers of dependencies in "deps" is re-exported for compiling targets that depend on this one.
      • getBridgingHeader

        Optional<SourcePath> getBridgingHeader()
        These fields are passed through to SwiftLibrary for mixed C/Swift targets; they are not used otherwise.
      • getPublicIncludeDirectories

        @Default
        default com.google.common.collect.ImmutableSortedSet<String> getPublicIncludeDirectories()
        A list of include directories to be added to the compile command for compiling this cxx target and every target that depends on it.
        Returns:
        a list of public (exported) include paths for this cxx target.
      • getPublicSystemIncludeDirectories

        @Default
        default com.google.common.collect.ImmutableSortedSet<String> getPublicSystemIncludeDirectories()
        A list of include directories to be added to the compile command for compiling this cxx target and every target that depends on it.
        Returns:
        a list of public (exported) include paths for this cxx target.
      • getExportedCxxDeps

        @Derived
        default CxxDeps getExportedCxxDeps()
        Returns:
        C/C++ deps which are propagated to dependents.
      • getCxxDeps

        @Derived
        default CxxDeps getCxxDeps()
        Override parent class's deps to include exported deps.
        Specified by:
        getCxxDeps in interface CxxConstructorArg
        Returns:
        the C/C++ deps this rule builds against.
      • getExportedHeaderStyle

        @Default
        default CxxPreprocessables.IncludeType getExportedHeaderStyle()
        Returns:
        how exported headers from this rule should be included by dependents.