| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 config("qcms_config") { | 5 config("qcms_config") { |
| 6 include_dirs = [ "src" ] | 6 include_dirs = [ "src" ] |
| 7 } | 7 } |
| 8 | 8 |
| 9 source_set("qcms") { | 9 source_set("qcms") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 } | 40 } |
| 41 | 41 |
| 42 if (current_cpu == "x86" || current_cpu == "x64") { | 42 if (current_cpu == "x86" || current_cpu == "x64") { |
| 43 executable("qcms_test") { | 43 executable("qcms_test") { |
| 44 defines = [ "SSE2_ENABLE" ] | 44 defines = [ "SSE2_ENABLE" ] |
| 45 sources = [ | 45 sources = [ |
| 46 "src/tests/qcms_test_tetra_clut_rgba.c", | 46 "src/tests/qcms_test_tetra_clut_rgba.c", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 deps = [ | 49 deps = [ |
| 50 "//build/config/sanitizers:deps", |
| 50 "//third_party/qcms", | 51 "//third_party/qcms", |
| 51 ] | 52 ] |
| 52 | 53 |
| 53 configs -= [ "//build/config/compiler:chromium_code" ] | 54 configs -= [ "//build/config/compiler:chromium_code" ] |
| 54 configs += [ "//build/config/compiler:no_chromium_code" ] | 55 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 55 public_configs = [ ":qcms_config" ] | 56 public_configs = [ ":qcms_config" ] |
| 56 } | 57 } |
| 57 } | 58 } |
| OLD | NEW |