Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'skia', | 8 'target_name': 'skia', |
| 9 'type': '<(component)', | 9 'type': '<(component)', |
| 10 'variables': { | 10 'variables': { |
| (...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 922 ], | 922 ], |
| 923 }], | 923 }], |
| 924 [ 'use_glib == 0 and OS != "android"', { | 924 [ 'use_glib == 0 and OS != "android"', { |
| 925 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], | 925 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], |
| 926 'sources!': [ | 926 'sources!': [ |
| 927 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 927 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
| 928 '../third_party/skia/src/ports/SkFontHost_TryeType_Tables.cpp', | 928 '../third_party/skia/src/ports/SkFontHost_TryeType_Tables.cpp', |
| 929 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', | 929 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', |
| 930 ], | 930 ], |
| 931 }], | 931 }], |
| 932 [ 'OS == "ios"', { | |
|
stuartmorgan
2012/07/31 13:57:53
How about moving this down to just before "android
| |
| 933 'sources/': [ | |
| 934 # iOS does not require most of skia and only needs a single file. | |
| 935 # Rather than creating a separate top-level target, simply exclude | |
| 936 # all files except for the one that is needed. | |
| 937 ['exclude', '.*'], | |
| 938 ['include', '^ext/google_logging\\.cc$'], | |
| 939 ], | |
| 940 }], | |
| 932 [ 'use_aura == 1 and use_canvas_skia == 1', { | 941 [ 'use_aura == 1 and use_canvas_skia == 1', { |
| 933 'sources/': [ | 942 'sources/': [ |
| 934 ['exclude', 'ext/platform_canvas_mac\\.cc$'], | 943 ['exclude', 'ext/platform_canvas_mac\\.cc$'], |
| 935 ['exclude', 'ext/platform_canvas_linux\\.cc$'], | 944 ['exclude', 'ext/platform_canvas_linux\\.cc$'], |
| 936 ['exclude', 'ext/platform_canvas_win\\.cc$'], | 945 ['exclude', 'ext/platform_canvas_win\\.cc$'], |
| 937 ], | 946 ], |
| 938 }, { # use_aura == 0 and use_canvas_skia == 1 | 947 }, { # use_aura == 0 and use_canvas_skia == 1 |
| 939 'sources/': [ ['exclude', 'ext/platform_canvas_skia\\.cc$'] ], | 948 'sources/': [ ['exclude', 'ext/platform_canvas_skia\\.cc$'] ], |
| 940 }], | 949 }], |
| 941 [ 'toolkit_uses_gtk == 1', { | 950 [ 'toolkit_uses_gtk == 1', { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 996 ], | 1005 ], |
| 997 }], | 1006 }], |
| 998 [ '_toolset=="host" and host_os=="linux"', { | 1007 [ '_toolset=="host" and host_os=="linux"', { |
| 999 'sources': [ | 1008 'sources': [ |
| 1000 'ext/platform_device_linux.cc', | 1009 'ext/platform_device_linux.cc', |
| 1001 'ext/platform_canvas_linux.cc', | 1010 'ext/platform_canvas_linux.cc', |
| 1002 ], | 1011 ], |
| 1003 }], | 1012 }], |
| 1004 ], | 1013 ], |
| 1005 }], | 1014 }], |
| 1006 [ 'OS == "mac"', { | 1015 [ 'OS == "mac" and OS != "ios"', { |
| 1007 'defines': [ | 1016 'defines': [ |
| 1008 'SK_BUILD_FOR_MAC', | 1017 'SK_BUILD_FOR_MAC', |
| 1009 ], | 1018 ], |
| 1010 'include_dirs': [ | 1019 'include_dirs': [ |
| 1011 '../third_party/skia/include/utils/mac', | 1020 '../third_party/skia/include/utils/mac', |
| 1012 ], | 1021 ], |
| 1013 'link_settings': { | 1022 'link_settings': { |
| 1014 'libraries': [ | 1023 'libraries': [ |
| 1015 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 1024 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 1016 ], | 1025 ], |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1065 'dependencies': [ | 1074 'dependencies': [ |
| 1066 '../base/base.gyp:base', | 1075 '../base/base.gyp:base', |
| 1067 ], | 1076 ], |
| 1068 'direct_dependent_settings': { | 1077 'direct_dependent_settings': { |
| 1069 'defines': [ | 1078 'defines': [ |
| 1070 'GR_DLL', | 1079 'GR_DLL', |
| 1071 'SKIA_DLL', | 1080 'SKIA_DLL', |
| 1072 ], | 1081 ], |
| 1073 }, | 1082 }, |
| 1074 }], | 1083 }], |
| 1075 ], | 1084 ['OS != "ios"', { |
| 1076 'dependencies': [ | 1085 |
| 1077 'skia_opts', | 1086 'dependencies': [ |
| 1078 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | 1087 'skia_opts', |
| 1079 '../third_party/sfntly/sfntly.gyp:sfntly', | 1088 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', |
| 1080 '../third_party/zlib/zlib.gyp:zlib', | 1089 '../third_party/sfntly/sfntly.gyp:sfntly', |
| 1090 '../third_party/zlib/zlib.gyp:zlib', | |
| 1091 ], | |
| 1092 }], | |
| 1081 ], | 1093 ], |
| 1082 'direct_dependent_settings': { | 1094 'direct_dependent_settings': { |
| 1083 'include_dirs': [ | 1095 'include_dirs': [ |
| 1084 'config', | 1096 'config', |
| 1085 '../third_party/skia/include/config', | 1097 '../third_party/skia/include/config', |
| 1086 '../third_party/skia/include/core', | 1098 '../third_party/skia/include/core', |
| 1087 '../third_party/skia/include/effects', | 1099 '../third_party/skia/include/effects', |
| 1088 '../third_party/skia/include/pdf', | 1100 '../third_party/skia/include/pdf', |
| 1089 '../third_party/skia/include/gpu', | 1101 '../third_party/skia/include/gpu', |
| 1090 '../third_party/skia/include/gpu/gl', | 1102 '../third_party/skia/include/gpu/gl', |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1319 ], | 1331 ], |
| 1320 'include_dirs': [ | 1332 'include_dirs': [ |
| 1321 '..', | 1333 '..', |
| 1322 ], | 1334 ], |
| 1323 'sources': [ | 1335 'sources': [ |
| 1324 'ext/image_operations_bench.cc', | 1336 'ext/image_operations_bench.cc', |
| 1325 ], | 1337 ], |
| 1326 }, | 1338 }, |
| 1327 ], | 1339 ], |
| 1328 } | 1340 } |
| OLD | NEW |