| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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': '<(component)', | 9 'type': '<(component)', |
| 10 'variables': { | 10 'variables': { |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800]
, | 214 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800]
, |
| 215 'defines': [ | 215 'defines': [ |
| 216 #'SK_GAMMA_SRGB', | 216 #'SK_GAMMA_SRGB', |
| 217 #'SK_GAMMA_APPLY_TO_A8', | 217 #'SK_GAMMA_APPLY_TO_A8', |
| 218 'SK_BUILD_NO_IMAGE_ENCODE', | 218 'SK_BUILD_NO_IMAGE_ENCODE', |
| 219 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 219 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
| 220 'GR_STATIC_RECT_VB=1', | 220 'GR_STATIC_RECT_VB=1', |
| 221 'GR_AGGRESSIVE_SHADER_OPTS=1', | 221 'GR_AGGRESSIVE_SHADER_OPTS=1', |
| 222 'SK_DISABLE_FAST_AA_STROKE_RECT', | 222 'SK_DISABLE_FAST_AA_STROKE_RECT', |
| 223 'SK_DEFERRED_CANVAS_USES_GPIPE=1', | 223 'SK_DEFERRED_CANVAS_USES_GPIPE=1', |
| 224 | 224 |
| 225 # this flag can be removed entirely once this has baked for a while | 225 # this flag can be removed entirely once this has baked for a while |
| 226 'SK_ALLOW_OVER_32K_BITMAPS', | 226 'SK_ALLOW_OVER_32K_BITMAPS', |
| 227 | 227 |
| 228 # temporary for landing Skia rev 3077 with minimal layout test breakage | 228 # temporary for landing Skia rev 3077 with minimal layout test breakage |
| 229 'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS', | 229 'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS', |
| 230 | 230 |
| 231 # skia uses static initializers to initialize the serialization logic | 231 # skia uses static initializers to initialize the serialization logic |
| 232 # of its "pictures" library. This is currently not used in chrome; if | 232 # of its "pictures" library. This is currently not used in chrome; if |
| 233 # it ever gets used the processes that use it need to call | 233 # it ever gets used the processes that use it need to call |
| 234 # SkGraphics::Init(). | 234 # SkGraphics::Init(). |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 'SK_GAMMA_SRGB', | 290 'SK_GAMMA_SRGB', |
| 291 'SK_GAMMA_CONTRAST=0.5', | 291 'SK_GAMMA_CONTRAST=0.5', |
| 292 ], | 292 ], |
| 293 }], | 293 }], |
| 294 ['OS == "mac"', { | 294 ['OS == "mac"', { |
| 295 'defines': [ | 295 'defines': [ |
| 296 'SK_GAMMA_SRGB', | 296 'SK_GAMMA_SRGB', |
| 297 'SK_GAMMA_CONTRAST=0.0', | 297 'SK_GAMMA_CONTRAST=0.0', |
| 298 ], | 298 ], |
| 299 }], | 299 }], |
| 300 | 300 |
| 301 # For POSIX platforms, prefer the Mutex implementation provided by Skia | 301 # For POSIX platforms, prefer the Mutex implementation provided by Skia |
| 302 # since it does not generate static initializers. | 302 # since it does not generate static initializers. |
| 303 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', { | 303 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', { |
| 304 'defines+': [ | 304 'defines+': [ |
| 305 'SK_USE_POSIX_THREADS', | 305 'SK_USE_POSIX_THREADS', |
| 306 ], | 306 ], |
| 307 'direct_dependent_settings': { | 307 'direct_dependent_settings': { |
| 308 'defines': [ | 308 'defines': [ |
| 309 'SK_USE_POSIX_THREADS', | 309 'SK_USE_POSIX_THREADS', |
| 310 ], | 310 ], |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 # -fno-omit-frame-pointer flag for Android, as that gets added to all | 716 # -fno-omit-frame-pointer flag for Android, as that gets added to all |
| 717 # targets via common.gypi. | 717 # targets via common.gypi. |
| 718 'cflags!': [ | 718 'cflags!': [ |
| 719 '-fno-omit-frame-pointer', | 719 '-fno-omit-frame-pointer', |
| 720 ], | 720 ], |
| 721 'cflags': [ | 721 'cflags': [ |
| 722 '-fomit-frame-pointer', | 722 '-fomit-frame-pointer', |
| 723 ], | 723 ], |
| 724 'sources': [ | 724 'sources': [ |
| 725 '../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp', | 725 '../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp', |
| 726 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp', | |
| 727 '../third_party/skia/src/opts/SkBlitRow_opts_arm.h', | |
| 728 '../third_party/skia/src/opts/opts_check_arm.cpp', | |
| 729 ], | 726 ], |
| 730 }], | 727 }], |
| 731 [ 'armv7 == 1 and arm_neon == 0', { | 728 [ 'armv7 == 1 and arm_neon == 0', { |
| 732 'sources': [ | 729 'sources': [ |
| 733 '../third_party/skia/src/opts/memset.arm.S', | 730 '../third_party/skia/src/opts/memset.arm.S', |
| 734 ], | 731 ], |
| 735 }], | 732 }], |
| 736 [ 'armv7 == 1 and arm_neon == 1', { | 733 [ 'armv7 == 1 and arm_neon == 1', { |
| 737 'sources': [ | 734 'sources': [ |
| 738 '../third_party/skia/src/opts/memset16_neon.S', | 735 '../third_party/skia/src/opts/memset16_neon.S', |
| 739 '../third_party/skia/src/opts/memset32_neon.S', | 736 '../third_party/skia/src/opts/memset32_neon.S', |
| 740 '../third_party/skia/src/opts/SkBitmapProcState_arm_neon.cpp', | 737 '../third_party/skia/src/opts/SkBitmapProcState_arm_neon.cpp', |
| 741 '../third_party/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp
', | 738 '../third_party/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp
', |
| 742 '../third_party/skia/src/opts/SkBitmapProcState_matrix_clamp_neon.h'
, | 739 '../third_party/skia/src/opts/SkBitmapProcState_matrix_clamp_neon.h'
, |
| 743 '../third_party/skia/src/opts/SkBitmapProcState_matrix_repeat_neon.h
', | 740 '../third_party/skia/src/opts/SkBitmapProcState_matrix_repeat_neon.h
', |
| 744 '../third_party/skia/src/opts/SkBlitRow_opts_arm_neon.cpp', | 741 '../third_party/skia/src/opts/SkBlitRow_opts_arm_neon.cpp', |
| 745 ], | 742 ], |
| 746 }], | 743 }], |
| 747 [ 'target_arch == "arm" and armv7 != 1', { | 744 [ 'target_arch == "arm" and armv7 == 0', { |
| 748 'sources': [ | 745 'sources': [ |
| 749 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 746 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
| 747 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
| 750 ], | 748 ], |
| 751 'sources!': [ | 749 }], |
| 750 [ 'target_arch == "arm" and armv7 == 1', { |
| 751 'sources': [ |
| 752 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp', | 752 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp', |
| 753 '../third_party/skia/src/opts/SkBlitRow_opts_arm.h', |
| 754 '../third_party/skia/src/opts/opts_check_arm.cpp', |
| 753 ], | 755 ], |
| 754 }], | 756 }], |
| 755 ], | 757 ], |
| 756 }, | 758 }, |
| 757 # For the same lame reasons as what is done for skia_opts, we have to | 759 # For the same lame reasons as what is done for skia_opts, we have to |
| 758 # create another target specifically for SSSE3 code as we would not want | 760 # create another target specifically for SSSE3 code as we would not want |
| 759 # to compile the SSE2 code with -mssse3 which would potentially allow | 761 # to compile the SSE2 code with -mssse3 which would potentially allow |
| 760 # gcc to generate SSSE3 code. | 762 # gcc to generate SSSE3 code. |
| 761 { | 763 { |
| 762 'target_name': 'skia_opts_ssse3', | 764 'target_name': 'skia_opts_ssse3', |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 'sources': [ | 840 'sources': [ |
| 839 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 841 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
| 840 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 842 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
| 841 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 843 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
| 842 ], | 844 ], |
| 843 }, | 845 }, |
| 844 ], | 846 ], |
| 845 }], | 847 }], |
| 846 ], | 848 ], |
| 847 } | 849 } |
| OLD | NEW |