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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 '../tools/skdiff.h', | 150 '../tools/skdiff.h', |
151 '../tools/skdiff_html.cpp', | 151 '../tools/skdiff_html.cpp', |
152 '../tools/skdiff_html.h', | 152 '../tools/skdiff_html.h', |
153 '../tools/skdiff_main.cpp', | 153 '../tools/skdiff_main.cpp', |
154 '../tools/skdiff_utils.cpp', | 154 '../tools/skdiff_utils.cpp', |
155 '../tools/skdiff_utils.h', | 155 '../tools/skdiff_utils.h', |
156 ], | 156 ], |
157 'dependencies': [ | 157 'dependencies': [ |
158 'skia_lib.gyp:skia_lib', | 158 'skia_lib.gyp:skia_lib', |
159 ], | 159 ], |
160 'xcode_settings': { | |
161 'conditions': [ | |
162 [ 'skia_osx_deployment_target==""', { | |
163 'MACOSX_DEPLOYMENT_TARGET': '10.7', # -mmacos-version-min, passed in
env to ld. | |
164 }, { | |
165 'MACOSX_DEPLOYMENT_TARGET': '<(skia_osx_deployment_target)', | |
166 }], | |
167 ], | |
168 'CLANG_CXX_LIBRARY': 'libc++', | |
169 }, | |
170 }, | 160 }, |
171 { | 161 { |
172 'target_name': 'skpdiff', | 162 'target_name': 'skpdiff', |
173 'type': 'executable', | 163 'type': 'executable', |
174 'sources': [ | 164 'sources': [ |
175 '../tools/skpdiff/skpdiff_main.cpp', | 165 '../tools/skpdiff/skpdiff_main.cpp', |
176 '../tools/skpdiff/SkDiffContext.cpp', | 166 '../tools/skpdiff/SkDiffContext.cpp', |
177 '../tools/skpdiff/SkImageDiffer.cpp', | 167 '../tools/skpdiff/SkImageDiffer.cpp', |
178 '../tools/skpdiff/SkPMetric.cpp', | 168 '../tools/skpdiff/SkPMetric.cpp', |
179 '../tools/skpdiff/skpdiff_util.cpp', | 169 '../tools/skpdiff/skpdiff_util.cpp', |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 'flags.gyp:flags', | 728 'flags.gyp:flags', |
739 'skia_lib.gyp:skia_lib', | 729 'skia_lib.gyp:skia_lib', |
740 'resources', | 730 'resources', |
741 ], | 731 ], |
742 }, | 732 }, |
743 ], | 733 ], |
744 }, | 734 }, |
745 ], | 735 ], |
746 ], | 736 ], |
747 } | 737 } |
OLD | NEW |