summaryrefslogtreecommitdiffstats
path: root/third_party/libphonenumber/README.chromium
blob: 6e6cda59612e224853057606975db770c279cfec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Name: International Phone Number Library
Short Name: libphonenumber
URL: https://github.com/googlei18n/libphonenumber/
Version: unknown
Revision: a9bd368debe74355364965c24bcc5a6bfb1dc546
License: Apache 2.0
License File: LICENSE
Security Critical: yes

This directory contains the source code of International Phone Number Library
for C/C++.

This library depends on
- third_party/icu for internationalisation, UTF8-16-32 conversion and regular
  expressions.
- third_party/protobuf Lite version.

Additional files, not in the original library:
  libphonenumber.gyp
  README.chromium
  LICENSE # Taken from https://github.com/googlei18n/libphonenumber/
  phonenumber_api.h

The library is mapped through the DEPS file into dist/ folder. To update:
1. Get the latest commit hash from
   https://github.com/googlei18n/libphonenumber/
2. Locally update this file and DEPS.
3. run 'gclient sync'
4. Adjust libphonenumber.gyp/BUILD.gn if necessary.
5. Verify that all compiles and all of the tests are successfull.

WARNING: This library is only thread-safe on POSIX. This means that
PhoneNumberUtil and the other singletons should be accessed from a single
thread.