You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2026/08/12 17:08:01 UTC
(royale-compiler) branch develop updated: GoogDepsWriter: followup to handling -includes compiler option by also ensuring that they get sorted properly in release builds
This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
The following commit(s) were added to refs/heads/develop by this push:
new 7c14907b2 GoogDepsWriter: followup to handling -includes compiler option by also ensuring that they get sorted properly in release builds
7c14907b2 is described below
commit 7c14907b2296c5c8b58310e5a63def5b85815bbd
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Wed Aug 12 10:07:06 2026 -0700
GoogDepsWriter: followup to handling -includes compiler option by also ensuring that they get sorted properly in release builds
Followup to commit 488fc5fbc7f5f5a638d8832a385886cf66c6246a
---
.../org/apache/royale/compiler/internal/graph/GoogDepsWriter.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java
index 426b4bb1d..144e08779 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java
@@ -523,6 +523,11 @@ public class GoogDepsWriter {
ArrayList<GoogDep> arr = new ArrayList<GoogDep>();
GoogDep current = depMap.get(mainName);
sortFunction(current, arr);
+ for (String includeName : includes) {
+ if (visited.containsKey(includeName)) continue;
+ GoogDep includeCurrent = depMap.get(includeName);
+ sortFunction(includeCurrent, arr);
+ }
if (removeCirculars)
{
ICompilationUnit mainUnit = requireMap.get(mainName);