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

Side by Side Diff: skia/skia.gyp

Issue 10832081: Modifications to get skia headers compiling on iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moved ios block. Created 8 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 985 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 ], 996 ],
997 }], 997 }],
998 [ '_toolset=="host" and host_os=="linux"', { 998 [ '_toolset=="host" and host_os=="linux"', {
999 'sources': [ 999 'sources': [
1000 'ext/platform_device_linux.cc', 1000 'ext/platform_device_linux.cc',
1001 'ext/platform_canvas_linux.cc', 1001 'ext/platform_canvas_linux.cc',
1002 ], 1002 ],
1003 }], 1003 }],
1004 ], 1004 ],
1005 }], 1005 }],
1006 [ 'OS == "mac"', { 1006 [ 'OS == "ios"', {
1007 'sources/': [
1008 # iOS does not require most of skia and only needs a single file.
1009 # Rather than creating a separate top-level target, simply exclude
1010 # all files except for the one that is needed.
1011 ['exclude', '.*'],
1012 ['include', '^ext/google_logging\\.cc$'],
1013 ],
1014 }],
1015 [ 'OS == "mac" and OS != "ios"', {
noyau (Ping after 24h) 2012/07/31 14:08:19 If OS == 'mac' it is likely to be != from ios as w
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698