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

Side by Side Diff: skia/skia.gyp

Issue 6297012: export skia defines to its clients, so they see the same conditional code... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | Annotate | Revision Log
« 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 (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 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 '../third_party/skia/include/config', 761 '../third_party/skia/include/config',
762 '../third_party/skia/include/core', 762 '../third_party/skia/include/core',
763 '../third_party/skia/include/effects', 763 '../third_party/skia/include/effects',
764 '../third_party/skia/include/gpu', 764 '../third_party/skia/include/gpu',
765 '../third_party/skia/gpu/include', 765 '../third_party/skia/gpu/include',
766 'ext', 766 'ext',
767 ], 767 ],
768 'mac_framework_dirs': [ 768 'mac_framework_dirs': [
769 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks', 769 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks',
770 ], 770 ],
771 'defines': [
772 'SK_BUILD_NO_IMAGE_ENCODE',
773 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"',
774 'GR_SKIP_2POINTRADIAL_PROGRAMS',
775 ],
771 }, 776 },
772 }, 777 },
773 778
774 # Due to an unfortunate intersection of lameness between gcc and gyp, 779 # Due to an unfortunate intersection of lameness between gcc and gyp,
775 # we have to build the *_SSE2.cpp files in a separate target. The 780 # we have to build the *_SSE2.cpp files in a separate target. The
776 # gcc lameness is that, in order to compile SSE2 intrinsics code, it 781 # gcc lameness is that, in order to compile SSE2 intrinsics code, it
777 # must be passed the -msse2 flag. However, with this flag, it may 782 # must be passed the -msse2 flag. However, with this flag, it may
778 # emit SSE2 instructions even for scalar code, such as the CPUID 783 # emit SSE2 instructions even for scalar code, such as the CPUID
779 # test used to test for the presence of SSE2. So that, and all other 784 # test used to test for the presence of SSE2. So that, and all other
780 # code must be compiled *without* -msse2. The gyp lameness is that it 785 # code must be compiled *without* -msse2. The gyp lameness is that it
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 ], 847 ],
843 }, 848 },
844 ], 849 ],
845 } 850 }
846 851
847 # Local Variables: 852 # Local Variables:
848 # tab-width:2 853 # tab-width:2
849 # indent-tabs-mode:nil 854 # indent-tabs-mode:nil
850 # End: 855 # End:
851 # vim: set expandtab tabstop=2 shiftwidth=2: 856 # vim: set expandtab tabstop=2 shiftwidth=2:
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