Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Store run configuration for generating demo flavor Baseline Profile

mlykotom7f93eeadcd5c
diff --git a/.run/Generate Demo Baseline Profile.run.xml b/.run/Generate Demo Baseline Profile.run.xml
new file mode 100644
index 000000000..ac47f3971
--- /dev/null
+++ b/.run/Generate Demo Baseline Profile.run.xml
@@ -0,0 +1,23 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Generate Demo Baseline Profile" type="GradleRunConfiguration" factoryName="Gradle">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="--rerun-tasks -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value=":benchmark:pixel6Api31DemoBenchmarkAndroidTest" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+ <ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/benchmark/build.gradle.kts b/benchmark/build.gradle.kts
index 931fd6d00..0cbde5bd3 100644
--- a/benchmark/build.gradle.kts
+++ b/benchmark/build.gradle.kts
@@ -55,9 +55,9 @@ android {
testOptions {
managedDevices {
devices {
- create<ManagedVirtualDevice>("pixel5Api30") {
- device = "Pixel 5"
- apiLevel = 30
+ create<ManagedVirtualDevice>("pixel6Api31") {
+ device = "Pixel 6"
+ apiLevel = 31
systemImageSource = "aosp"
}
}