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

Issue 10697079: Upstreaming Cygprofile for Android. (Closed)

Created:
8 years, 5 months ago by felipeg
Modified:
8 years, 1 month ago
CC:
chromium-reviews, brettw-cc_chromium.org, ricebin_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Upstreaming Cygprofile for Android. This Cygprofile is used only by Android and is different from the version in //tools/cygprofile/ . See base/android/third_party/cygprofile_startup/README.chromium for more information. BUG=136985 TEST=

Patch Set 1 #

Total comments: 2

Patch Set 2 : address digit comment #

Total comments: 10

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+707 lines, -6 lines) Patch
M base/base.gyp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M build/common.gypi View 1 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/ppapi_cpp.gypi View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
A tools/cygprofile/LICENSE View 1 2 3 1 chunk +5 lines, -0 lines 1 comment Download
A tools/cygprofile/README View 1 2 3 1 chunk +71 lines, -0 lines 1 comment Download
A tools/cygprofile/README.chromium View 1 2 3 1 chunk +44 lines, -0 lines 3 comments Download
M tools/cygprofile/cygprofile.gyp View 1 2 3 4 2 chunks +24 lines, -4 lines 0 comments Download
A tools/cygprofile/cygprofile_android.h View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
A tools/cygprofile/cygprofile_android.cc View 1 2 3 4 1 chunk +344 lines, -0 lines 0 comments Download
A tools/cygprofile/cygprofile_android_unittest.cc View 1 2 3 4 1 chunk +155 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
felipeg
Ping
8 years, 5 months ago (2012-07-10 10:30:56 UTC) #1
digit1
https://chromiumcodereview.appspot.com/10697079/diff/1/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://chromiumcodereview.appspot.com/10697079/diff/1/chrome/browser/chrome_content_browser_client.cc#newcode1511 chrome/browser/chrome_content_browser_client.cc:1511: #if !defined(OS_ANDROID) Might want to put a comment here, ...
8 years, 5 months ago (2012-07-10 10:42:59 UTC) #2
felipeg
Done. https://chromiumcodereview.appspot.com/10697079/diff/1/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://chromiumcodereview.appspot.com/10697079/diff/1/chrome/browser/chrome_content_browser_client.cc#newcode1511 chrome/browser/chrome_content_browser_client.cc:1511: #if !defined(OS_ANDROID) On 2012/07/10 10:42:59, digit1 wrote: > ...
8 years, 5 months ago (2012-07-10 11:14:53 UTC) #3
Yaron
felipeg: when sending out a patch to multiple owners/reviewers please indicate what you want each ...
8 years, 5 months ago (2012-07-10 15:34:30 UTC) #4
felipeg
On 2012/07/10 15:34:30, Yaron wrote: > felipeg: when sending out a patch to multiple owners/reviewers ...
8 years, 5 months ago (2012-07-10 15:43:09 UTC) #5
felipeg
FYI I am adding Jay and Steve Block as reviewers. Jay can approve for base/android ...
8 years, 5 months ago (2012-07-11 15:58:00 UTC) #6
Steve Block
You need a review by open-source-third-party-reviews@google.com - see http://www.chromium.org/developers/adding-3rd-party-libraries https://chromiumcodereview.appspot.com/10697079/diff/7001/base/android/third_party/cygprofile_startup/LICENSE File base/android/third_party/cygprofile_startup/LICENSE (right): https://chromiumcodereview.appspot.com/10697079/diff/7001/base/android/third_party/cygprofile_startup/LICENSE#newcode2 base/android/third_party/cygprofile_startup/LICENSE:2: ...
8 years, 5 months ago (2012-07-11 16:17:56 UTC) #7
felipeg
https://chromiumcodereview.appspot.com/10697079/diff/7001/base/android/third_party/cygprofile_startup/LICENSE File base/android/third_party/cygprofile_startup/LICENSE (right): https://chromiumcodereview.appspot.com/10697079/diff/7001/base/android/third_party/cygprofile_startup/LICENSE#newcode2 base/android/third_party/cygprofile_startup/LICENSE:2: * cyg-profile.h - Header file for CygProfiler On 2012/07/11 ...
8 years, 5 months ago (2012-07-11 17:10:25 UTC) #8
Daniel Berlin
lgtm
8 years, 5 months ago (2012-07-16 15:13:57 UTC) #9
brettw
Why does this need to be added to base? If Android needs a different version, ...
8 years, 5 months ago (2012-07-16 21:27:35 UTC) #10
felipeg_google
Hi Brett, I agree that it is confusing. But FYI, the current version used in ...
8 years, 5 months ago (2012-07-17 16:09:34 UTC) #11
brettw
This cygprofile you're checking in, is it from the Android tree or is it something ...
8 years, 5 months ago (2012-07-17 17:02:36 UTC) #12
felipeg_google
On Tue, Jul 17, 2012 at 7:02 PM, <brettw@chromium.org> wrote: > This cygprofile you're checking ...
8 years, 5 months ago (2012-07-17 21:04:49 UTC) #13
brettw
I'm still having some problems understanding why we need two copies of this stuff. It ...
8 years, 5 months ago (2012-07-17 23:20:03 UTC) #14
felipeg_google
Hey Brett, I understand your point, let me put this on hold for now. I ...
8 years, 5 months ago (2012-07-18 09:13:25 UTC) #15
felipeg
Hi Brett, I just got another idea for a solution. Instead of creating a new ...
8 years, 5 months ago (2012-07-18 16:36:02 UTC) #16
brettw
That suggestion is better but it still doesn't answer the question of why we need ...
8 years, 5 months ago (2012-07-18 18:07:21 UTC) #17
felipeg_google
I believe we need two copies of that code because of the following reasons: - ...
8 years, 5 months ago (2012-07-18 19:25:13 UTC) #18
felipeg
Ping: Brettw. Thanks, Felipeg On 2012/07/18 19:25:13, felipeg wrote: > I believe we need two ...
8 years, 5 months ago (2012-07-23 13:58:00 UTC) #19
brettw
On Wed, Jul 18, 2012 at 12:25 PM, Felipe Goldstein <felipeg@google.com>wrote: > I believe we ...
8 years, 5 months ago (2012-07-23 21:08:53 UTC) #20
felipeg_google
On Mon, Jul 23, 2012 at 11:08 PM, Brett Wilson <brettw@chromium.org> wrote: > On Wed, ...
8 years, 5 months ago (2012-07-26 15:53:46 UTC) #21
brettw
Whatever is more convenient for you is fine here. Brett
8 years, 5 months ago (2012-07-26 17:25:04 UTC) #22
brettw
BTW thanks for working on this. Brett
8 years, 5 months ago (2012-07-26 17:25:16 UTC) #23
digit1
Now that I'm back from vacation, I'll try to answer brett's question about why this ...
8 years, 4 months ago (2012-07-30 11:50:50 UTC) #24
brettw
Both the Linux & Android implementations are ~350 lines. If somebody came to me and ...
8 years, 4 months ago (2012-07-31 21:09:04 UTC) #25
digit1
On 2012/07/31 21:09:04, brettw wrote: > Both the Linux & Android implementations are ~350 lines. ...
8 years, 4 months ago (2012-08-02 10:52:17 UTC) #26
brettw
Felipe said it was forked which gave me that impression. Perhaps he was misinformed, or ...
8 years, 4 months ago (2012-08-02 18:23:42 UTC) #27
Steve Block
8 years, 4 months ago (2012-08-03 16:53:22 UTC) #28
https://chromiumcodereview.appspot.com/10697079/diff/25002/tools/cygprofile/L...
File tools/cygprofile/LICENSE (right):

https://chromiumcodereview.appspot.com/10697079/diff/25002/tools/cygprofile/L...
tools/cygprofile/LICENSE:5: See cygprofile_android.cc for details on usage.
This shouldn't be part of the license file.

https://chromiumcodereview.appspot.com/10697079/diff/25002/tools/cygprofile/R...
File tools/cygprofile/README (right):

https://chromiumcodereview.appspot.com/10697079/diff/25002/tools/cygprofile/R...
tools/cygprofile/README:1: CygProfiler suite
Is this file taken from upstream Cygprofile? If not, you could merge it with
README.chromium. Also, does it apply to both Android and 'regular' versions?

https://chromiumcodereview.appspot.com/10697079/diff/25002/tools/cygprofile/R...
File tools/cygprofile/README.chromium (right):

https://chromiumcodereview.appspot.com/10697079/diff/25002/tools/cygprofile/R...
tools/cygprofile/README.chromium:9: Security Critical: No
Thanks for providing this metadata. Please add this directory to
ADDITIONAL_PATHS in tools/licenses.py to make sure it stays correct (see the
output of 'tools/licenses.py scan'.)

https://chromiumcodereview.appspot.com/10697079/diff/25002/tools/cygprofile/R...
tools/cygprofile/README.chromium:15: Local Modifications:
Do these apply to the Android or 'regular' versions?

https://chromiumcodereview.appspot.com/10697079/diff/25002/tools/cygprofile/R...
tools/cygprofile/README.chromium:42: 07/18/2012: Renaming and moving
//base/android/third_party/cygprofile_startup to
This history of file locations etc refers to the downstream Android tree, right?
I think this will be very confusing to a future Chromium developer, as they
won't be able to see any of this history. It's OK to describe the Android
history in the CL comments, but I think that for the purposes of this README, we
should consider the origin of the Android code to be this CL.

Powered by Google App Engine
This is Rietveld 408576698