Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: gyp/tools.gyp

Issue 1900173002: fiddle_build_test/gyp: fix mac mesa build (2) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 in ["linux", "mac"]', 594 ['skia_mesa and 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 'conditions': [
611 [ 'skia_os == "mac"',
612 {
613 'link_settings': { 'libraries': [ '/opt/X11/lib/libOSMesa.dyli b', ], },
614 'include_dirs': [ '/opt/X11/include/', ],
615 }, {
616 'link_settings': { 'libraries': [ '-lOSMesa' ], },
617 }
618 ],
619 ],
611 }, 620 },
612 ], 621 ],
613 }, 622 },
614 ], 623 ],
615 ], 624 ],
616 } 625 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698