Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
I wonder if the DEPS file supports conditionals. If so, we could check the
operating system version and then call cef_create_projects.bat on Windows and
cef_create_projects.sh on Mac/Linux.
Original comment by magreenb...@gmail.com
on 26 Jan 2011 at 3:19
I looked in gclient.py and could not find any evidence of allowing a hooks
configuration in the os_deps section.
One nice advantage of this Python approach is that you can use it to replace
the cef_create_projects.bat and cef_create_projects.sh since it now works on
any platform.
Original comment by gusver...@gmail.com
on 26 Jan 2011 at 7:37
OK, you convinced me :-). I changed the cef_create_projects scripts to call the
new python script. I also changed the python script from your original
implementation.
- Move the script to the /tools directory.
- Remove the Windows-specific parts (among other things, it's probably not safe
to make assumptions about the python.exe location).
- Start by assuming that gclient_tools is already in the import path then fall
back to searching for the depot_tools directory.
- Various style-related changes.
Committed as revision 171.
Original comment by magreenb...@gmail.com
on 27 Jan 2011 at 2:39
Original issue reported on code.google.com by
gusver...@gmail.com
on 25 Jan 2011 at 10:40Attachments: