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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 ], | 584 ], |
585 'dependencies': [ | 585 'dependencies': [ |
586 'flags.gyp:flags', | 586 'flags.gyp:flags', |
587 'skia_lib.gyp:skia_lib', | 587 'skia_lib.gyp:skia_lib', |
588 'resources', | 588 'resources', |
589 ], | 589 ], |
590 }, | 590 }, |
591 ], | 591 ], |
592 }, | 592 }, |
593 ], | 593 ], |
594 ['skia_os == "linux"', | 594 ['skia_os in ["linux", "mac"]', |
595 { | 595 { |
596 'targets': [ | 596 'targets': [ |
597 { | 597 { |
598 'target_name': 'fiddle_build_test', | 598 'target_name': 'fiddle_build_test', |
599 'type': 'executable', | 599 'type': 'executable', |
600 'sources': [ | 600 'sources': [ |
601 '../tools/fiddle/draw.cpp', | 601 '../tools/fiddle/draw.cpp', |
602 '../tools/fiddle/fiddle_main.cpp', | 602 '../tools/fiddle/fiddle_main.cpp', |
603 '../tools/fiddle/fiddle_main.h', | 603 '../tools/fiddle/fiddle_main.h', |
604 ], | 604 ], |
605 'dependencies': [ | 605 'dependencies': [ |
606 'skia_lib.gyp:skia_lib', | 606 'skia_lib.gyp:skia_lib', |
607 'pdf.gyp:pdf', | 607 'pdf.gyp:pdf', |
608 ], | 608 ], |
609 'defines': [ 'FIDDLE_BUILD_TEST' ], | 609 'defines': [ 'FIDDLE_BUILD_TEST' ], |
610 'link_settings': { 'libraries': [ '-lOSMesa' ], }, | 610 'link_settings': { 'libraries': [ '-lOSMesa' ], }, |
611 }, | 611 }, |
612 ], | 612 ], |
613 }, | 613 }, |
614 ], | 614 ], |
615 ], | 615 ], |
616 } | 616 } |
OLD | NEW |