From 33e7c7f6ecd32fce1571e8333d08495abefa0d97 Mon Sep 17 00:00:00 2001
From: Edward Chen <18449977+edgchen1@users.noreply.github.com>
Date: Thu, 11 Jul 2024 10:09:09 -0700
Subject: [PATCH] Enable Android CI build stages to run in parallel. (#21314)

Enable Android CI build stages to run in parallel to possibly reduce total build time.
---
 .../azure-pipelines/android-x86_64-crosscompile-ci-pipeline.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/ci_build/github/azure-pipelines/android-x86_64-crosscompile-ci-pipeline.yml b/tools/ci_build/github/azure-pipelines/android-x86_64-crosscompile-ci-pipeline.yml
index a3e3a202672a1..72f236ec2e6cc 100644
--- a/tools/ci_build/github/azure-pipelines/android-x86_64-crosscompile-ci-pipeline.yml
+++ b/tools/ci_build/github/azure-pipelines/android-x86_64-crosscompile-ci-pipeline.yml
@@ -49,6 +49,7 @@ stages:
 # Separate stage for building CPU vs NNAPI as we only want CodeQL to run on one of them so we don't get duplicate
 # issues for code that is built in both. We pick NNAPI as that includes the NNAPI EP code.
 - stage: BUILD_CPU_STAGE
+  dependsOn: []
   variables:
     Codeql.Enabled: false
   jobs:
@@ -130,6 +131,7 @@ stages:
     - template: templates/clean-agent-build-directory-step.yml
 
 - stage: BUILD_NNAPI_STAGE
+  dependsOn: []
   variables:
     Codeql.ProjectConfigPath: .github/workflows
     Codeql.Enabled: true