DescriptionParametrize names of llc and ld nexes by reading them from the resource info JSON file.
At Chrome build-time, the pnacl_component_crx_gen.py script generates a "resource info" JSON file that's placed alongside the translator nexes. We were not actually reading this file so far, but with this CL, we are. The first use is not hard-coding the ld.nexe and llc.nexe tool names in the plugin code. Instead, the tool names are read from the info file. This will allow us, in the future, to move the tool names into the native client directory so we can change them without touching Chrome at all.
BUG=None
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202002
Patch Set 1 #Patch Set 2 : Tidy up #Patch Set 3 : More cleanups #Patch Set 4 : Refactoring, ready for initial review #Patch Set 5 : Fix Win build #
Total comments: 18
Patch Set 6 : Try fix windows compilation failure #Patch Set 7 : Fixes for Jan's review comments #
Total comments: 2
Patch Set 8 : Tweak comments some more, following Jan's review #Messages
Total messages: 7 (0 generated)
|