diff options
author | Stefan Schmidt <stefan@osg.samsung.com> | 2017-05-16 17:58:36 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2017-08-07 14:35:32 +0200 |
commit | 4d2117ef2a5344d298dfa7768d01feab0cf86558 (patch) | |
tree | 9577a21c1cac481c957ba1c7619d18acd0a6f83d /src/lib | |
parent | 3adf2ebddf0c4668f6a51593cf00f7c2f5c117d1 (diff) |
edje: make the generated default program name reproducible over builds
For programs without specific names edje_cc generated default names in
the form of program_$MEMORY_ADDRESS. That worked well enough for keeping
the names unique, but it causes problems if one wants to have these files
being binary reproducible due to different memory layouts, compilers,
etc. Simply using a counter as unique part should work well enough for
our use case and help people who want to verify builds.
Thanks a lot to Bernhard M. Wiedemann for review and testing.
Fixes T5113
Ref T5495
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/edje/edje_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edje/edje_private.h b/src/lib/edje/edje_private.h index a4a334ccc0..3c9916a35d 100644 --- a/src/lib/edje/edje_private.h +++ b/src/lib/edje/edje_private.h | |||
@@ -1096,6 +1096,7 @@ struct _Edje_Part_Collection | |||
1096 | unsigned int strncmp_count; | 1096 | unsigned int strncmp_count; |
1097 | unsigned int strrncmp_count; | 1097 | unsigned int strrncmp_count; |
1098 | unsigned int nocmp_count; | 1098 | unsigned int nocmp_count; |
1099 | unsigned int total_count; | ||
1099 | } programs; | 1100 | } programs; |
1100 | 1101 | ||
1101 | struct { /* list of limit that need to be monitored */ | 1102 | struct { /* list of limit that need to be monitored */ |