Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
118 changes: 59 additions & 59 deletions javascript/atoms/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ closure_js_library(
":dom",
":errors",
":events",
"@io_bazel_rules_closure//closure/library/array",
"@io_bazel_rules_closure//closure/library/dom:tagname",
"@io_bazel_rules_closure//closure/library/math:coordinate",
"@io_bazel_rules_closure//closure/library/math:vec2",
"@io_bazel_rules_closure//closure/library/style",
"//third_party/closure/goog/array",
"//third_party/closure/goog/dom:tagname",
"//third_party/closure/goog/math:coordinate",
"//third_party/closure/goog/math:vec2",
"//third_party/closure/goog/style",
],
)

Expand All @@ -63,8 +63,8 @@ closure_js_library(
"JSC_USE_OF_GOOG_PROVIDE",
],
deps = [
"@io_bazel_rules_closure//closure/library/array",
"@io_bazel_rules_closure//closure/library/color:names",
"//third_party/closure/goog/array",
"//third_party/closure/goog/color:names",
],
)

Expand All @@ -91,15 +91,15 @@ closure_js_library(
":events",
":locators",
":useragent",
"@io_bazel_rules_closure//closure/library/array",
"@io_bazel_rules_closure//closure/library/dom",
"@io_bazel_rules_closure//closure/library/dom:selection",
"@io_bazel_rules_closure//closure/library/dom:tagname",
"@io_bazel_rules_closure//closure/library/math:coordinate",
"@io_bazel_rules_closure//closure/library/structs:map",
"@io_bazel_rules_closure//closure/library/structs:set",
"@io_bazel_rules_closure//closure/library/useragent",
"@io_bazel_rules_closure//closure/library/useragent:product",
"//third_party/closure/goog/array",
"//third_party/closure/goog/dom",
"//third_party/closure/goog/dom:selection",
"//third_party/closure/goog/dom:tagname",
"//third_party/closure/goog/math:coordinate",
"//third_party/closure/goog/structs:map",
"//third_party/closure/goog/structs:set",
"//third_party/closure/goog/useragent",
"//third_party/closure/goog/useragent:product",
],
)

Expand All @@ -115,10 +115,10 @@ closure_js_library(
deps = [
":errors",
":useragent",
"@io_bazel_rules_closure//closure/library/array",
"@io_bazel_rules_closure//closure/library/dom",
"@io_bazel_rules_closure//closure/library/dom:nodetype",
"@io_bazel_rules_closure//closure/library/dom:tagname",
"//third_party/closure/goog/array",
"//third_party/closure/goog/dom",
"//third_party/closure/goog/dom:nodetype",
"//third_party/closure/goog/dom:tagname",
],
)

Expand All @@ -139,16 +139,16 @@ closure_js_library(
":domcore",
":json",
":useragent",
"@io_bazel_rules_closure//closure/library/array",
"@io_bazel_rules_closure//closure/library/dom",
"@io_bazel_rules_closure//closure/library/dom:nodetype",
"@io_bazel_rules_closure//closure/library/dom:tagname",
"@io_bazel_rules_closure//closure/library/math",
"@io_bazel_rules_closure//closure/library/math:coordinate",
"@io_bazel_rules_closure//closure/library/math:rect",
"@io_bazel_rules_closure//closure/library/string",
"@io_bazel_rules_closure//closure/library/style",
"@io_bazel_rules_closure//closure/library/useragent",
"//third_party/closure/goog/array",
"//third_party/closure/goog/dom",
"//third_party/closure/goog/dom:nodetype",
"//third_party/closure/goog/dom:tagname",
"//third_party/closure/goog/math",
"//third_party/closure/goog/math:coordinate",
"//third_party/closure/goog/math:rect",
"//third_party/closure/goog/string",
"//third_party/closure/goog/style",
"//third_party/closure/goog/useragent",
],
)

Expand Down Expand Up @@ -183,12 +183,12 @@ closure_js_library(
":errors",
":json",
":useragent",
"@io_bazel_rules_closure//closure/library/array",
"@io_bazel_rules_closure//closure/library/dom",
"@io_bazel_rules_closure//closure/library/events:browserevent",
"@io_bazel_rules_closure//closure/library/style",
"@io_bazel_rules_closure//closure/library/useragent",
"@io_bazel_rules_closure//closure/library/useragent:product",
"//third_party/closure/goog/array",
"//third_party/closure/goog/dom",
"//third_party/closure/goog/events:browserevent",
"//third_party/closure/goog/style",
"//third_party/closure/goog/useragent",
"//third_party/closure/goog/useragent:product",
],
)

Expand All @@ -209,8 +209,8 @@ closure_js_library(
":dom",
":errors",
":locators",
"@io_bazel_rules_closure//closure/library/dom",
"@io_bazel_rules_closure//closure/library/dom:tagname",
"//third_party/closure/goog/dom",
"//third_party/closure/goog/dom:tagname",
],
)

Expand All @@ -228,7 +228,7 @@ closure_js_library(
":errors",
":json",
":useragent",
"@io_bazel_rules_closure//closure/library/useragent:all_js",
"//third_party/closure/goog/useragent:all_js",
],
)

Expand All @@ -250,10 +250,10 @@ closure_js_library(
":bot",
":errors",
":json",
"@io_bazel_rules_closure//closure/library/array",
"@io_bazel_rules_closure//closure/library/dom:nodetype",
"@io_bazel_rules_closure//closure/library/object",
"@io_bazel_rules_closure//closure/library/useragent",
"//third_party/closure/goog/array",
"//third_party/closure/goog/dom:nodetype",
"//third_party/closure/goog/object",
"//third_party/closure/goog/useragent",
],
)

Expand All @@ -265,8 +265,8 @@ closure_js_library(
],
deps = [
":useragent",
"@io_bazel_rules_closure//closure/library/json",
"@io_bazel_rules_closure//closure/library/useragent",
"//third_party/closure/goog/json",
"//third_party/closure/goog/useragent",
],
)

Expand All @@ -290,13 +290,13 @@ closure_js_library(
":errors",
":json",
":useragent",
"@io_bazel_rules_closure//closure/library/array",
"@io_bazel_rules_closure//closure/library/dom",
"@io_bazel_rules_closure//closure/library/dom:nodetype",
"@io_bazel_rules_closure//closure/library/math:rect",
"@io_bazel_rules_closure//closure/library/string",
"@io_bazel_rules_closure//closure/library/useragent",
"@io_bazel_rules_closure//closure/library/useragent:product",
"//third_party/closure/goog/array",
"//third_party/closure/goog/dom",
"//third_party/closure/goog/dom:nodetype",
"//third_party/closure/goog/math:rect",
"//third_party/closure/goog/string",
"//third_party/closure/goog/useragent",
"//third_party/closure/goog/useragent:product",
],
)

Expand All @@ -309,10 +309,10 @@ closure_js_library(
"JSC_USE_OF_GOOG_PROVIDE",
],
deps = [
"@io_bazel_rules_closure//closure/library/string",
"@io_bazel_rules_closure//closure/library/useragent",
"@io_bazel_rules_closure//closure/library/useragent:product",
"@io_bazel_rules_closure//closure/library/useragent:product_isversion",
"//third_party/closure/goog/string",
"//third_party/closure/goog/useragent",
"//third_party/closure/goog/useragent:product",
"//third_party/closure/goog/useragent:product_isversion",
],
)

Expand Down Expand Up @@ -347,9 +347,9 @@ closure_js_library(
":bot",
":errors",
":useragent",
"@io_bazel_rules_closure//closure/library/dom:nodetype",
"@io_bazel_rules_closure//closure/library/string",
"@io_bazel_rules_closure//closure/library/useragent",
"//third_party/closure/goog/dom:nodetype",
"//third_party/closure/goog/string",
"//third_party/closure/goog/useragent",
],
)

Expand Down
2 changes: 1 addition & 1 deletion javascript/atoms/fragments/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ closure_fragment(
"//javascript/chrome-driver:__pkg__",
],
deps = [
"@io_bazel_rules_closure//closure/library/style",
"//third_party/closure/goog/style",
],
)

Expand Down
4 changes: 2 additions & 2 deletions javascript/atoms/test/test_bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@
// All the files to load. Files are specified in the order they must be
// loaded, NOT alphabetical order.
var files = [
'../../../third_party/closure/goog/base.js',
'/filez/_main/third_party/closure/goog/base.js',
'deps.js'
];

if (location.pathname.lastIndexOf('/filez/_main/javascript/', 0) === 0) {
directoryPath = '';
files = [
'/filez/com_google_javascript_closure_library/closure/goog/base.js',
'/filez/_main/third_party/closure/goog/base.js',
'/filez/_main/javascript/atoms/deps.js',
];
}
Expand Down
12 changes: 6 additions & 6 deletions javascript/chrome-driver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ closure_js_library(
deps = [
"//javascript/atoms:dom",
"//javascript/atoms:locators",
"@io_bazel_rules_closure//closure/library/dom",
"@io_bazel_rules_closure//closure/library/math:coordinate",
"@io_bazel_rules_closure//closure/library/math:rect",
"@io_bazel_rules_closure//closure/library/math:size",
"@io_bazel_rules_closure//closure/library/style",
"//third_party/closure/goog/dom",
"//third_party/closure/goog/math:coordinate",
"//third_party/closure/goog/math:rect",
"//third_party/closure/goog/math:size",
"//third_party/closure/goog/style",
],
)

Expand All @@ -29,7 +29,7 @@ closure_fragment(
function = "goog.style.getPageOffset",
module = "goog.style",
deps = [
"@io_bazel_rules_closure//closure/library/style",
"//third_party/closure/goog/style",
],
)

Expand Down
2 changes: 1 addition & 1 deletion javascript/chrome-driver/test/test_bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
if (location.pathname.lastIndexOf('/filez/_main/javascript/', 0) === 0) {
directoryPath = '';
files = [
'/filez/com_google_javascript_closure_library/closure/goog/base.js',
'/filez/_main/third_party/closure/goog/base.js',
'/filez/_main/javascript/chrome-driver/deps.js',
];
}
Expand Down
4 changes: 2 additions & 2 deletions javascript/ie-driver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ closure_js_library(
"//javascript/atoms:errors",
"//javascript/atoms:locators",
"//javascript/atoms:useragent",
"@io_bazel_rules_closure//closure/library/math:coordinate",
"@io_bazel_rules_closure//closure/library/style",
"//third_party/closure/goog/math:coordinate",
"//third_party/closure/goog/style",
],
)

Expand Down
3 changes: 1 addition & 2 deletions javascript/private/closure_js_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ def closure_js_deps(name, deps = [], testonly = None, **kwargs):
$(location //javascript/private:closure_make_deps) \\
--closure-path $$(pwd)/external/com_google_javascript_closure_library/closure \\
--no-validate \\
$$FILES | \\
sed 's|../../../javascript/|../../../_main/javascript/|g' \\
$$FILES \\
> $@
""",
tools = ["//javascript/private:closure_make_deps"],
Expand Down
6 changes: 5 additions & 1 deletion javascript/private/test_suite.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ load("//java:defs.bzl", "selenium_test")

def closure_test_suite(name, data = [], browsers = None):
data = data + [
"@com_google_javascript_closure_library//:com_google_javascript_closure_library",
"//third_party/closure/goog:base",
"//third_party/closure/goog:css",
"//third_party/closure/goog:deps",
"//third_party/closure/goog:library",
"//third_party/closure/goog/testing",
]

selenium_test(
Expand Down
14 changes: 7 additions & 7 deletions javascript/webdriver/atoms/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ closure_js_library(
"//javascript/atoms:domcore",
"//javascript/atoms:html5",
"//javascript/webdriver:key",
"@io_bazel_rules_closure//closure/library/array",
"@io_bazel_rules_closure//closure/library/dom",
"@io_bazel_rules_closure//closure/library/dom:tagname",
"@io_bazel_rules_closure//closure/library/math:coordinate",
"@io_bazel_rules_closure//closure/library/style",
"//third_party/closure/goog/array",
"//third_party/closure/goog/dom",
"//third_party/closure/goog/dom:tagname",
"//third_party/closure/goog/math:coordinate",
"//third_party/closure/goog/style",
],
)

Expand All @@ -55,8 +55,8 @@ closure_js_library(
visibility = ["//visibility:private"],
deps = [
"//javascript/atoms:domcore",
"@io_bazel_rules_closure//closure/library/array",
"@io_bazel_rules_closure//closure/library/dom:tagname",
"//third_party/closure/goog/array",
"//third_party/closure/goog/dom:tagname",
],
)

Expand Down
6 changes: 3 additions & 3 deletions javascript/webdriver/atoms/inject/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ closure_js_library(
"//javascript/atoms:action",
"//javascript/atoms:inject",
"//javascript/webdriver/atoms:atoms-lib",
"@io_bazel_rules_closure//closure/library/json",
"//third_party/closure/goog/json",
],
)

Expand Down Expand Up @@ -68,7 +68,7 @@ closure_js_library(
"//javascript/atoms:inject",
"//javascript/atoms:useragent",
"//javascript/webdriver/atoms:atoms-lib",
"@io_bazel_rules_closure//closure/library/json",
"//third_party/closure/goog/json",
],
)

Expand Down Expand Up @@ -97,7 +97,7 @@ closure_js_library(
":execute-script",
"//javascript/atoms:inject",
"//javascript/atoms:locators",
"@io_bazel_rules_closure//closure/library/json",
"//third_party/closure/goog/json",
],
)

Expand Down
2 changes: 1 addition & 1 deletion javascript/webdriver/test/test_bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
|| location.pathname.lastIndexOf('/common/generated/javascript/', 0) === 0) {
directoryPath = '';
files = [
'/filez/com_google_javascript_closure_library/closure/goog/base.js',
'/filez/_main/third_party/closure/goog/base.js',
'/filez/_main/javascript/atoms/deps.js',
'/filez/_main/javascript/webdriver/deps.js',
];
Expand Down
Loading