Commit cddda4b3 authored by agrieve's avatar agrieve Committed by Commit bot

Move repack_pseudo_locales //chrome -> //chrome/test

According to https://www.chromium.org/developers/testing/fake-bidi, it
is no longer usable via --locale_pak, and so is used only by the
(disabled) test bidi_checker_web_ui_test.cc.

BUG=645716

Review-Url: https://codereview.chromium.org/2339513002
Cr-Commit-Position: refs/heads/master@{#418889}
parent 2465b1d8
...@@ -1364,7 +1364,6 @@ group("packed_resources") { ...@@ -1364,7 +1364,6 @@ group("packed_resources") {
public_deps = [ public_deps = [
":repack_chrome_100_percent", ":repack_chrome_100_percent",
":repack_locales_pack", ":repack_locales_pack",
":repack_pseudo_locales_pack",
] ]
if (is_chrome_branded && !is_mac && !is_android) { if (is_chrome_branded && !is_mac && !is_android) {
...@@ -1490,25 +1489,6 @@ chrome_repack_locales("repack_locales_pack") { ...@@ -1490,25 +1489,6 @@ chrome_repack_locales("repack_locales_pack") {
} }
} }
chrome_repack_locales("repack_pseudo_locales_pack") {
visibility = [ ":*" ]
input_locales = [ "fake-bidi" ]
if (is_mac) {
output_locales = [ "fake_bidi" ] # Mac uses underscores.
} else {
output_locales = [ "fake-bidi" ]
}
if (enable_resource_whitelist_generation) {
repack_whitelist = android_resource_whitelist
deps = [
":resource_whitelist",
]
}
}
# Generates a rule to repack a set of resources, substituting a given string # Generates a rule to repack a set of resources, substituting a given string
# in for the percentage (e.g. "100", "200"). It generates the repacked files in # in for the percentage (e.g. "100", "200"). It generates the repacked files in
# the "gen" directory, and then introduces a copy rule to copy it to the root # the "gen" directory, and then introduces a copy rule to copy it to the root
......
...@@ -8,6 +8,7 @@ import("//build/config/crypto.gni") ...@@ -8,6 +8,7 @@ import("//build/config/crypto.gni")
import("//build/config/features.gni") import("//build/config/features.gni")
import("//build/config/ui.gni") import("//build/config/ui.gni")
import("//chrome/common/features.gni") import("//chrome/common/features.gni")
import("//chrome/chrome_repack_locales.gni")
import("//chrome/test/base/js2gtest.gni") import("//chrome/test/base/js2gtest.gni")
import("//components/os_crypt/features.gni") import("//components/os_crypt/features.gni")
import("//services/shell/public/service_manifest.gni") import("//services/shell/public/service_manifest.gni")
...@@ -1191,6 +1192,19 @@ static_library("browser_tests_runner") { ...@@ -1191,6 +1192,19 @@ static_library("browser_tests_runner") {
} }
} }
# Used only by chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
chrome_repack_locales("repack_pseudo_locales") {
visibility = [ ":*" ]
input_locales = [ "fake-bidi" ]
if (is_mac) {
output_locales = [ "fake_bidi" ] # Mac uses underscores.
} else {
output_locales = [ "fake-bidi" ]
}
}
test("browser_tests") { test("browser_tests") {
sources = [ sources = [
# TODO(jbudorick): Move tests here from other lists as Android support is # TODO(jbudorick): Move tests here from other lists as Android support is
...@@ -1204,6 +1218,7 @@ test("browser_tests") { ...@@ -1204,6 +1218,7 @@ test("browser_tests") {
deps = [ deps = [
":browser_tests_runner", ":browser_tests_runner",
":repack_pseudo_locales",
":test_support", ":test_support",
"//base", "//base",
"//components/sync:test_support_sync_api", "//components/sync:test_support_sync_api",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment