mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Move to GYP-based project file generation (issue #48).
- Add cef_create_projects.bat to generate the CEF project files. - Change include paths to be relative to the root CEF directory. - Add patch_build configuration and build.patch to modify the Chromium build system for required CEF dependencies. - Remove old .vcproj and .vsprops files. - Eliminate use of precompiled headers. - Commit generated project files (these will go away in the near future). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@50 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -290,24 +290,24 @@ def format_translation_includes(body):
|
||||
""" Return the necessary list of includes based on the contents of the
|
||||
body.
|
||||
"""
|
||||
result = '#include "../precompiled_libcef.h"\n'
|
||||
result = ''
|
||||
|
||||
# identify what CppToC classes are being used
|
||||
p = re.compile('([A-Za-z0-9_]{1,})CppToC')
|
||||
list = sorted(set(p.findall(body)))
|
||||
for item in list:
|
||||
result += '#include "cpptoc/'+ \
|
||||
result += '#include "libcef_dll/cpptoc/'+ \
|
||||
get_capi_name(item[3:], False)+'_cpptoc.h"\n'
|
||||
|
||||
# identify what CToCpp classes are being used
|
||||
p = re.compile('([A-Za-z0-9_]{1,})CToCpp')
|
||||
list = sorted(set(p.findall(body)))
|
||||
for item in list:
|
||||
result += '#include "ctocpp/'+ \
|
||||
result += '#include "libcef_dll/ctocpp/'+ \
|
||||
get_capi_name(item[3:], False)+'_ctocpp.h"\n'
|
||||
|
||||
if body.find('transfer_') > 0:
|
||||
result += '#include "../transfer_util.h"\n'
|
||||
result += '#include "libcef_dll/transfer_util.h"\n'
|
||||
|
||||
return result
|
||||
|
||||
|
Reference in New Issue
Block a user