Index: third_party/libpng/libpng.gyp |
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp |
index 48b3fa409c24e80d9df8e0c4623f634943c8de82..48209b5e40a48b632177d31961af40aab5c57638 100644 |
--- a/third_party/libpng/libpng.gyp |
+++ b/third_party/libpng/libpng.gyp |
@@ -73,8 +73,12 @@ |
], |
}, |
}], |
- ['OS=="android"', { |
- 'toolsets': ['target', 'host'], |
+ ['OS=="android" or chromecast==1', { |
+ 'conditions': [ |
+ ['OS=="android"', { |
+ 'toolsets': ['target', 'host'], |
+ }], |
+ ], |
'defines': [ |
'CHROME_PNG_READ_PACK_SUPPORT', # Required by freetype. |
], |