Chromium Code Reviews| Index: breakpad/breakpad.gyp |
| diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp |
| index 1cc4e435c56da23a9988c2e9ee8d20f0b459b134..7b024af1d9ea843c0e5b0e094b1527b2e13614f0 100644 |
| --- a/breakpad/breakpad.gyp |
| +++ b/breakpad/breakpad.gyp |
| @@ -219,11 +219,6 @@ |
| }], |
| [ 'OS=="linux" or OS=="android"', { |
| 'conditions': [ |
| - ['OS=="android"', { |
| - 'defines': [ |
| - '__ANDROID__', |
|
digit1
2012/08/27 21:20:30
For the record, this was removed because this macr
|
| - ], |
| - }], |
| # Tools needed for archiving build symbols. |
| ['linux_breakpad==1', { |
| 'targets': [ |
| @@ -372,6 +367,7 @@ |
| { |
| 'target_name': 'symupload', |
| 'type': 'executable', |
| + 'toolsets': [ 'host', ], |
| # This uses the system libcurl, so don't use the default 32-bit |
| # compile flags when building on a 64-bit machine. |
| @@ -398,6 +394,7 @@ |
| ], |
| 'include_dirs': [ |
| 'src', |
| + 'src/third_party', |
| ], |
| 'link_settings': { |
| 'libraries': [ |
| @@ -522,15 +519,18 @@ |
| ], |
| 'conditions': [ |
| - # Android NDK toolchain doesn't support -mimplicit-it=always |
|
Mark Mentovai
2012/08/27 21:13:10
This was a recent addition, and you’re clobbering
digit1
2012/08/27 21:20:30
I believe the NDK toolchain that is currently used
digit1
2012/08/27 21:50:07
Ok, I checked, the Android toolchain, even old one
|
| - ['target_arch=="arm" and OS!="android"', { |
| + ['target_arch=="arm"', { |
| 'cflags': ['-Wa,-mimplicit-it=always'], |
| }], |
| ['OS=="android"', { |
| - 'sources!':[ |
| - 'src/common/linux/elf_core_dump.cc', |
| - 'src/common/linux/elf_core_dump.h', |
| + 'include_dirs': [ |
| + 'src/common/android/include', |
| ], |
| + 'direct_dependent_settings': { |
|
Mark Mentovai
2012/08/27 21:13:10
It would be better if the headers that consumers o
digit1
2012/08/27 21:20:30
Unfortunately, not at the moment. I plan to update
Mark Mentovai
2012/08/27 21:30:33
digit1 wrote:
|
| + 'include_dirs': [ |
| + 'src/common/android/include', |
| + ], |
| + }, |
| }], |
| ], |
| @@ -621,6 +621,14 @@ |
| '-Wno-unused-value', |
| ], |
| }], |
| + ['OS=="android"', { |
| + 'libraries': [ |
| + '-llog', |
| + ], |
| + 'include_dirs': [ |
| + 'src/common/android/include', |
| + ], |
| + }], |
| ], |
| }, |
| { |