edje: make the generated default program name reproducible over builds
authorStefan Schmidt <stefan@osg.samsung.com>
Tue, 16 May 2017 15:58:36 +0000 (17:58 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 7 Aug 2017 12:35:32 +0000 (14:35 +0200)
commit4d2117ef2a5344d298dfa7768d01feab0cf86558
tree9577a21c1cac481c957ba1c7619d18acd0a6f83d
parent3adf2ebddf0c4668f6a51593cf00f7c2f5c117d1
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
src/bin/edje/edje_cc_handlers.c
src/lib/edje/edje_private.h