diff options
Diffstat (limited to 'third_party/libphonenumber/BUILD.gn')
-rw-r--r-- | third_party/libphonenumber/BUILD.gn | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/third_party/libphonenumber/BUILD.gn b/third_party/libphonenumber/BUILD.gn index b72c2ad..0e979c0 100644 --- a/third_party/libphonenumber/BUILD.gn +++ b/third_party/libphonenumber/BUILD.gn @@ -7,15 +7,15 @@ import("//third_party/protobuf/proto_library.gni") proto_library("proto") { sources = [ - "src/resources/phonemetadata.proto", - "src/resources/phonenumber.proto", + "dist/resources/phonemetadata.proto", + "dist/resources/phonenumber.proto", ] proto_out_dir = "third_party/libphonenumber/phonenumbers" } config("libphonenumber_config") { include_dirs = [ - "src", + "dist/cpp/src", "$root_gen_dir/third_party/libphonenumber", ] defines = [ "I18N_PHONENUMBERS_USE_ICU_REGEXP=1" ] @@ -36,22 +36,22 @@ config("libphonenumber_config_internal") { # GYP version: third_party/libphonenumber/libphonenumber.gyp:libphonenumber_without_metadata static_library("libphonenumber_without_metadata") { sources = [ - "src/phonenumbers/asyoutypeformatter.cc", - "src/phonenumbers/base/strings/string_piece.cc", - "src/phonenumbers/default_logger.cc", - "src/phonenumbers/logger.cc", - "src/phonenumbers/phonenumber.cc", - "src/phonenumbers/phonenumbermatch.cc", - "src/phonenumbers/phonenumbermatcher.cc", - "src/phonenumbers/phonenumberutil.cc", - "src/phonenumbers/regexp_adapter_icu.cc", - "src/phonenumbers/regexp_cache.cc", - "src/phonenumbers/string_byte_sink.cc", - "src/phonenumbers/stringutil.cc", - "src/phonenumbers/unicodestring.cc", - "src/phonenumbers/utf/rune.c", - "src/phonenumbers/utf/unicodetext.cc", - "src/phonenumbers/utf/unilib.cc", + "dist/cpp/src/phonenumbers/asyoutypeformatter.cc", + "dist/cpp/src/phonenumbers/base/strings/string_piece.cc", + "dist/cpp/src/phonenumbers/default_logger.cc", + "dist/cpp/src/phonenumbers/logger.cc", + "dist/cpp/src/phonenumbers/phonenumber.cc", + "dist/cpp/src/phonenumbers/phonenumbermatch.cc", + "dist/cpp/src/phonenumbers/phonenumbermatcher.cc", + "dist/cpp/src/phonenumbers/phonenumberutil.cc", + "dist/cpp/src/phonenumbers/regexp_adapter_icu.cc", + "dist/cpp/src/phonenumbers/regexp_cache.cc", + "dist/cpp/src/phonenumbers/string_byte_sink.cc", + "dist/cpp/src/phonenumbers/stringutil.cc", + "dist/cpp/src/phonenumbers/unicodestring.cc", + "dist/cpp/src/phonenumbers/utf/rune.c", + "dist/cpp/src/phonenumbers/utf/unicodetext.cc", + "dist/cpp/src/phonenumbers/utf/unilib.cc", ] # libphonenumber's base/logging.h is a minimal implementation where DCHECKs @@ -81,8 +81,8 @@ static_library("libphonenumber") { sources = [ # Comment next line and uncomment the line after, if complete metadata # (with examples) is needed. - "src/phonenumbers/lite_metadata.cc", - #"src/phonenumbers/metadata.cc", + "dist/cpp/src/phonenumbers/lite_metadata.cc", + #"dist/cpp/src/phonenumbers/metadata.cc", ] public_deps = [ @@ -93,20 +93,20 @@ static_library("libphonenumber") { # GYP version: third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests test("libphonenumber_unittests") { sources = [ - "src/phonenumbers/test_metadata.cc", - "src/test/phonenumbers/asyoutypeformatter_test.cc", - "src/test/phonenumbers/phonenumbermatch_test.cc", - "src/test/phonenumbers/phonenumbermatcher_test.cc", - "src/test/phonenumbers/phonenumberutil_test.cc", - "src/test/phonenumbers/regexp_adapter_test.cc", - "src/test/phonenumbers/stringutil_test.cc", - "src/test/phonenumbers/test_util.cc", - "src/test/phonenumbers/unicodestring_test.cc", + "dist/cpp/src/phonenumbers/test_metadata.cc", + "dist/cpp/test/phonenumbers/asyoutypeformatter_test.cc", + "dist/cpp/test/phonenumbers/phonenumbermatch_test.cc", + "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/stringutil_test.cc", + "dist/cpp/test/phonenumbers/test_util.cc", + "dist/cpp/test/phonenumbers/unicodestring_test.cc", ] configs += [ ":libphonenumber_config_internal" ] - include_dirs = [ "src/test" ] + include_dirs = [ "dist/cpp/test" ] deps = [ ":libphonenumber_without_metadata", |