You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/12/20 10:03:43 UTC
[royale-compiler] branch develop updated: ignore external deps
This is an automated email from the ASF dual-hosted git repository.
aharui 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 bf5c5a5 ignore external deps
bf5c5a5 is described below
commit bf5c5a52110613727e2cbce38be5b6a63ab89b64
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Dec 20 02:03:26 2018 -0800
ignore external deps
---
.../java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 5d4d7fb..217310c 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
@@ -734,7 +734,7 @@ public class GoogDepsWriter {
lastRequireLine = gd.fileInfo.googProvideLine + 1;
for (String dep : gd.fileInfo.staticDeps)
{
- if (!writtenRequires.contains(dep))
+ if (!writtenRequires.contains(dep) && !isExternal(dep))
{
String line = JSGoogEmitterTokens.GOOG_REQUIRE.getToken();
line += "('" + dep + "');";