You probably want 'actions' - these run at compile time. You can find examples of these all over our tree.
Mark Mike Mammarella wrote: > > Hi all, > > I'm trying to add a file which needs to be processed autoconf-style at > "compile" time. It's a script with things like @@FOO@@ that are values > known at the time gyp runs, but which should actually be substituted > during the compile when the .in version of the script is processed and > written to the output directory. (This is only for the Linux port.) > > It looks like the !() feature will only run a command when gyp runs, > not when the build system later runs, so using that would mean that > changes to the .in file would not be taken up unless gyp is rerun. For > files that don't need this processing, I could use the "copies" > facility in gyp, but I can't figure out how to tell it to process the > file (e.g. with sed -e 's/@@FOO@@/<(FOO)/g' or something) when the > build system runs. > > Anyone know how to do this? > > Thanks, > > --Mike > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
