From 54150ef19ae35643bb1cbc78da4e8a9da482bce7 Mon Sep 17 00:00:00 2001
From: "thakis@chromium.org"
 <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Tue, 27 Mar 2012 23:57:47 +0000
Subject: Suppress clang warnings for harfbuzz.

BUG=113708
TEST=none
NOTRY=true

Review URL: http://codereview.chromium.org/9791027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129307 0039d316-1c4b-4281-b951-d872f2087c98
---
 third_party/harfbuzz/harfbuzz.gyp | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'third_party')

diff --git a/third_party/harfbuzz/harfbuzz.gyp b/third_party/harfbuzz/harfbuzz.gyp
index 7100d73e..bb7be86 100644
--- a/third_party/harfbuzz/harfbuzz.gyp
+++ b/third_party/harfbuzz/harfbuzz.gyp
@@ -60,6 +60,18 @@
                 '../../build/linux/system.gyp:freetype2',
               ],
             }],
+            ['clang == 1', {
+              'xcode_settings': {
+                'WARNING_CFLAGS': [
+                  # "harfbuzz is in strict maintenace mode",
+                  # see http://crbug.com/113708
+                  '-Wno-pointer-sign',
+                ],
+              },
+              'cflags': [
+                '-Wno-pointer-sign',
+              ],
+            }],
           ],
         },
       ],
-- 
cgit v1.1