summaryrefslogtreecommitdiffstats
path: root/chromium/native_client/src/trusted/debug_stub/debug_stub.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/native_client/src/trusted/debug_stub/debug_stub.gyp')
-rw-r--r--chromium/native_client/src/trusted/debug_stub/debug_stub.gyp6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/native_client/src/trusted/debug_stub/debug_stub.gyp b/chromium/native_client/src/trusted/debug_stub/debug_stub.gyp
index 5143e5bf040..d929ff4e17e 100644
--- a/chromium/native_client/src/trusted/debug_stub/debug_stub.gyp
+++ b/chromium/native_client/src/trusted/debug_stub/debug_stub.gyp
@@ -27,7 +27,7 @@
'test.cc',
],
'conditions': [
- ['OS=="linux" or OS=="mac"', {
+ ['os_posix==1', {
'platform_sources': [
'posix/debug_stub_posix.cc',
'posix/platform_impl.cc',
@@ -49,7 +49,7 @@
'target_base': 'none',
},
'target_conditions': [
- ['OS=="linux" or OS=="mac"', {
+ ['<(os_posix)==1', {
'cflags': [
'-fexceptions',
],
@@ -63,7 +63,7 @@
'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti
}
}],
- ['OS=="linux" or OS=="mac"', {
+ ['<(os_posix)==1', {
'cflags': [
'-Wno-long-long',
],