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 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1065 '../third_party/skia/include/utils', | 1065 '../third_party/skia/include/utils', |
| 1066 'ext', | 1066 'ext', |
| 1067 ], | 1067 ], |
| 1068 'defines': [ | 1068 'defines': [ |
| 1069 'SK_BUILD_NO_IMAGE_ENCODE', | 1069 'SK_BUILD_NO_IMAGE_ENCODE', |
| 1070 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 1070 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
| 1071 'GR_AGGRESSIVE_SHADER_OPTS=1', | 1071 'GR_AGGRESSIVE_SHADER_OPTS=1', |
| 1072 ], | 1072 ], |
| 1073 'conditions': [ | 1073 'conditions': [ |
| 1074 ['OS=="android"', { | 1074 ['OS=="android"', { |
| 1075 'defines': [ | 1075 'dependencies!': [ |
| 1076 'SK_BUILD_FOR_ANDROID_NDK', | 1076 'skia_opts', |
| 1077 '../third_party/zlib/zlib.gyp:zlib', | |
| 1077 ], | 1078 ], |
| 1078 'conditions': [ | 1079 'conditions': [ |
| 1079 [ '_toolset == "target"', { | 1080 ['use_system_skia==1', { |
| 1080 'defines': [ | 1081 'defines': [ |
| 1081 'SK_RELEASE', # Assume platform has a release build. | 1082 'SK_RELEASE', # Assume platform has a release build. |
| 1082 ], | 1083 ], |
| 1083 'dependencies!': [ | 1084 'include_dirs!': [ |
| 1084 'skia_opts', | 1085 'config', # Avoid including Chromium skia config. |
| 1085 '../third_party/zlib/zlib.gyp:zlib', | |
| 1086 ], | 1086 ], |
| 1087 'libraries': [ | |
| 1088 '-lskia', | |
| 1089 ], | |
| 1090 }, { # !use_system_skia | |
| 1091 'defines': [ | |
| 1092 'SK_BUILD_FOR_ANDROID_NDK', # Don't use non-NDK available stu ff. | |
|
Mark Mentovai
2012/07/04 01:59:51
I’d put this comment on its own line to keep this
newt (away)
2012/07/09 22:20:12
Done.
| |
| 1093 ], | |
| 1087 }], | 1094 }], |
| 1088 [ '_toolset == "target" and android_build_type == 0', { | 1095 [ '_toolset == "target" and android_build_type == 0', { |
| 1089 'defines': [ | 1096 'defines': [ |
| 1090 'HAVE_ENDIAN_H', | 1097 'HAVE_ENDIAN_H', |
| 1091 ], | 1098 ], |
| 1092 }], | 1099 }], |
| 1093 ], | 1100 ], |
| 1094 }], | 1101 }], |
| 1095 ['OS=="mac"', { | 1102 ['OS=="mac"', { |
| 1096 'include_dirs': [ | 1103 'include_dirs': [ |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1294 ], | 1301 ], |
| 1295 'include_dirs': [ | 1302 'include_dirs': [ |
| 1296 '..', | 1303 '..', |
| 1297 ], | 1304 ], |
| 1298 'sources': [ | 1305 'sources': [ |
| 1299 'ext/image_operations_bench.cc', | 1306 'ext/image_operations_bench.cc', |
| 1300 ], | 1307 ], |
| 1301 }, | 1308 }, |
| 1302 ], | 1309 ], |
| 1303 } | 1310 } |
| OLD | NEW |