Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: third_party/libphonenumber/BUILD.gn

Issue 1759723002: [libphonenumber] Run tests on swarming (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix included files Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libphonenumber/BUILD.gn
diff --git a/third_party/libphonenumber/BUILD.gn b/third_party/libphonenumber/BUILD.gn
index 0e979c0e74a647422fd924e095c6236f7fe87ccc..62ce0173ccda624dcdc80e40a3c53e5e7f987bc2 100644
--- a/third_party/libphonenumber/BUILD.gn
+++ b/third_party/libphonenumber/BUILD.gn
@@ -18,7 +18,10 @@ config("libphonenumber_config") {
"dist/cpp/src",
"$root_gen_dir/third_party/libphonenumber",
]
- defines = [ "I18N_PHONENUMBERS_USE_ICU_REGEXP=1" ]
+ defines = [
+ "I18N_PHONENUMBERS_USE_ALTERNATE_FORMATS=1",
+ "I18N_PHONENUMBERS_USE_ICU_REGEXP=1",
+ ]
if (!is_android) {
defines += [ "I18N_PHONENUMBERS_NO_THREAD_SAFETY=1" ]
}
@@ -36,6 +39,7 @@ config("libphonenumber_config_internal") {
# GYP version: third_party/libphonenumber/libphonenumber.gyp:libphonenumber_without_metadata
static_library("libphonenumber_without_metadata") {
sources = [
+ "dist/cpp/src/phonenumbers/alternate_format.cc",
"dist/cpp/src/phonenumbers/asyoutypeformatter.cc",
"dist/cpp/src/phonenumbers/base/strings/string_piece.cc",
"dist/cpp/src/phonenumbers/default_logger.cc",
@@ -99,9 +103,11 @@ test("libphonenumber_unittests") {
"dist/cpp/test/phonenumbers/phonenumbermatcher_test.cc",
"dist/cpp/test/phonenumbers/phonenumberutil_test.cc",
"dist/cpp/test/phonenumbers/regexp_adapter_test.cc",
+ "dist/cpp/test/phonenumbers/regexp_cache_test.cc",
"dist/cpp/test/phonenumbers/stringutil_test.cc",
"dist/cpp/test/phonenumbers/test_util.cc",
"dist/cpp/test/phonenumbers/unicodestring_test.cc",
+ "dist/cpp/test/phonenumbers/utf/unicodetext_test.cc",
]
configs += [ ":libphonenumber_config_internal" ]

Powered by Google App Engine
This is Rietveld 408576698