Skip to content

Commit

Permalink
Temporarily disabled wasm in bazel since it breaks tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Jan 18, 2021
1 parent 90953d2 commit 073ec61
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 8 deletions.
8 changes: 4 additions & 4 deletions build_defs/internal_do_not_use/j2cl_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ def j2cl_library(
_to_j2wasm_targets("exports", j2wasm_args)
j2wasm_args["tags"] = (j2wasm_args.get("tags") or []) + ["manual", "notap"]

j2wasm_library(
name = j2wasm_library_name,
**j2wasm_args
)
# j2wasm_library(
# name = j2wasm_library_name,
# **j2wasm_args
# )

_ALLOWED_ATTRS = [key for key in J2WASM_LIB_ATTRS] + ["tags", "visibility"]

Expand Down
2 changes: 1 addition & 1 deletion maven/backend-libraryinfo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>libraryinfo-proto</artifactId>
<artifactId>backend-libraryinfo-proto</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
49 changes: 49 additions & 0 deletions maven/common-visitor/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.9-SNAPSHOT</version>
</parent>
<artifactId>common-visitor</artifactId>
<packaging>pom</packaging>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/common/visitor/libvisitor-internal.jar</file>
<type>jar</type>
</artifact>
<artifact>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/common/visitor/libvisitor-internal-src.jar</file>
<type>jar</type>
<classifier>sources</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>

</dependencies>
</project>
6 changes: 3 additions & 3 deletions maven/passes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.9-SNAPSHOT</version>
</parent>
<artifactId>passes</artifactId>
<packaging>pom</packaging>
Expand All @@ -28,11 +28,11 @@
<configuration>
<artifacts>
<artifact>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/backend/passes/libpasses.jar</file>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/transpiler/passes/libpasses.jar</file>
<type>jar</type>
</artifact>
<artifact>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/backend/passes/libpasses-src.jar</file>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/transpiler/passes/libpasses-src.jar</file>
<type>jar</type>
<classifier>sources</classifier>
</artifact>
Expand Down
4 changes: 4 additions & 0 deletions maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@

<modules>
<module>external</module>

<module>common</module>
<module>common-visitor</module>
<module>ast</module>

<module>backend</module>
Expand All @@ -34,6 +36,8 @@
<module>frontend-jdt</module>
<module>frontend-javac</module>

<module>passes</module>

<module>transpiler</module>

<module>gwt-incompatible-stripper</module>
Expand Down

0 comments on commit 073ec61

Please sign in to comment.