MIPS: modified gypi files to support build

R=teodora.petrovic@gmail.com, djsollen@google.com

Author: djordje.pesut@imgtec.com

Review URL: https://codereview.chromium.org/304903003
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index cf46ed2..0c004e5 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -244,6 +244,30 @@
               }],
             ],
           }],
+          [ 'skia_arch_type == "mips"', {
+            'cflags': [
+              '-EL',
+            ],
+            'conditions': [
+              [ 'mips_arch_variant == "mips32r2"', {
+                'cflags': [
+                  '-march=mips32r2',
+                ],
+                'conditions': [
+                  [ 'mips_dsp == 1', {
+                    'cflags': [
+                      '-mdsp',
+                    ],
+                  }],
+                  [ 'mips_dsp == 2', {
+                    'cflags': [
+                      '-mdspr2',
+                    ],
+                  }],
+                ],
+              }],
+            ],
+          }],
         ],
       },
     ],