| Index: common.gypi
|
| ===================================================================
|
| --- common.gypi (revision 143348)
|
| +++ common.gypi (working copy)
|
| @@ -810,12 +810,14 @@
|
| 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))',
|
|
|
| 'conditions': [
|
| + ['os_posix==1 and OS!="mac" and OS!="android"', {
|
| + # Figure out the python architecture to decide if we build pyauto.
|
| + 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<(system_libdir)/libpython<(python_ver).so.1.0)',
|
| + }],
|
| ['os_posix==1 and OS!="mac"', {
|
| # This will set gcc_version to XY if you are running gcc X.Y.*.
|
| # This is used to tweak build flags for gcc 4.4.
|
| 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
|
| - # Figure out the python architecture to decide if we build pyauto.
|
| - 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<(system_libdir)/libpython<(python_ver).so.1.0)',
|
| 'conditions': [
|
| ['branding=="Chrome"', {
|
| 'linux_breakpad%': 1,
|
| @@ -3114,6 +3116,15 @@
|
| ['LINK.host', '<!(which g++)'],
|
| ],
|
| }],
|
| + ['OS=="android" and HOST_OS=="mac" and "<(GENERATOR)"!="ninja"', {
|
| + # Hardcode the compiler names in the Makefile so that
|
| + # it won't depend on the environment at make time.
|
| + 'make_global_settings': [
|
| + ['AR', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-ar)'],
|
| + ['RANLIB', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-ranlib)'],
|
| + ['LD', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-ld)'],
|
| + ],
|
| + }],
|
| ],
|
| 'xcode_settings': {
|
| # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT!
|
|
|