Commit 268b3fdf authored by noelallen@google.com's avatar noelallen@google.com

Add debugging options

We are missing some debugging flags in the make which prevents us from getting
debugging info in the SDK.

This CL only affects the SDK (specifically SDK examples and user libs) and not Chrome.

BUG=141227
R=binji@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10832208

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150840 0039d316-1c4b-4281-b951-d872f2087c98
parent 82726799
...@@ -65,7 +65,7 @@ SO_CC_RULES = { ...@@ -65,7 +65,7 @@ SO_CC_RULES = {
} }
WIN_CC_RULES = { WIN_CC_RULES = {
'Debug': '<TAB>$(<CC>) /Od /Fo$@ /MTd /c $< -DTCNAME=host $(WIN_CCFLAGS) <DEFLIST> <INCLIST>', 'Debug': '<TAB>$(<CC>) /Od /Fo$@ /MTd /Zi /c $< -DTCNAME=host $(WIN_CCFLAGS) <DEFLIST> <INCLIST>',
'Release': '<TAB>$(<CC>) /O2 /Fo$@ /MT /c $< -DTCNAME=host $(WIN_CCFLAGS) <DEFLIST> <INCLIST>' 'Release': '<TAB>$(<CC>) /O2 /Fo$@ /MT /c $< -DTCNAME=host $(WIN_CCFLAGS) <DEFLIST> <INCLIST>'
} }
...@@ -98,7 +98,7 @@ PEXE_LINK_RULES = { ...@@ -98,7 +98,7 @@ PEXE_LINK_RULES = {
} }
WIN_LINK_RULES = { WIN_LINK_RULES = {
'Debug': '<TAB>$(<LINK>) /DLL /OUT:$@ $(<PROJ>_LDFLAGS) /LIBPATH:$(NACL_SDK_ROOT)/lib/win_x86_32_host/Debug $^ <LIBLIST> $(WIN_LDFLAGS)', 'Debug': '<TAB>$(<LINK>) /DLL /OUT:$@ /PDG:$@.pdb /Zi $(<PROJ>_LDFLAGS) /DEBUG /LIBPATH:$(NACL_SDK_ROOT)/lib/win_x86_32_host/Debug $^ <LIBLIST> $(WIN_LDFLAGS)',
'Release': '<TAB>$(<LINK>) /DLL /OUT:$@ $(<PROJ>_LDFLAGS) /LIBPATH:$(NACL_SDK_ROOT)/lib/win_x86_32_host/Release $^ <LIBLIST> $(WIN_LDFLAGS)' 'Release': '<TAB>$(<LINK>) /DLL /OUT:$@ $(<PROJ>_LDFLAGS) /LIBPATH:$(NACL_SDK_ROOT)/lib/win_x86_32_host/Release $^ <LIBLIST> $(WIN_LDFLAGS)'
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment