mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-13 16:58:04 +08:00
compat.gyp: use type=none for header-only target
On Linux and macOS, compat.gyp:crashpad_compat is a header-only target, which should be declared type=none. This CL also adds the missing non_mac/ include_dirs for non-macOS targets. Bug: crashpad: Change-Id: I7bef32e8f6bdcb86f51118a1bb1d3b52d05120d1 Reviewed-on: https://chromium-review.googlesource.com/1124773 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
aabc485b64
commit
038ba6eea2
@ -19,7 +19,6 @@
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'crashpad_compat',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'android/dlfcn_internal.cc',
|
||||
'android/dlfcn_internal.h',
|
||||
@ -63,6 +62,7 @@
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="mac"', {
|
||||
'type': 'none',
|
||||
'include_dirs': [
|
||||
'mac',
|
||||
],
|
||||
@ -71,8 +71,18 @@
|
||||
'mac',
|
||||
],
|
||||
},
|
||||
}, {
|
||||
'include_dirs': [
|
||||
'non_mac',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'non_mac',
|
||||
],
|
||||
},
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'win',
|
||||
],
|
||||
@ -95,6 +105,7 @@
|
||||
},
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'type': 'static_library',
|
||||
'include_dirs': [
|
||||
'android',
|
||||
'linux',
|
||||
@ -112,6 +123,7 @@
|
||||
},
|
||||
}],
|
||||
['OS=="linux"', {
|
||||
'type': 'none',
|
||||
'include_dirs': [
|
||||
'linux',
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user