 Chromium Code Reviews
 Chromium Code Reviews Issue 
            1903553004:
    Subzero: Allow overriding command-line args from the browser.  (Closed)
    
  
    Issue 
            1903553004:
    Subzero: Allow overriding command-line args from the browser.  (Closed) 
  | DescriptionSubzero: Allow overriding command-line args from the browser.
In the browser build only, allows arguments to be explicitly passed to pnacl-sz, in two ways:
1. The SZARGFILE envvar contains the name of a file with arguments, one per line.  For each line, initial whitespace is ignored, and lines starting with the '#' comment character are also ignored.
2. The SZARGLIST envvar contains all the arguments, separated by the '|' character.
Chrome needs to be started with special options to allow the envvars to be passed through, and also to allow access to the local file system.
In addition, specifying "-log=/dev/stderr" or "-o /dev/stderr" gets mapped to std::cerr, in the same way "-" gets mapped to std::cout.
BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4370
R=jpp@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=fd07ad08190cbb7c9818e79fab9059eb3ed329d7
   Patch Set 1 #Patch Set 2 : Allow -threads to be overridden #Patch Set 3 : Cleanup #
      Total comments: 4
      
     Patch Set 4 : Const cleanup #Patch Set 5 : Fix /dev/stderr for browser build. Ignore lines starting with # . #
      Total comments: 6
      
     Patch Set 6 : Code review changes #
 Messages
    Total messages: 13 (6 generated)
     | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||