Index: gpu/demos/demos.gyp |
diff --git a/gpu/demos/demos.gyp b/gpu/demos/demos.gyp |
index 4da7107e35b4996e8ce794de41637eff88b5c493..d9e60fcd925ff9902537724aad513aaa83cedcb4 100644 |
--- a/gpu/demos/demos.gyp |
+++ b/gpu/demos/demos.gyp |
@@ -14,7 +14,7 @@ |
# also be compiled with -fPIC flag. Setting GYP_DEFINES="linux_fpic=1" |
# compiles everything with -fPIC. Disable pepper demos on linux/x64 |
# unless linux_fpic is 1. |
- ['OS=="linux" and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', { |
+ ['os_posix == 1 and OS != "mac" and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', { |
'enable_pepper_demos%': 0, |
}, { |
'enable_pepper_demos%': 1, |
@@ -107,7 +107,7 @@ |
], |
}, |
'conditions': [ |
- ['OS=="linux"', { |
+ ['os_posix == 1 and OS != "mac"', { |
# -gstabs, used in the official builds, causes an ICE. Remove it. |
'cflags!': ['-gstabs'], |
}], |