Permalink
Browse files

Add .bazelrc to J2CL root.

PiperOrigin-RevId: 221070420
  • Loading branch information...
gkdn authored and Copybara-Service committed Nov 12, 2018
1 parent 21a927d commit fff2ae39d84ace69803d158d49f00709bc01e15a
@@ -0,0 +1,9 @@
# Recommended bazel settings for working with J2CL.
# You can copy this into root of your workspace.

build --watchfs

build --spawn_strategy=standalone
build --strategy=J2cl=worker
build --strategy=Closure=worker
build --experimental_persistent_javac
@@ -87,7 +87,7 @@ def _strip_gwt_incompatible(ctx, java_srcs):
arguments = [args],
env = dict(LANG = "en_US.UTF-8"),
execution_requirements = {"supports-workers": "1"},
mnemonic = "GwtIncompatibleStripper",
mnemonic = "J2cl",
)

return output_file
@@ -28,7 +28,7 @@ def j2cl_transpile(ctx, java_provider, js_srcs):
arguments = [args],
env = dict(LANG = "en_US.UTF-8"),
execution_requirements = {"supports-workers": "1"},
mnemonic = "J2clTranspile",
mnemonic = "J2cl",
)

return ctx.outputs.zip_file

0 comments on commit fff2ae3

Please sign in to comment.