Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1479)

Unified Diff: ppapi/ppapi.gyp

Issue 7055003: Last gyp patch for cross-platform Unix support (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/ppapi.gyp
diff --git a/ppapi/ppapi.gyp b/ppapi/ppapi.gyp
index 8d1d6c08bf3d85514077cbbf78c09c4af8b82063..f1eb48f91cbd0c7faa941ffacadd68248fab4d99 100644
--- a/ppapi/ppapi.gyp
+++ b/ppapi/ppapi.gyp
@@ -17,7 +17,7 @@
# TODO(ajwong): For internal pepper plugins, which are statically linked
# into chrome, do we want to build w/o -fPIC? If so, how can we express
# that in the build system?
- ['OS=="linux" or OS=="openbsd" or OS=="freebsd" or OS=="solaris"', {
+ ['os_posix == 1 and OS != "mac"', {
'cflags': ['-fPIC', '-fvisibility=hidden'],
# This is needed to make the Linux shlib build happy. Without this,
« no previous file with comments | « net/third_party/nss/ssl.gyp ('k') | ppapi/ppapi_tests.gypi » ('j') | printing/printing.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698