OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'sources': [ | 10 'sources': [ |
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 727 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
728 'GR_STATIC_RECT_VB=1', | 728 'GR_STATIC_RECT_VB=1', |
729 'GR_AGGRESSIVE_SHADER_OPTS=1', | 729 'GR_AGGRESSIVE_SHADER_OPTS=1', |
730 'SK_DISABLE_FAST_AA_STROKE_RECT', | 730 'SK_DISABLE_FAST_AA_STROKE_RECT', |
731 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', | 731 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', |
732 ], | 732 ], |
733 'sources!': [ | 733 'sources!': [ |
734 '../third_party/skia/include/core/SkTypes.h', | 734 '../third_party/skia/include/core/SkTypes.h', |
735 ], | 735 ], |
736 'conditions': [ | 736 'conditions': [ |
| 737 ['order_profiling != 0', { |
| 738 'target_conditions' : [ |
| 739 ['_toolset=="target"', { |
| 740 'cflags!': [ '-finstrument-functions' ], |
| 741 }], |
| 742 ], |
| 743 }], |
737 [ 'OS != "android"', { | 744 [ 'OS != "android"', { |
738 'sources/': [ | 745 'sources/': [ |
739 ['exclude', '_android\\.(cc|cpp)$'], | 746 ['exclude', '_android\\.(cc|cpp)$'], |
740 ], | 747 ], |
741 'sources!': [ | 748 'sources!': [ |
742 # Below files are only used by Android | 749 # Below files are only used by Android |
743 '../third_party/skia/src/ports/SkFontHost_gamma.cpp', | 750 '../third_party/skia/src/ports/SkFontHost_gamma.cpp', |
744 '../third_party/skia/src/ports/SkThread_pthread.cpp', | 751 '../third_party/skia/src/ports/SkThread_pthread.cpp', |
745 ], | 752 ], |
746 }], | 753 }], |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 '..', | 992 '..', |
986 'config', | 993 'config', |
987 '../third_party/skia/include/config', | 994 '../third_party/skia/include/config', |
988 '../third_party/skia/include/core', | 995 '../third_party/skia/include/core', |
989 '../third_party/skia/include/effects', | 996 '../third_party/skia/include/effects', |
990 '../third_party/skia/include/images', | 997 '../third_party/skia/include/images', |
991 '../third_party/skia/include/utils', | 998 '../third_party/skia/include/utils', |
992 '../third_party/skia/src/core', | 999 '../third_party/skia/src/core', |
993 ], | 1000 ], |
994 'conditions': [ | 1001 'conditions': [ |
| 1002 ['order_profiling != 0', { |
| 1003 'target_conditions' : [ |
| 1004 ['_toolset=="target"', { |
| 1005 'cflags!': [ '-finstrument-functions' ], |
| 1006 }], |
| 1007 ], |
| 1008 }], |
995 [ 'os_posix == 1 and OS != "mac" and OS != "android" and target_arch !=
"arm"', { | 1009 [ 'os_posix == 1 and OS != "mac" and OS != "android" and target_arch !=
"arm"', { |
996 'cflags': [ | 1010 'cflags': [ |
997 '-msse2', | 1011 '-msse2', |
998 ], | 1012 ], |
999 }], | 1013 }], |
1000 [ 'OS == "android"', { | 1014 [ 'OS == "android"', { |
1001 'defines': [ | 1015 'defines': [ |
1002 'SK_BUILD_FOR_ANDROID_NDK', | 1016 'SK_BUILD_FOR_ANDROID_NDK', |
1003 ], | 1017 ], |
1004 }], | 1018 }], |
1005 [ 'target_arch != "arm"', { | 1019 [ 'target_arch != "arm"', { |
1006 'sources': [ | 1020 'sources': [ |
1007 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp', | 1021 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp', |
1008 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp', | 1022 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp', |
1009 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp', | 1023 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp', |
1010 ], | 1024 ], |
1011 }, | 1025 }, |
1012 { # arm | 1026 { # arm |
1013 'conditions': [ | 1027 'conditions': [ |
| 1028 ['order_profiling != 0', { |
| 1029 'target_conditions' : [ |
| 1030 ['_toolset=="target"', { |
| 1031 'cflags!': [ '-finstrument-functions' ], |
| 1032 }], |
| 1033 ], |
| 1034 }], |
1014 [ 'armv7 == 1', { | 1035 [ 'armv7 == 1', { |
1015 'defines': [ | 1036 'defines': [ |
1016 '__ARM_ARCH__=7', | 1037 '__ARM_ARCH__=7', |
1017 ], | 1038 ], |
1018 }], | 1039 }], |
1019 [ 'armv7 == 1 and arm_neon == 1', { | 1040 [ 'armv7 == 1 and arm_neon == 1', { |
1020 'defines': [ | 1041 'defines': [ |
1021 '__ARM_HAVE_NEON', | 1042 '__ARM_HAVE_NEON', |
1022 ], | 1043 ], |
1023 'cflags': [ | 1044 'cflags': [ |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 ], | 1130 ], |
1110 'include_dirs': [ | 1131 'include_dirs': [ |
1111 '..', | 1132 '..', |
1112 ], | 1133 ], |
1113 'sources': [ | 1134 'sources': [ |
1114 'ext/image_operations_bench.cc', | 1135 'ext/image_operations_bench.cc', |
1115 ], | 1136 ], |
1116 }, | 1137 }, |
1117 ], | 1138 ], |
1118 } | 1139 } |
OLD | NEW |