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

Issue 14973005: Generate and use LASTCHANGE for blink (Closed)

Created:
7 years, 7 months ago by mnaganov (inactive)
Modified:
7 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, Torne
Visibility:
Public.

Description

Generate and use LASTCHANGE for blink The main reason for making this change is the fact that when pulling Chromium and Blink code into Android, we have to make automatic changes to the repository (for example, for generating *.mk files), and the Blink commit we have as HEAD doesn't match any public commit in the main Blink repo. While via the LASTCHANGE file we could report a publicly visible revision. Also, the way webkit_version.h header is generated now appears to be silly. First, it doesn't leverage enough existing tools. Second, as it is noted in webkit_user_agent.gypi, it is broken for incremental builds. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203387

Patch Set 1 #

Patch Set 2 : Added missing webkit/build/webkit_version.h.in #

Patch Set 3 : Rebased #

Patch Set 4 : Rebased #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -82 lines) Patch
M .gitignore View 1 chunk +1 line, -1 line 0 comments Download
M DEPS View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M build/util/lastchange.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/export_tarball/export_tarball.py View 1 2 3 1 chunk +7 lines, -1 line 1 comment Download
D webkit/build/webkit_version.py View 1 chunk +0 lines, -72 lines 0 comments Download
A webkit/build/webkit_version.h.in View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M webkit/common/user_agent/webkit_user_agent.gypi View 1 2 1 chunk +11 lines, -7 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
mnaganov (inactive)
Hi Tony, What do you think about this idea? The main reason I'm doing this ...
7 years, 7 months ago (2013-05-16 18:32:05 UTC) #1
mnaganov (inactive)
Tony, ping!
7 years, 7 months ago (2013-05-20 08:38:08 UTC) #2
mnaganov (inactive)
I didn't know Tony is on a leave. Michael, can you please take a look ...
7 years, 7 months ago (2013-05-21 17:53:21 UTC) #3
michaeln
On 2013/05/21 17:53:21, Mikhail Naganov (Chromium) wrote: > I didn't know Tony is on a ...
7 years, 7 months ago (2013-05-21 20:39:32 UTC) #4
michaeln
So sorry, but I really don't know what i'm looking at here (either the desired ...
7 years, 7 months ago (2013-05-21 21:55:10 UTC) #5
mnaganov (inactive)
Hello, Adam! Can you please take a look? I know you are not an owner, ...
7 years, 7 months ago (2013-05-22 08:19:26 UTC) #6
abarth-chromium
Looks reasonable to me, but I don't know much about this stuff.
7 years, 7 months ago (2013-05-22 15:53:49 UTC) #7
mnaganov (inactive)
Darin, can you please give your opinion? It seems hard to find a person who ...
7 years, 7 months ago (2013-05-22 16:10:51 UTC) #8
mnaganov (inactive)
Darin, can you please take a look?
7 years, 7 months ago (2013-05-24 08:35:23 UTC) #9
darin (slow to review)
Sorry, I'm not the right guy to review this kind of change. I defer to ...
7 years, 7 months ago (2013-05-24 21:59:07 UTC) #10
mnaganov (inactive)
Hi Dirk, can you please take a look?
7 years, 6 months ago (2013-05-29 12:09:57 UTC) #11
Dirk Pranke
On 2013/05/29 12:09:57, Mikhail Naganov (Chromium) wrote: > Hi Dirk, can you please take a ...
7 years, 6 months ago (2013-05-29 19:23:22 UTC) #12
mnaganov (inactive)
On 2013/05/29 19:23:22, Dirk Pranke wrote: > On 2013/05/29 12:09:57, Mikhail Naganov (Chromium) wrote: > ...
7 years, 6 months ago (2013-05-29 20:08:39 UTC) #13
mnaganov (inactive)
On 2013/05/29 20:08:39, Mikhail Naganov (Chromium) wrote: > On 2013/05/29 19:23:22, Dirk Pranke wrote: > ...
7 years, 6 months ago (2013-05-30 20:11:03 UTC) #14
Dirk Pranke
James, wanna do an owners rubber-stamp for this?
7 years, 6 months ago (2013-05-30 22:17:59 UTC) #15
jamesr
sure! lgtm
7 years, 6 months ago (2013-05-30 22:23:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/14973005/34001
7 years, 6 months ago (2013-05-31 08:14:16 UTC) #17
mnaganov (inactive)
On 2013/05/30 22:23:21, jamesr wrote: > sure! lgtm Thanks, James!
7 years, 6 months ago (2013-05-31 08:41:32 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-05-31 08:58:17 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/14973005/34001
7 years, 6 months ago (2013-05-31 09:07:24 UTC) #20
commit-bot: I haz the power
Change committed as 203387
7 years, 6 months ago (2013-05-31 10:53:40 UTC) #21
Paweł Hajdan Jr.
https://chromiumcodereview.appspot.com/14973005/diff/34001/tools/export_tarball/export_tarball.py File tools/export_tarball/export_tarball.py (right): https://chromiumcodereview.appspot.com/14973005/diff/34001/tools/export_tarball/export_tarball.py#newcode143 tools/export_tarball/export_tarball.py:143: 'src/third_party/WebKit', '-o', Note: this broke the script (could be ...
7 years, 6 months ago (2013-06-14 20:43:59 UTC) #22
mnaganov (inactive)
7 years, 6 months ago (2013-06-14 20:52:57 UTC) #23
Sorry for that. I though, I ran the script. Perhaps, got distracted
and skipped it. Thanks for fixing!

On Fri, Jun 14, 2013 at 9:44 PM,  <phajdan.jr@chromium.org> wrote:
>
>
https://chromiumcodereview.appspot.com/14973005/diff/34001/tools/export_tarba...
> File tools/export_tarball/export_tarball.py (right):
>
>
https://chromiumcodereview.appspot.com/14973005/diff/34001/tools/export_tarba...
> tools/export_tarball/export_tarball.py:143: 'src/third_party/WebKit',
> '-o',
> Note: this broke the script (could be easily detected by running it:
>
> $ tools/export_tarball/export_tarball.py foo
> Traceback (most recent call last):
>   File "build/util/lastchange.py", line 236, in <module>
>     sys.exit(main())
>   File "build/util/lastchange.py", line 228, in main
>     WriteIfChanged(out_file, contents)
>   File "build/util/lastchange.py", line 185, in WriteIfChanged
>     open(file_name, 'w').write(contents)
> IOError: [Errno 2] No such file or directory:
> 'src/build/util/LASTCHANGE.blink'
> Could not run build/util/lastchange.py to update LASTCHANGE.blink.
>
> I have a CL to fix it, https://codereview.chromium.org/17105005 . This
> is just feedback to avoid similar mistakes in the future. Thanks!
>
> https://chromiumcodereview.appspot.com/14973005/

Powered by Google App Engine
This is Rietveld 408576698