Add libraries to fix Ubuntu13 Clang build
authorborenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 19 Aug 2013 18:26:04 +0000 (18:26 +0000)
committerborenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 19 Aug 2013 18:26:04 +0000 (18:26 +0000)
R=bungeman@google.com, djsollen@google.com

Review URL: https://codereview.chromium.org/23281003

git-svn-id: http://skia.googlecode.com/svn/trunk@10796 2bbb7eff-a529-9590-31e7-b0007b416f81

gyp/common_conditions.gypi

index 211aa128c326dddb9c408e10074bfb9c9b559917..aa08fa81fa73adcb7aff3dee204f978143c9bc04 100644 (file)
                 '-pthread',
               ],
             },
+          }, { # skia_os != "nacl"
+            'link_settings': {
+              'ldflags': [
+                '-lstdc++',
+                '-lm',
+              ],
+            },
           }],
-          [ 'skia_os == "chromeos"', {
-            'ldflags': [
-              '-lstdc++',
-              '-lm',
-            ],
-          }, {
+          [ 'skia_os != "chromeos"', {
             'conditions': [
               [ 'skia_arch_width == 64 and skia_arch_type == "x86"', {
                 'cflags': [