Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dcharkes committed Feb 28, 2024
1 parent a1a3554 commit d82edcd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pkgs/native_assets_cli/lib/src/api/build_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,17 @@ abstract final class BuildConfig {
///
/// Required when [targetOS] equals [OS.iOS].
///
/// Not available during a [dryRun].
/// Not available during a [dryRun]. Will throw a [StateError] if accessed
/// during a [dryRun].
IOSSdk? get targetIOSSdk;

/// When compiling for Android, the minimum Android SDK API version to that
/// the compiled code will be compatible with.
///
/// Required when [targetOS] equals [OS.android].
///
/// Not available during a [dryRun].
/// Not available during a [dryRun]. Will throw a [StateError] if accessed
/// during a [dryRun].
///
/// For more information about the Android API version, refer to
/// [`minSdkVersion`](https://developer.android.com/ndk/guides/sdk-versions#minsdkversion)
Expand All @@ -82,12 +84,14 @@ abstract final class BuildConfig {
///
/// Returns `null` if metadata was not provided.
///
/// Not available during a [dryRun].
/// Not available during a [dryRun]. Will throw a [StateError] if accessed
/// during a [dryRun].
Object? metadatum(String packageName, String key);

/// The configuration for invoking the C compiler.
///
/// Not available during a [dryRun].
/// Not available during a [dryRun]. Will throw a [StateError] if accessed
/// during a [dryRun].
CCompilerConfig get cCompiler;

/// Indicates whether a run should build (wet run) or report potential assets
Expand All @@ -99,7 +103,8 @@ abstract final class BuildConfig {

/// The build mode that the code should be compiled in.
///
/// Not available during a [dryRun].
/// Not available during a [dryRun]. Will throw a [StateError] if accessed
/// during a [dryRun].
BuildMode get buildMode;

/// The asset types the invoker of this build supports.
Expand Down

0 comments on commit d82edcd

Please sign in to comment.