| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 'skia_lib.gyp:skia_lib', | 344 'skia_lib.gyp:skia_lib', |
| 345 ], | 345 ], |
| 346 }, | 346 }, |
| 347 { | 347 { |
| 348 'target_name': 'picture_utils', | 348 'target_name': 'picture_utils', |
| 349 'type': 'static_library', | 349 'type': 'static_library', |
| 350 'sources': [ | 350 'sources': [ |
| 351 '../tools/picture_utils.cpp', | 351 '../tools/picture_utils.cpp', |
| 352 '../tools/picture_utils.h', | 352 '../tools/picture_utils.h', |
| 353 ], | 353 ], |
| 354 » 'include_dirs': [ | 354 'include_dirs': [ |
| 355 '../src/core/', | 355 '../src/core/', |
| 356 ], | 356 ], |
| 357 'dependencies': [ | 357 'dependencies': [ |
| 358 'skia_lib.gyp:skia_lib', | 358 'skia_lib.gyp:skia_lib', |
| 359 ], | 359 ], |
| 360 'direct_dependent_settings': { | 360 'direct_dependent_settings': { |
| 361 'include_dirs': [ | 361 'include_dirs': [ |
| 362 '../tools/', | 362 '../tools/', |
| 363 ], | 363 ], |
| 364 }, | 364 }, |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 'target_name': 'fiddle_build_test', | 601 'target_name': 'fiddle_build_test', |
| 602 'type': 'executable', | 602 'type': 'executable', |
| 603 'sources': [ | 603 'sources': [ |
| 604 '../tools/fiddle/draw.cpp', | 604 '../tools/fiddle/draw.cpp', |
| 605 '../tools/fiddle/fiddle_main.cpp', | 605 '../tools/fiddle/fiddle_main.cpp', |
| 606 '../tools/fiddle/fiddle_main.h', | 606 '../tools/fiddle/fiddle_main.h', |
| 607 ], | 607 ], |
| 608 'dependencies': [ | 608 'dependencies': [ |
| 609 'skia_lib.gyp:skia_lib', | 609 'skia_lib.gyp:skia_lib', |
| 610 'pdf.gyp:pdf', | 610 'pdf.gyp:pdf', |
| 611 'gputest.gyp:osmesa', |
| 611 ], | 612 ], |
| 612 'defines': [ 'FIDDLE_BUILD_TEST' ], | 613 'defines': [ 'FIDDLE_BUILD_TEST' ], |
| 613 'conditions': [ | |
| 614 [ 'skia_os == "mac"', | |
| 615 { | |
| 616 'link_settings': { 'libraries': [ '/opt/X11/lib/libOSMesa.dyli
b', ], }, | |
| 617 'include_dirs': [ '/opt/X11/include/', ], | |
| 618 }, { | |
| 619 'link_settings': { 'libraries': [ '-lOSMesa' ], }, | |
| 620 } | |
| 621 ], | |
| 622 ], | |
| 623 }, | 614 }, |
| 624 ], | 615 ], |
| 625 }, | 616 }, |
| 626 ], | 617 ], |
| 627 ], | 618 ], |
| 628 } | 619 } |
| OLD | NEW |