OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'skia', | 8 'target_name': 'skia', |
9 'type': '<(library)', | 9 'type': '<(library)', |
10 'msvs_guid': 'CD9CA56E-4E94-444C-87D4-58CA1E6F300D', | 10 'msvs_guid': 'CD9CA56E-4E94-444C-87D4-58CA1E6F300D', |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 [ 'armv7 == 1 and arm_neon == 1', { | 585 [ 'armv7 == 1 and arm_neon == 1', { |
586 'defines': [ | 586 'defines': [ |
587 '__ARM_HAVE_NEON', | 587 '__ARM_HAVE_NEON', |
588 ], | 588 ], |
589 }], | 589 }], |
590 [ 'target_arch == "arm"', { | 590 [ 'target_arch == "arm"', { |
591 'sources!': [ | 591 'sources!': [ |
592 '../third_party/skia/src/opts/opts_check_SSE2.cpp' | 592 '../third_party/skia/src/opts/opts_check_SSE2.cpp' |
593 ], | 593 ], |
594 }], | 594 }], |
| 595 ['clang==1', { |
| 596 'defines': [ |
| 597 # Remove all use of __restrict__ -- skia uses it incorrectly, |
| 598 # and clang is more strict about it. |
| 599 # http://code.google.com/p/skia/issues/detail?id=63 |
| 600 'SK_RESTRICT=', |
| 601 ], |
| 602 }], |
595 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris
"', { | 603 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris
"', { |
596 'dependencies': [ | 604 'dependencies': [ |
597 '../build/linux/system.gyp:gdk', | 605 '../build/linux/system.gyp:gdk', |
598 '../build/linux/system.gyp:fontconfig', | 606 '../build/linux/system.gyp:fontconfig', |
599 '../build/linux/system.gyp:freetype2', | 607 '../build/linux/system.gyp:freetype2', |
600 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', | 608 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', |
601 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz_interface', | 609 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz_interface', |
602 '../third_party/icu/icu.gyp:icuuc', | 610 '../third_party/icu/icu.gyp:icuuc', |
603 ], | 611 ], |
604 'cflags': [ | 612 'cflags': [ |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 ], | 742 ], |
735 }, | 743 }, |
736 ], | 744 ], |
737 } | 745 } |
738 | 746 |
739 # Local Variables: | 747 # Local Variables: |
740 # tab-width:2 | 748 # tab-width:2 |
741 # indent-tabs-mode:nil | 749 # indent-tabs-mode:nil |
742 # End: | 750 # End: |
743 # vim: set expandtab tabstop=2 shiftwidth=2: | 751 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |