diff options
author | sdefresne <sdefresne@chromium.org> | 2015-02-18 08:37:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-18 16:37:58 +0000 |
commit | ac513653cfacc1d9788f7b9146df87b18df256ea (patch) | |
tree | 356bd5bbc11c0dbd178b5a2330147438d5558c64 | |
parent | a499e0968233383f94e55dc48b0076ed7847b07e (diff) | |
download | chromium_src-ac513653cfacc1d9788f7b9146df87b18df256ea.zip chromium_src-ac513653cfacc1d9788f7b9146df87b18df256ea.tar.gz chromium_src-ac513653cfacc1d9788f7b9146df87b18df256ea.tar.bz2 |
Do not build breakpad tool on target when cross-compiling
The "microdump_stackwalk", "minidump_stackwalk", and "minidump_dump" tools
are not expected to be run on the device, so only build them for "host"
toolset not "target".
BUG=459035
Review URL: https://codereview.chromium.org/924943005
Cr-Commit-Position: refs/heads/master@{#316842}
-rw-r--r-- | breakpad/breakpad.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp index 1743c73..1975c36 100644 --- a/breakpad/breakpad.gyp +++ b/breakpad/breakpad.gyp @@ -17,6 +17,7 @@ # GN version: //breakpad:stackwalk_common 'target_name': 'stackwalk_common', 'type': 'static_library', + 'toolsets': ['host'], 'includes': ['breakpad_tools.gypi'], 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], 'sources': [ @@ -96,6 +97,7 @@ # GN version: //breakpad:microdump_stackwalk 'target_name': 'microdump_stackwalk', 'type': 'executable', + 'toolsets': ['host'], 'dependencies': ['stackwalk_common'], 'includes': ['breakpad_tools.gypi'], 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], @@ -109,6 +111,7 @@ # GN version: //breakpad:minidump_stackwalk 'target_name': 'minidump_stackwalk', 'type': 'executable', + 'toolsets': ['host'], 'dependencies': ['stackwalk_common'], 'includes': ['breakpad_tools.gypi'], 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], @@ -127,6 +130,7 @@ # GN version: //breakpad:minidump_dump 'target_name': 'minidump_dump', 'type': 'executable', + 'toolsets': ['host'], 'includes': ['breakpad_tools.gypi'], 'sources': [ 'src/processor/basic_code_module.h', |