| OLD | NEW |
| 1 # Copyright 2014 The LibYuv Project Authors. All rights reserved. | 1 # Copyright 2014 The LibYuv Project Authors. All rights reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
| 10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 "source/scale.cc", | 72 "source/scale.cc", |
| 73 "source/scale_any.cc", | 73 "source/scale_any.cc", |
| 74 "source/scale_argb.cc", | 74 "source/scale_argb.cc", |
| 75 "source/scale_common.cc", | 75 "source/scale_common.cc", |
| 76 "source/scale_mips.cc", | 76 "source/scale_mips.cc", |
| 77 "source/scale_gcc.cc", | 77 "source/scale_gcc.cc", |
| 78 "source/scale_win.cc", | 78 "source/scale_win.cc", |
| 79 "source/video_common.cc", | 79 "source/video_common.cc", |
| 80 ] | 80 ] |
| 81 | 81 |
| 82 configs -= [ "//build/config/compiler:chromium_code" ] | 82 public_configs = [ ":libyuv_config" ] |
| 83 configs += [ "//build/config/compiler:no_chromium_code" ] | |
| 84 | |
| 85 public_configs = [ ":libyuv_config" ] | |
| 86 | 83 |
| 87 defines = [] | 84 defines = [] |
| 88 | 85 |
| 89 if (!is_ios) { | 86 if (!is_ios) { |
| 90 defines += [ "HAVE_JPEG" ] | 87 defines += [ "HAVE_JPEG" ] |
| 91 } | 88 } |
| 92 | 89 |
| 93 if (is_msan) { | 90 if (is_msan) { |
| 94 # MemorySanitizer does not support assembly code yet. | 91 # MemorySanitizer does not support assembly code yet. |
| 95 # http://crbug.com/344505 | 92 # http://crbug.com/344505 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 126 ] | 123 ] |
| 127 | 124 |
| 128 public_configs = [ ":libyuv_config" ] | 125 public_configs = [ ":libyuv_config" ] |
| 129 | 126 |
| 130 if (current_cpu != "arm64") { | 127 if (current_cpu != "arm64") { |
| 131 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] | 128 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] |
| 132 cflags = [ "-mfpu=neon" ] | 129 cflags = [ "-mfpu=neon" ] |
| 133 } | 130 } |
| 134 } | 131 } |
| 135 } | 132 } |
| OLD | NEW |