Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Check in some parts of CLDR v42 and create a define to use them to en…
Browse files Browse the repository at this point in the history
…able incremental migration.

RELNOTES: n/a

PiperOrigin-RevId: 500723948
Change-Id: I4eecfd2920fd1b32d1d876132a0d80425004eb5c
  • Loading branch information
12wrigja authored and copybara-github committed Jan 9, 2023
1 parent 01cac58 commit 2800dca
Show file tree
Hide file tree
Showing 16 changed files with 83,703 additions and 23,383 deletions.
37 changes: 34 additions & 3 deletions closure/goog/i18n/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ closure_js_library(
lenient = True,
)

closure_js_library(
name = "cldrversion",
srcs = ["cldrversion.js"],
lenient = True,
)

closure_js_library(
name = "collation",
srcs = ["collation.js"],
Expand Down Expand Up @@ -213,20 +219,38 @@ closure_js_library(
name = "datetimepatterns",
srcs = ["datetimepatterns.js"],
lenient = True,
deps = [":datetimepatternstype"],
deps = [
":cldrversion",
":datetimepatternstype",
"//closure/goog/i18n/cldr41:datetimepatterns",
"//closure/goog/i18n/cldr42:datetimepatterns",
],
)

closure_js_library(
name = "datetimepatternsext",
srcs = ["datetimepatternsext.js"],
lenient = True,
deps = [":datetimepatterns"],
deps = [
":cldrversion",
":datetimepatterns",
":datetimepatternstype",
"//closure/goog/i18n/cldr41:datetimepatterns",
"//closure/goog/i18n/cldr41:datetimepatternsext",
"//closure/goog/i18n/cldr42:datetimepatterns",
"//closure/goog/i18n/cldr42:datetimepatternsext",
],
)

closure_js_library(
name = "datetimesymbols",
srcs = ["datetimesymbols.js"],
lenient = True,
deps = [
":cldrversion",
"//closure/goog/i18n/cldr41:datetimesymbols",
"//closure/goog/i18n/cldr42:datetimesymbols",
],
)

closure_js_library(
Expand All @@ -239,7 +263,14 @@ closure_js_library(
name = "datetimesymbolsext",
srcs = ["datetimesymbolsext.js"],
lenient = True,
deps = [":datetimesymbols"],
deps = [
":cldrversion",
":datetimesymbols",
"//closure/goog/i18n/cldr41:datetimesymbols",
"//closure/goog/i18n/cldr41:datetimesymbolsext",
"//closure/goog/i18n/cldr42:datetimesymbols",
"//closure/goog/i18n/cldr42:datetimesymbolsext",
],
)

closure_js_library(
Expand Down
30 changes: 30 additions & 0 deletions closure/goog/i18n/cldr41/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library")

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

closure_js_library(
name = "datetimesymbols",
srcs = ["datetimesymbols.js"],
lenient = True,
)

closure_js_library(
name = "datetimesymbolsext",
srcs = ["datetimesymbolsext.js"],
lenient = True,
deps = [":datetimesymbols"],
)

closure_js_library(
name = "datetimepatternsext",
srcs = ["datetimepatternsext.js"],
lenient = True,
deps = [":datetimepatterns"],
)

closure_js_library(
name = "datetimepatterns",
srcs = ["datetimepatterns.js"],
lenient = True,
deps = ["//closure/goog/i18n:datetimepatternstype"],
)
Loading

0 comments on commit 2800dca

Please sign in to comment.