OLD | NEW |
---|---|
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # GYP file to build various tools. | 5 # GYP file to build various tools. |
6 # | 6 # |
7 # To build on Linux: | 7 # To build on Linux: |
8 # ./gyp_skia tools.gyp && make tools | 8 # ./gyp_skia tools.gyp && make tools |
9 # | 9 # |
10 { | 10 { |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
156 '../tools/skdiff.h', | 156 '../tools/skdiff.h', |
157 '../tools/skdiff_html.cpp', | 157 '../tools/skdiff_html.cpp', |
158 '../tools/skdiff_html.h', | 158 '../tools/skdiff_html.h', |
159 '../tools/skdiff_main.cpp', | 159 '../tools/skdiff_main.cpp', |
160 '../tools/skdiff_utils.cpp', | 160 '../tools/skdiff_utils.cpp', |
161 '../tools/skdiff_utils.h', | 161 '../tools/skdiff_utils.h', |
162 ], | 162 ], |
163 'dependencies': [ | 163 'dependencies': [ |
164 'skia_lib.gyp:skia_lib', | 164 'skia_lib.gyp:skia_lib', |
165 ], | 165 ], |
166 'xcode_settings': { | |
bungeman-skia
2015/08/19 18:29:55
This makes this particular change work. I tried pu
| |
167 'conditions': [ | |
168 [ 'skia_osx_deployment_target==""', { | |
169 'MACOSX_DEPLOYMENT_TARGET': '10.7', # -mmacos-version-min, passed in env to ld. | |
170 }, { | |
171 'MACOSX_DEPLOYMENT_TARGET': '<(skia_osx_deployment_target)', | |
172 }], | |
173 ], | |
174 'CLANG_CXX_LIBRARY': 'libc++', | |
175 }, | |
166 }, | 176 }, |
167 { | 177 { |
168 'target_name': 'skpdiff', | 178 'target_name': 'skpdiff', |
169 'type': 'executable', | 179 'type': 'executable', |
170 'sources': [ | 180 'sources': [ |
171 '../tools/skpdiff/skpdiff_main.cpp', | 181 '../tools/skpdiff/skpdiff_main.cpp', |
172 '../tools/skpdiff/SkDiffContext.cpp', | 182 '../tools/skpdiff/SkDiffContext.cpp', |
173 '../tools/skpdiff/SkImageDiffer.cpp', | 183 '../tools/skpdiff/SkImageDiffer.cpp', |
174 '../tools/skpdiff/SkPMetric.cpp', | 184 '../tools/skpdiff/SkPMetric.cpp', |
175 '../tools/skpdiff/skpdiff_util.cpp', | 185 '../tools/skpdiff/skpdiff_util.cpp', |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
799 'flags.gyp:flags', | 809 'flags.gyp:flags', |
800 'skia_lib.gyp:skia_lib', | 810 'skia_lib.gyp:skia_lib', |
801 'resources', | 811 'resources', |
802 ], | 812 ], |
803 }, | 813 }, |
804 ], | 814 ], |
805 }, | 815 }, |
806 ], | 816 ], |
807 ], | 817 ], |
808 } | 818 } |
OLD | NEW |