Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Side by Side Diff: native_client_sdk/src/build_tools/nacl.gypi

Issue 1655873003: [NaCl SDK] Cleanup references to old newlib toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_pepper_50
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 # gyp only supports two toolchains: host and target.
3 # In order to get around this limitation we use a compiler
4 # wrapper than will then invoke either the glibc or the newlib
5 # compiler.
6 'make_global_settings': [
7 ['CC.target' , '../../toolchain/linux_x86/bin/i686-nacl-gcc'],
8 ['CXX.target' , '../../toolchain/linux_x86/bin/i686-nacl-g++'],
9 ['LINK.target' , '../../toolchain/linux_x86/bin/i686-nacl-g++'],
10 ['AR.target' , '../../toolchain/linux_x86/bin/i686-nacl-ar'],
11 ],
12
13 'variables': {
14 'EXECUTABLE_SUFFIX': '.nexe',
15 'TOOLROOT': '../../toolchain',
16 'OBJDUMP': '<(TOOLROOT)/linux_x86_glibc/bin/i686-nacl-objdump',
17 'NMF_PATH1': '<(TOOLROOT)/linux_x86_glibc/x86_64-nacl/lib32',
18 'NMF_PATH2': '<(TOOLROOT)/linux_x86_glibc/x86_64-nacl/lib',
19 },
20
21 'target_defaults': {
22 'link_settings': { 'ldflags': ['-Wl,-as-needed'] },
23 'libraries' : ['-lppapi', '-lppapi_cpp'],
24 'ldflags': ['-pthread'],
25 'cflags': ['-pthread', '-Wno-long-long', '-Wall', '-Wswitch-enum', '-Werror' ],
26 },
27 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/dsc2gyp.py ('k') | native_client_sdk/src/build_tools/parse_dsc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698