Skip to content

Commit

Permalink
Switch GWT rules implementation from native to .bzl.
Browse files Browse the repository at this point in the history
RELNOTES: GWT rules are now implemented in .bzl.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=327435789
  • Loading branch information
fluentfuture authored and netdpb committed Aug 19, 2020
1 parent d8e921f commit 23be71a
Show file tree
Hide file tree
Showing 31 changed files with 225 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
3 changes: 3 additions & 0 deletions guava-gwt/src/com/google/common/base/Base.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
8 changes: 7 additions & 1 deletion guava-gwt/src/com/google/common/cache/Cache.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.collect.Collect"/>

<inherits name="com.google.common.math.Math"/>

<inherits name="com.google.common.util.concurrent.Concurrent"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
6 changes: 6 additions & 0 deletions guava-gwt/src/com/google/common/collect/Collect.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.math.Math"/>

<inherits name="com.google.common.primitives.Primitives"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
5 changes: 4 additions & 1 deletion guava-gwt/src/com/google/common/escape/Escape.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
3 changes: 3 additions & 0 deletions guava-gwt/src/com/google/common/html/Html.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.escape.Escape"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
7 changes: 6 additions & 1 deletion guava-gwt/src/com/google/common/io/Io.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.math.Math"/>

<inherits name="com.google.common.primitives.Primitives"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
6 changes: 5 additions & 1 deletion guava-gwt/src/com/google/common/math/Math.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.primitives.Primitives"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
10 changes: 9 additions & 1 deletion guava-gwt/src/com/google/common/net/Net.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,21 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.collect.Collect"/>

<inherits name="com.google.common.escape.Escape"/>

<inherits name="com.google.thirdparty.publicsuffix.PublicSuffixPatterns"/>

<inherits name="com.google.thirdparty.publicsuffix.PublicSuffixType"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
4 changes: 4 additions & 0 deletions guava-gwt/src/com/google/common/primitives/Primitives.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.collect.Collect"/>

<inherits name="elemental2.promise.Promise"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
4 changes: 4 additions & 0 deletions guava-gwt/src/com/google/common/xml/Xml.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.escape.Escape"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,11 @@
(I hope that this workaround does not cause its own problems in the future.)
-->
<super-source path="super"/>
<inherits name="com.google.gwt.user.User" /><inherits name="com.google.thirdparty.publicsuffix.PublicSuffixType" /><inherits name="com.google.common.annotations.Annotations" /><inherits name="com.google.common.base.Base" /><inherits name="com.google.common.collect.Collect" /><inherits name="com.google.gwt.core.Core" />
<inherits name="com.google.gwt.user.User" />

<inherits name="com.google.thirdparty.publicsuffix.PublicSuffixType" />
<inherits name="com.google.common.annotations.Annotations" />
<inherits name="com.google.common.base.Base" />
<inherits name="com.google.common.collect.Collect" />
<inherits name="com.google.gwt.core.Core" />
</module>
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
(I hope that this workaround does not cause its own problems in the future.)
-->
<super-source path="super"/>
<inherits name="com.google.gwt.user.User" /><inherits name="com.google.common.annotations.Annotations" /><inherits name="com.google.gwt.core.Core" />
<inherits name="com.google.gwt.user.User" />

<inherits name="com.google.common.annotations.Annotations" />
<inherits name="com.google.gwt.core.Core" />
</module>
11 changes: 9 additions & 2 deletions guava-gwt/test/com/google/common/base/testModule.gwt.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<module>

<source path=""/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.junit.JUnit"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.collect.Collect"/>

<inherits name="com.google.common.testing.Testing"/>

<inherits name="com.google.common.truth.Truth"/>

<entry-point class="com.google.common.base.TestModuleEntryPoint"/>

<source path=""/>

<super-source path="super"/>

</module>
13 changes: 11 additions & 2 deletions guava-gwt/test/com/google/common/cache/testModule.gwt.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<module>

<source path=""/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.junit.JUnit"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.cache.Cache"/>

<inherits name="com.google.common.collect.Collect"/>

<inherits name="com.google.common.testing.Testing"/>

<inherits name="com.google.common.util.concurrent.Concurrent"/>

<inherits name="com.google.common.truth.Truth"/>

<entry-point class="com.google.common.cache.TestModuleEntryPoint"/>

<source path=""/>

<super-source path="super"/>

</module>
14 changes: 12 additions & 2 deletions guava-gwt/test/com/google/common/collect/testModule.gwt.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<module>

<source path=""/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.junit.JUnit"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.collect.Collect"/>

<inherits name="com.google.common.collect.testing.Testing"/>

<inherits name="com.google.common.collect.testing.google.Google"/>

<inherits name="com.google.common.io.Io"/>

<inherits name="com.google.common.testing.Testing"/>

<inherits name="com.google.common.truth.Truth"/>

<entry-point class="com.google.common.collect.TestModuleEntryPoint"/>

<source path=""/>

<super-source path="super"/>

</module>
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,19 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.junit.JUnit"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.collect.Collect"/>

<inherits name="com.google.common.primitives.Primitives"/>

<inherits name="com.google.common.testing.Testing"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,21 @@
<super-source path="super"/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.junit.JUnit"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.collect.Collect"/>

<inherits name="com.google.common.collect.testing.Testing"/>

<inherits name="com.google.common.primitives.Primitives"/>

<inherits name="com.google.common.testing.Testing"/>
<inherits name="com.google.gwt.core.Core"/>

<inherits name="com.google.gwt.core.Core"/>

</module>
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<module>

<source path=""/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.junit.JUnit"/>

<inherits name="com.google.common.annotations.Annotations"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.collect.Collect"/>

<inherits name="com.google.common.collect.testing.Testing"/>

<inherits name="com.google.common.testing.Testing"/>

<entry-point class="com.google.common.collect.testing.TestModuleEntryPoint"/>

<source path=""/>

</module>
12 changes: 10 additions & 2 deletions guava-gwt/test/com/google/common/escape/testModule.gwt.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<module>

<source path=""/>

<inherits name="com.google.gwt.user.User"/>

<inherits name="com.google.gwt.junit.JUnit"/>

<inherits name="com.google.common.base.Base"/>

<inherits name="com.google.common.collect.Collect"/>

<inherits name="com.google.common.escape.Escape"/>

<inherits name="com.google.common.escape.testing.Testing"/>

<inherits name="com.google.common.html.Html"/>

<inherits name="com.google.common.testing.Testing"/>

<entry-point class="com.google.common.escape.TestModuleEntryPoint"/>

<source path=""/>

</module>
Loading

0 comments on commit 23be71a

Please sign in to comment.