Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1894)

Issue 8859052: CPP: Make libphonenumber depend on its own base/ when it's used in Chromium. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by pliard1
Modified:
11 years ago
Reviewers:
tfarina1, Shaopeng
CC:
lararennie, tfarina1
Base URL:
https://libphonenumber.googlecode.com/svn/trunk
Visibility:
Public.

Description

CPP: Make libphonenumber depend on its own base/ when it's used in Chromium. This is done by adding a USE_BOOST compile time flag that is enabled by default when the library is compiled with CMake (mainly for external users). In Chromium, the library will be built without the USE_BOOST compile time flag. Instead the NO_THREAD_SAFETY flag will have to be provided so that the minimal non-thread-safe subset of base will be used. This is possible since libphonenumber is only used from the UI thread in Chromium. BUG=http://crbug.com/236272 R=jia.shao.peng@gmail.com Committed: https://code.google.com/p/libphonenumber/source/detail?r=568

Patch Set 1 #

Patch Set 2 : Update README #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+652 lines, -40 lines) Patch
M cpp/CMakeLists.txt View 2 chunks +16 lines, -8 lines 0 comments Download
M cpp/README View 1 3 chunks +7 lines, -1 line 0 comments Download
M cpp/src/phonenumbers/base/basictypes.h View 5 chunks +12 lines, -2 lines 1 comment Download
M cpp/src/phonenumbers/base/logging.h View 1 chunk +10 lines, -6 lines 0 comments Download
M cpp/src/phonenumbers/base/memory/scoped_ptr.h View 1 chunk +445 lines, -15 lines 0 comments Download
M cpp/src/phonenumbers/base/memory/singleton.h View 2 chunks +27 lines, -0 lines 0 comments Download
M cpp/src/phonenumbers/base/synchronization/lock.h View 2 chunks +17 lines, -0 lines 0 comments Download
A cpp/src/phonenumbers/base/template_util.h View 1 chunk +106 lines, -0 lines 0 comments Download
A + cpp/src/phonenumbers/base/thread_safety_check.h View 2 chunks +12 lines, -8 lines 0 comments Download

Messages

Total messages: 8
pliard1
11 years ago (2013-04-29 16:21:55 UTC) #1
Shaopeng
LGTM. Could you double check the README is still up-to-date with your changes today? Thanks, ...
11 years ago (2013-04-29 16:32:19 UTC) #2
pliard1
On 2013/04/29 16:32:19, Shaopeng wrote: > LGTM. > > Could you double check the README ...
11 years ago (2013-04-29 16:42:41 UTC) #3
Shaopeng
Thanks Philippe! Still LGTM. On 2013/04/29 16:42:41, pliard1 wrote: > On 2013/04/29 16:32:19, Shaopeng wrote: ...
11 years ago (2013-04-30 07:52:46 UTC) #4
pliard1
On 2013/04/30 07:52:46, Shaopeng wrote: > Thanks Philippe! Still LGTM. > > On 2013/04/29 16:42:41, ...
11 years ago (2013-04-30 07:56:33 UTC) #5
pliard1
On 2013/04/30 07:56:33, pliard1 wrote: > On 2013/04/30 07:52:46, Shaopeng wrote: > > Thanks Philippe! ...
11 years ago (2013-04-30 11:44:14 UTC) #6
pliard1
Committed patchset #2 manually as r568 (presubmit successful).
11 years ago (2013-04-30 12:08:13 UTC) #7
tfarina1
11 years ago (2013-04-30 16:40:55 UTC) #8
Message was sent while issue was closed.
Thanks for doing this Philipe!

https://codereview.appspot.com/8859052/diff/2003/cpp/src/phonenumbers/base/ba...
File cpp/src/phonenumbers/base/basictypes.h (right):

https://codereview.appspot.com/8859052/diff/2003/cpp/src/phonenumbers/base/ba...
cpp/src/phonenumbers/base/basictypes.h:109: #define
DISALLOW_EVIL_CONSTRUCTORS(TypeName) DISALLOW_COPY_AND_ASSIGN(TypeName)
do you use this macro in libphonenumber? If not, can we remove it?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b