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 'conditions': [ | 6 'conditions': [ |
7 # In component mode (shared_lib), we build all of skia as a single DLL. | 7 # In component mode (shared_lib), we build all of skia as a single DLL. |
8 # However, in the static mode, we need to build skia as multiple targets | 8 # However, in the static mode, we need to build skia as multiple targets |
9 # in order to support the use case where a platform (e.g. Android) may | 9 # in order to support the use case where a platform (e.g. Android) may |
10 # already have a copy of skia as a system library. | 10 # already have a copy of skia as a system library. |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 ], | 86 ], |
87 | 87 |
88 # targets that are not dependent upon the component type | 88 # targets that are not dependent upon the component type |
89 'targets': [ | 89 'targets': [ |
90 { | 90 { |
91 'target_name': 'skia_chrome_opts', | 91 'target_name': 'skia_chrome_opts', |
92 'type': 'static_library', | 92 'type': 'static_library', |
93 'include_dirs': [ | 93 'include_dirs': [ |
94 '..', | 94 '..', |
95 'config', | 95 'config', |
96 '../third_party/skia/include/config', | |
97 '../third_party/skia/include/core', | 96 '../third_party/skia/include/core', |
98 ], | 97 ], |
99 'conditions': [ | 98 'conditions': [ |
100 [ 'os_posix == 1 and OS != "mac" and OS != "android" and \ | 99 [ 'os_posix == 1 and OS != "mac" and OS != "android" and \ |
101 target_arch != "arm" and target_arch != "mipsel"', { | 100 target_arch != "arm" and target_arch != "mipsel"', { |
102 'cflags': [ | 101 'cflags': [ |
103 '-msse2', | 102 '-msse2', |
104 ], | 103 ], |
105 }], | 104 }], |
106 [ 'target_arch != "arm" and target_arch != "mipsel"', { | 105 [ 'target_arch != "arm" and target_arch != "mipsel"', { |
(...skipping 20 matching lines...) Expand all Loading... |
127 ], | 126 ], |
128 'include_dirs': [ | 127 'include_dirs': [ |
129 '..', | 128 '..', |
130 ], | 129 ], |
131 'sources': [ | 130 'sources': [ |
132 'ext/image_operations_bench.cc', | 131 'ext/image_operations_bench.cc', |
133 ], | 132 ], |
134 }, | 133 }, |
135 ], | 134 ], |
136 } | 135 } |
OLD | NEW |