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

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: addressed comments 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
« no previous file with comments | « testing/buildbot/gn_isolate_map.pyl ('k') | third_party/libphonenumber/libphonenumber.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libphonenumber/BUILD.gn
diff --git a/third_party/libphonenumber/BUILD.gn b/third_party/libphonenumber/BUILD.gn
index 0e979c0e74a647422fd924e095c6236f7fe87ccc..de30e815d6e48d91272c71c5c5cf54f19fbe3f75 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,15 +103,21 @@ 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" ]
include_dirs = [ "dist/cpp/test" ]
+ data = [
+ "dist/resources/test/",
+ ]
+
deps = [
":libphonenumber_without_metadata",
"//base",
« no previous file with comments | « testing/buildbot/gn_isolate_map.pyl ('k') | third_party/libphonenumber/libphonenumber.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698