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

Side by Side Diff: skia/skia.gyp

Issue 660067: Separate neon flags from armv7, because some platforms have armv7a but no neon. (Closed)
Patch Set: Fix configure flags Created 10 years, 9 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 | « build/common.gypi ('k') | third_party/ffmpeg/ffmpeg.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', 572 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp',
573 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', 573 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp',
574 '../third_party/skia/src/ports/SkFontHost_tables.cpp', 574 '../third_party/skia/src/ports/SkFontHost_tables.cpp',
575 ], 575 ],
576 }], 576 }],
577 [ 'OS != "win"', { 577 [ 'OS != "win"', {
578 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], 578 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ],
579 }], 579 }],
580 [ 'armv7 == 1', { 580 [ 'armv7 == 1', {
581 'defines': [ 581 'defines': [
582 '__ARM_ARCH__=7',
583 ],
584 }],
585 [ 'armv7 == 1 and arm_neon == 1', {
586 'defines': [
582 '__ARM_HAVE_NEON', 587 '__ARM_HAVE_NEON',
583 '__ARM_ARCH__=7',
584 ], 588 ],
585 }], 589 }],
586 [ 'target_arch == "arm"', { 590 [ 'target_arch == "arm"', {
587 'sources!': [ 591 'sources!': [
588 '../third_party/skia/src/opts/opts_check_SSE2.cpp' 592 '../third_party/skia/src/opts/opts_check_SSE2.cpp'
589 ], 593 ],
590 }], 594 }],
591 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris "', { 595 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris "', {
592 'dependencies': [ 596 'dependencies': [
593 '../build/linux/system.gyp:gdk', 597 '../build/linux/system.gyp:gdk',
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 }], 701 }],
698 [ 'target_arch != "arm"', { 702 [ 'target_arch != "arm"', {
699 'sources': [ 703 'sources': [
700 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp', 704 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp',
701 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp', 705 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp',
702 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp', 706 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp',
703 ], 707 ],
704 }, 708 },
705 { # arm 709 { # arm
706 'conditions': [ 710 'conditions': [
707 ['armv7 == 1', { 711 [ 'armv7 == 1', {
712 'defines': [
713 '__ARM_ARCH__=7',
714 ],
715 }],
716 [ 'armv7 == 1 and arm_neon == 1', {
708 'defines': [ 717 'defines': [
709 '__ARM_HAVE_NEON', 718 '__ARM_HAVE_NEON',
710 '__ARM_ARCH__=7',
711 ], 719 ],
712 }] 720 }],
713 ], 721 ],
714 # The assembly uses the frame pointer register (r7 in Thumb/r11 in 722 # The assembly uses the frame pointer register (r7 in Thumb/r11 in
715 # ARM), the compiler doesn't like that. 723 # ARM), the compiler doesn't like that.
716 'cflags': [ 724 'cflags': [
717 '-fomit-frame-pointer', 725 '-fomit-frame-pointer',
718 ], 726 ],
719 'sources': [ 727 'sources': [
720 '../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp', 728 '../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp',
721 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp', 729 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp',
722 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', 730 '../third_party/skia/src/opts/SkUtils_opts_none.cpp',
723 ], 731 ],
724 }], 732 }],
725 ], 733 ],
726 }, 734 },
727 ], 735 ],
728 } 736 }
729 737
730 # Local Variables: 738 # Local Variables:
731 # tab-width:2 739 # tab-width:2
732 # indent-tabs-mode:nil 740 # indent-tabs-mode:nil
733 # End: 741 # End:
734 # vim: set expandtab tabstop=2 shiftwidth=2: 742 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | third_party/ffmpeg/ffmpeg.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698