| OLD | NEW |
| 1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 declare_args() { | 6 declare_args() { |
| 7 } | 7 } |
| 8 | 8 |
| 9 skia_public_includes = [ | 9 skia_public_includes = [ |
| 10 "include/android", | 10 "include/android", |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 cflags = [ "-mssse3" ] | 147 cflags = [ "-mssse3" ] |
| 148 } | 148 } |
| 149 | 149 |
| 150 source_set("opts_sse41") { | 150 source_set("opts_sse41") { |
| 151 configs += skia_library_configs | 151 configs += skia_library_configs |
| 152 | 152 |
| 153 sources = opts_gypi.sse41_sources | 153 sources = opts_gypi.sse41_sources |
| 154 cflags = [ "-msse4.1" ] | 154 cflags = [ "-msse4.1" ] |
| 155 } | 155 } |
| 156 | 156 |
| 157 source_set("opts_sse42") { |
| 158 configs += skia_library_configs |
| 159 |
| 160 sources = opts_gypi.sse42_sources |
| 161 cflags = [ "-msse4.2" ] |
| 162 } |
| 163 |
| 157 source_set("opts_avx") { | 164 source_set("opts_avx") { |
| 158 configs += skia_library_configs | 165 configs += skia_library_configs |
| 159 | 166 |
| 160 sources = opts_gypi.avx_sources | 167 sources = opts_gypi.avx_sources |
| 161 cflags = [ "-mavx" ] | 168 cflags = [ "-mavx" ] |
| 162 } | 169 } |
| 163 | 170 |
| 164 component("skia") { | 171 component("skia") { |
| 165 public_configs = [ ":skia_public" ] | 172 public_configs = [ ":skia_public" ] |
| 166 configs += skia_library_configs | 173 configs += skia_library_configs |
| 167 | 174 |
| 168 deps = [ | 175 deps = [ |
| 169 ":opts_avx", | 176 ":opts_avx", |
| 170 ":opts_sse41", | 177 ":opts_sse41", |
| 178 ":opts_sse42", |
| 171 ":opts_ssse3", | 179 ":opts_ssse3", |
| 172 "//third_party/expat", | 180 "//third_party/expat", |
| 173 "//third_party/giflib", | 181 "//third_party/giflib", |
| 174 "//third_party/libjpeg_turbo", | 182 "//third_party/libjpeg_turbo", |
| 175 "//third_party/libpng", | 183 "//third_party/libpng", |
| 176 "//third_party/libwebp", | 184 "//third_party/libwebp", |
| 177 "//third_party/sfntly", | 185 "//third_party/sfntly", |
| 178 "//third_party/zlib", | 186 "//third_party/zlib", |
| 179 ] | 187 ] |
| 180 | 188 |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 "tools/SkShaper_harfbuzz.cpp", | 562 "tools/SkShaper_harfbuzz.cpp", |
| 555 "tools/using_skia_and_harfbuzz.cpp", | 563 "tools/using_skia_and_harfbuzz.cpp", |
| 556 ] | 564 ] |
| 557 deps = [ | 565 deps = [ |
| 558 ":skia", | 566 ":skia", |
| 559 "//third_party/harfbuzz", | 567 "//third_party/harfbuzz", |
| 560 ] | 568 ] |
| 561 testonly = true | 569 testonly = true |
| 562 } | 570 } |
| 563 } | 571 } |
| OLD | NEW |