Skip to content
Permalink
Browse files

Run buildozer fix on BUILD rules.

Since we use buildozer on copybara this ensures that we don't have surprising changes.

PiperOrigin-RevId: 251990234
  • Loading branch information...
gkdn authored and Copybara-Service committed Jun 7, 2019
1 parent 79186c7 commit 29f2eb8570d5274959d606647284cc3558790a40
Showing 504 changed files with 1,571 additions and 597 deletions.
7 BUILD
@@ -3,9 +3,10 @@

load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library")

package(default_visibility = ["//visibility:public"])

licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)

exports_files(["LICENSE"])

@@ -1,4 +1,6 @@
# Description:
# Exists to provide a package for bzl files.

licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)
@@ -3,7 +3,10 @@

load("@bazel_tools//tools/jdk:default_java_toolchain.bzl", "default_java_toolchain")

licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)

##########################################################
# #
@@ -22,8 +25,6 @@ licenses(["notice"]) # Apache 2.0
# support this yet, b/34359566. #
##########################################################

package(default_visibility = ["//visibility:public"])

# ***************************************************
# Transpiler related
# ***************************************************
@@ -2,14 +2,15 @@
# j2cl/jre: JRE subset for transpilation.
#

package(default_visibility = [
"//:__pkg__",
"//build_defs/internal_do_not_use:__pkg__",
"//jre/javatests:__pkg__",
"//transpiler/javatests/com/google/j2cl/transpiler:__subpackages__",
])

licenses(["notice"]) # Apache 2.0
package(
default_visibility = [
"//:__pkg__",
"//build_defs/internal_do_not_use:__pkg__",
"//jre/javatests:__pkg__",
"//transpiler/javatests/com/google/j2cl/transpiler:__subpackages__",
],
licenses = ["notice"], # Apache 2.0
)

load(":j2cl_mirror_from_gwt.bzl", "j2cl_mirror_from_gwt")

@@ -3,9 +3,10 @@
#
# Depends on the JRE JS.

package(default_visibility = ["//jre/java:__pkg__"])

licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//jre/java:__pkg__"],
licenses = ["notice"], # Apache 2.0
)

load(":generate_primitive.bzl", "generate_primitive_type")

@@ -3,7 +3,9 @@

load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_binary")

licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("//jre/java:j2cl_mirror_from_gwt.bzl", "j2cl_mirror_from_gwt", "java_source_copy")

@@ -1,4 +1,6 @@
licenses(["reciprocal"]) # Eclipse Public License - v 1.0
package(
licenses = ["reciprocal"], # Eclipse Public License - v 1.0
)

load("//build_defs:rules.bzl", "j2cl_library")

@@ -1,5 +1,7 @@
# Apache2. These tests are written for J2CL emulation, not copied over.
licenses(["notice"])
package(
# Apache2. These tests are written for J2CL emulation, not copied over.
licenses = ["notice"],
)

load("//build_defs:rules.bzl", "j2cl_test")

@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("//build_defs:rules.bzl", "j2cl_library")

@@ -2,9 +2,10 @@
# testing under j2cl.
# JVM async testing support should be placed under Guava or Xplat.

package(default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit:__subpackages__"])

licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit:__subpackages__"],
licenses = ["notice"], # Apache 2.0
)

load("//build_defs:rules.bzl", "j2cl_library")

@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

java_library(
name = "junit_processor_library",
@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

java_library(
name = "junit_integration_helper",
@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load(
"//junit/generator/javatests/com/google/j2cl/junit/integration:j2cl_junit_integration_test.bzl",
@@ -1,11 +1,12 @@
package(default_visibility = [
"//junit/generator/javatests/com/google/j2cl/junit/apt:__pkg__",
"//junit/generator/javatests/com/google/j2cl/junit/integration/async:__pkg__",
])

# Tests in this directory are not tests that are meant to be run directly.
# They serve as integration tests for J2clTestRunner.
licenses(["notice"]) # Apache 2.0
package(
default_visibility = [
"//junit/generator/javatests/com/google/j2cl/junit/apt:__pkg__",
"//junit/generator/javatests/com/google/j2cl/junit/integration/async:__pkg__",
],
# Tests in this directory are not tests that are meant to be run directly.
# They serve as integration tests for J2clTestRunner.
licenses = ["notice"], # Apache 2.0
)

load(
"//junit/generator/javatests/com/google/j2cl/junit/integration:j2cl_junit_integration_test.bzl",
@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load(
"//junit/generator/javatests/com/google/j2cl/junit/integration:j2cl_junit_integration_test.bzl",
@@ -1,6 +1,7 @@
package(default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit/integration/junit3:__pkg__"])

licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit/integration/junit3:__pkg__"],
licenses = ["notice"], # Apache 2.0
)

load(
"//junit/generator/javatests/com/google/j2cl/junit/integration:j2cl_junit_integration_test.bzl",
@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load(
"//junit/generator/javatests/com/google/j2cl/junit/integration:j2cl_junit_integration_test.bzl",
@@ -1,6 +1,7 @@
package(default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit/integration/junit4:__pkg__"])

licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit/integration/junit4:__pkg__"],
licenses = ["notice"], # Apache 2.0
)

load(
"//junit/generator/javatests/com/google/j2cl/junit/integration:j2cl_junit_integration_test.bzl",
@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("//build_defs:rules.bzl", "j2cl_library", "j2cl_test")

@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load(
"//junit/generator/javatests/com/google/j2cl/junit/integration:j2cl_junit_integration_test.bzl",
@@ -1,8 +1,9 @@
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library")

package(default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit/integration/stacktrace:__pkg__"])

licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit/integration/stacktrace:__pkg__"],
licenses = ["notice"], # Apache 2.0
)

load(
"//junit/generator/javatests/com/google/j2cl/junit/integration:j2cl_junit_integration_test.bzl",
@@ -1,6 +1,7 @@
package(default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit/integration:__subpackages__"])

licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit/integration:__subpackages__"],
licenses = ["notice"], # Apache 2.0
)

load("//build_defs:rules.bzl", "j2cl_library")

@@ -1,6 +1,8 @@
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library")

licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("@com_google_j2cl//build_defs:rules.bzl", "j2cl_application")

@@ -1,6 +1,7 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)

load("@com_google_j2cl//build_defs:rules.bzl", "j2cl_library")

@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("@com_google_j2cl//build_defs:rules.bzl", "j2cl_test")

@@ -3,7 +3,9 @@
# annotations on source code elements and comments them out so that they do not get parsed by
# J2CL.

licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

java_library(
name = "gwtincompatible_lib",
@@ -1,7 +1,9 @@
# Description:
# A minifier library for J2CL generated source. Applicable in dev servers.

licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

java_binary(
name = "J2clMinifier",
@@ -1,7 +1,9 @@
# Description:
# Implementation of RTA algorithm used to do fast method pruning.

licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

proto_library(
name = "code_removal_info_proto",
@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

java_test(
name = "JavaPreprocessorTest",
@@ -1,7 +1,9 @@
# Description:
# Tests for a minifier library for J2CL mangled names.

licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

java_test(
name = "J2clMinifierTest",
@@ -1,6 +1,7 @@
licenses(["notice"]) # Apache 2.0

package(default_visibility = ["//tools/javatests/com/google/j2cl/tools/rta:__subpackages__"])
package(
default_visibility = ["//tools/javatests/com/google/j2cl/tools/rta:__subpackages__"],
licenses = ["notice"], # Apache 2.0
)

java_library(
name = "golden_file_tester_lib",
@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("//build_defs:rules.bzl", "j2cl_library")
load("//tools/javatests/com/google/j2cl/tools/rta:rta_test.bzl", "rta_test")
@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("//build_defs:rules.bzl", "j2cl_library")
load("//tools/javatests/com/google/j2cl/tools/rta:rta_test.bzl", "rta_test")
@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("//build_defs:rules.bzl", "j2cl_library")
load("//tools/javatests/com/google/j2cl/tools/rta:rta_test.bzl", "rta_test")
@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("//build_defs:rules.bzl", "j2cl_library")
load("//tools/javatests/com/google/j2cl/tools/rta:rta_test.bzl", "rta_test")
@@ -1,7 +1,9 @@
# Description:
# This package intends to test the pruning result output of the rta algorithm.

licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("//build_defs:rules.bzl", "j2cl_library", "j2cl_rta")

@@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)

load("//build_defs:rules.bzl", "j2cl_library")
load("//tools/javatests/com/google/j2cl/tools/rta:rta_test.bzl", "rta_test")

0 comments on commit 29f2eb8

Please sign in to comment.
You can’t perform that action at this time.