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

Issue 2864018: Detect out-of-date saved-structures.h (Closed)

Created:
10 years, 6 months ago by Luigi Semenzato
Modified:
9 years, 7 months ago
Reviewers:
gauravsh
CC:
chromium-os-reviews_chromium.org, gauravsh
Base URL:
ssh://git@chromiumos-git/tpm_lite.git
Visibility:
Public.

Description

With this change, this package will fail to build if saved-structures.h is not synchronized with structures.h. Recall that structures.h is generated during compilation in a Linux environment, which is not available when compiling for firmware. I considered removing saved-structures.h and committing structures.h directly, but if we tested changes by doing an emerge instead of a "local" compilation, the working copy of structures.h would not get updated. This is a safer way of ensuring they stay in sync. (This review used to include a version string generation, but the idea was faulty.)

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M src/tlcl/Makefile View 1 2 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Luigi Semenzato
With this change, running "strings libtlcl.a | grep GITV" yields the (short) revision ID of ...
10 years, 6 months ago (2010-06-23 01:16:39 UTC) #1
Randall Spangler
Interesting. This works nicely if the package is built on Linux, but less well if ...
10 years, 6 months ago (2010-06-23 04:56:31 UTC) #2
Luigi Semenzato
I am going to look at this some more. Some initial thoughts: On 2010/06/23 04:56:31, ...
10 years, 6 months ago (2010-06-23 06:53:51 UTC) #3
Luigi Semenzato
On 2010/06/23 06:53:51, Luigi Semenzato wrote: I reduced the scope of this change and changed ...
10 years, 6 months ago (2010-06-23 15:44:27 UTC) #4
gauravsh
Has this already been pushed? The issue seems to show up as closed on the ...
10 years, 6 months ago (2010-06-23 17:21:52 UTC) #5
gauravsh
10 years, 6 months ago (2010-06-23 18:17:39 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698