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

Unified Diff: gyp/common_conditions.gypi

Issue 1395783003: skia: Add ANGLE support on Mac (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: for angle only Created 5 years, 2 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
« no previous file with comments | « gyp/common.gypi ('k') | include/views/SkOSWindow_Mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/common_conditions.gypi
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index 02113c3f8a531f4624ab0ef745b4bb9a7a2761dc..115d94b45c07a224c1ab00a2773aa0a15db34747 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -464,6 +464,10 @@
[ 'skia_os == "mac"',
{
'defines': [ 'SK_BUILD_FOR_MAC' ],
+ 'conditions': [
+ # ANGLE for mac hits -Wunneeded-internal-declaration if this isn't set.
+ [ 'skia_angle', { 'defines': [ 'YY_NO_INPUT' ], } ],
+ ],
'configurations': {
'Coverage': {
'xcode_settings': {
« no previous file with comments | « gyp/common.gypi ('k') | include/views/SkOSWindow_Mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698