| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 cflags = [ "-mssse3" ] | 151 cflags = [ "-mssse3" ] |
| 152 } | 152 } |
| 153 | 153 |
| 154 source_set("opts_sse41") { | 154 source_set("opts_sse41") { |
| 155 configs += skia_library_configs | 155 configs += skia_library_configs |
| 156 | 156 |
| 157 sources = opts_gypi.sse41_sources | 157 sources = opts_gypi.sse41_sources |
| 158 cflags = [ "-msse4.1" ] | 158 cflags = [ "-msse4.1" ] |
| 159 } | 159 } |
| 160 | 160 |
| 161 source_set("opts_sse42") { |
| 162 configs += skia_library_configs |
| 163 |
| 164 sources = opts_gypi.sse42_sources |
| 165 cflags = [ "-msse4.2" ] |
| 166 } |
| 167 |
| 161 source_set("opts_avx") { | 168 source_set("opts_avx") { |
| 162 configs += skia_library_configs | 169 configs += skia_library_configs |
| 163 | 170 |
| 164 sources = opts_gypi.avx_sources | 171 sources = opts_gypi.avx_sources |
| 165 cflags = [ "-mavx" ] | 172 cflags = [ "-mavx" ] |
| 166 } | 173 } |
| 167 | 174 |
| 168 component("skia") { | 175 component("skia") { |
| 169 public_configs = [ ":skia_public" ] | 176 public_configs = [ ":skia_public" ] |
| 170 configs += skia_library_configs | 177 configs += skia_library_configs |
| 171 | 178 |
| 172 deps = [ | 179 deps = [ |
| 173 ":opts_avx", | 180 ":opts_avx", |
| 174 ":opts_sse41", | 181 ":opts_sse41", |
| 182 ":opts_sse42", |
| 175 ":opts_ssse3", | 183 ":opts_ssse3", |
| 176 "//third_party/expat", | 184 "//third_party/expat", |
| 177 "//third_party/giflib", | 185 "//third_party/giflib", |
| 178 "//third_party/libjpeg_turbo", | 186 "//third_party/libjpeg_turbo", |
| 179 "//third_party/libpng", | 187 "//third_party/libpng", |
| 180 "//third_party/libwebp", | 188 "//third_party/libwebp", |
| 181 "//third_party/sfntly", | 189 "//third_party/sfntly", |
| 182 "//third_party/zlib", | 190 "//third_party/zlib", |
| 183 ] | 191 ] |
| 184 | 192 |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 "tools/SkShaper_harfbuzz.cpp", | 590 "tools/SkShaper_harfbuzz.cpp", |
| 583 "tools/using_skia_and_harfbuzz.cpp", | 591 "tools/using_skia_and_harfbuzz.cpp", |
| 584 ] | 592 ] |
| 585 deps = [ | 593 deps = [ |
| 586 ":skia", | 594 ":skia", |
| 587 "//third_party/harfbuzz", | 595 "//third_party/harfbuzz", |
| 588 ] | 596 ] |
| 589 testonly = true | 597 testonly = true |
| 590 } | 598 } |
| 591 } | 599 } |
| OLD | NEW |