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

Side by Side Diff: skia/skia.gyp

Issue 8770054: Tool to log the execution of Chrome. Initial add. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved /base/cygprofile to /tools/cygprofile Created 8 years, 7 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 | Annotate | Revision Log
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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 # fix will require substantial rebaselining. 782 # fix will require substantial rebaselining.
783 'SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX', 783 'SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX',
784 784
785 # Temporarily ignore fix to antialias coverage, until we can rebaseline 785 # Temporarily ignore fix to antialias coverage, until we can rebaseline
786 'SK_USE_LEGACY_AA_COVERAGE', 786 'SK_USE_LEGACY_AA_COVERAGE',
787 ], 787 ],
788 'sources!': [ 788 'sources!': [
789 '../third_party/skia/include/core/SkTypes.h', 789 '../third_party/skia/include/core/SkTypes.h',
790 ], 790 ],
791 'conditions': [ 791 'conditions': [
792 ['order_profiling != 0', {
793 'target_conditions' : [
794 ['_toolset=="target"', {
795 'cflags!': [ '-finstrument-functions' ],
796 }],
797 ],
798 }],
792 # For POSIX platforms, prefer the Mutex implementation provided by Skia 799 # For POSIX platforms, prefer the Mutex implementation provided by Skia
793 # since it does not generate static initializers. 800 # since it does not generate static initializers.
794 [ 'OS == "android" or OS == "linux" or OS == "mac"', { 801 [ 'OS == "android" or OS == "linux" or OS == "mac"', {
795 'defines+': [ 802 'defines+': [
796 'SK_USE_POSIX_THREADS', 803 'SK_USE_POSIX_THREADS',
797 ], 804 ],
798 'sources!': [ 805 'sources!': [
799 'ext/SkThread_chrome.cc', 806 'ext/SkThread_chrome.cc',
800 ], 807 ],
801 }], 808 }],
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 '..', 1088 '..',
1082 'config', 1089 'config',
1083 '../third_party/skia/include/config', 1090 '../third_party/skia/include/config',
1084 '../third_party/skia/include/core', 1091 '../third_party/skia/include/core',
1085 '../third_party/skia/include/effects', 1092 '../third_party/skia/include/effects',
1086 '../third_party/skia/include/images', 1093 '../third_party/skia/include/images',
1087 '../third_party/skia/include/utils', 1094 '../third_party/skia/include/utils',
1088 '../third_party/skia/src/core', 1095 '../third_party/skia/src/core',
1089 ], 1096 ],
1090 'conditions': [ 1097 'conditions': [
1098 ['order_profiling != 0', {
1099 'target_conditions' : [
1100 ['_toolset=="target"', {
1101 'cflags!': [ '-finstrument-functions' ],
1102 }],
1103 ],
1104 }],
1091 [ 'os_posix == 1 and OS != "mac" and OS != "android" and target_arch != "arm"', { 1105 [ 'os_posix == 1 and OS != "mac" and OS != "android" and target_arch != "arm"', {
1092 'cflags': [ 1106 'cflags': [
1093 '-msse2', 1107 '-msse2',
1094 ], 1108 ],
1095 }], 1109 }],
1096 [ 'OS == "android"', { 1110 [ 'OS == "android"', {
1097 'defines': [ 1111 'defines': [
1098 'SK_BUILD_FOR_ANDROID_NDK', 1112 'SK_BUILD_FOR_ANDROID_NDK',
1099 ], 1113 ],
1100 }], 1114 }],
1101 [ 'target_arch != "arm"', { 1115 [ 'target_arch != "arm"', {
1102 'sources': [ 1116 'sources': [
1103 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp', 1117 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp',
1104 '../third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp', 1118 '../third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp',
1105 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp', 1119 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp',
1106 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp', 1120 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp',
1107 ], 1121 ],
1108 'conditions': [ 1122 'conditions': [
1109 # x86 Android doesn't support SSSE3 instructions. 1123 # x86 Android doesn't support SSSE3 instructions.
1110 [ 'OS != "android"', { 1124 [ 'OS != "android"', {
1111 'dependencies': [ 1125 'dependencies': [
1112 'skia_opts_ssse3', 1126 'skia_opts_ssse3',
1113 ], 1127 ],
1114 }], 1128 }],
1115 ], 1129 ],
1116 }, 1130 },
1117 { # arm 1131 { # arm
1118 'conditions': [ 1132 'conditions': [
1133 ['order_profiling != 0', {
1134 'target_conditions' : [
1135 ['_toolset=="target"', {
1136 'cflags!': [ '-finstrument-functions' ],
1137 }],
1138 ],
1139 }],
1119 [ 'armv7 == 1', { 1140 [ 'armv7 == 1', {
1120 'defines': [ 1141 'defines': [
1121 '__ARM_ARCH__=7', 1142 '__ARM_ARCH__=7',
1122 ], 1143 ],
1123 }], 1144 }],
1124 [ 'armv7 == 1 and arm_neon == 1', { 1145 [ 'armv7 == 1 and arm_neon == 1', {
1125 'defines': [ 1146 'defines': [
1126 '__ARM_HAVE_NEON', 1147 '__ARM_HAVE_NEON',
1127 ], 1148 ],
1128 'cflags': [ 1149 'cflags': [
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 '../third_party/skia/include/config', 1208 '../third_party/skia/include/config',
1188 '../third_party/skia/include/core', 1209 '../third_party/skia/include/core',
1189 '../third_party/skia/src/core', 1210 '../third_party/skia/src/core',
1190 ], 1211 ],
1191 'conditions': [ 1212 'conditions': [
1192 [ 'OS in ["linux", "freebsd", "openbsd", "solaris"]', { 1213 [ 'OS in ["linux", "freebsd", "openbsd", "solaris"]', {
1193 'cflags': [ 1214 'cflags': [
1194 '-mssse3', 1215 '-mssse3',
1195 ], 1216 ],
1196 }], 1217 }],
1218 ['order_profiling != 0', {
1219 'target_conditions' : [
1220 ['_toolset=="target"', {
1221 'cflags!': [ '-finstrument-functions' ],
1222 }],
1223 ],
1224 }],
1197 [ 'OS == "mac"', { 1225 [ 'OS == "mac"', {
1198 'xcode_settings': { 1226 'xcode_settings': {
1199 'GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS': 'YES', 1227 'GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS': 'YES',
1200 }, 1228 },
1201 }], 1229 }],
1202 [ 'OS == "win"', { 1230 [ 'OS == "win"', {
1203 'include_dirs': [ 1231 'include_dirs': [
1204 'config/win', 1232 'config/win',
1205 ], 1233 ],
1206 'direct_dependent_settings': { 1234 'direct_dependent_settings': {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1267 ], 1295 ],
1268 'include_dirs': [ 1296 'include_dirs': [
1269 '..', 1297 '..',
1270 ], 1298 ],
1271 'sources': [ 1299 'sources': [
1272 'ext/image_operations_bench.cc', 1300 'ext/image_operations_bench.cc',
1273 ], 1301 ],
1274 }, 1302 },
1275 ], 1303 ],
1276 } 1304 }
OLDNEW
« no previous file with comments | « media/media.gyp ('k') | third_party/libwebp/libwebp.gyp » ('j') | tools/cygprofile/cygprofile.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698