Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: third_party/qcms/BUILD.gn

Issue 1374953003: Expand QCMS tests. Add Munsell test for transform accuracy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 22 matching lines...) Expand all
33 if (is_win) { 33 if (is_win) {
34 cflags = [ 34 cflags = [
35 "/wd4018", # Signed/unsigned mismatch in comparison. 35 "/wd4018", # Signed/unsigned mismatch in comparison.
36 "/wd4056", # Overflow in floating-point constant arithmetic (INFINITY). 36 "/wd4056", # Overflow in floating-point constant arithmetic (INFINITY).
37 "/wd4756", # Overflow in constant arithmetic (INFINITY). 37 "/wd4756", # Overflow in constant arithmetic (INFINITY).
38 ] 38 ]
39 } 39 }
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_tests") {
44 defines = [ "SSE2_ENABLE" ] 44 defines = [ "SSE2_ENABLE" ]
45 sources = [ 45 sources = [
46 "src/tests/qcms_test_main.c",
47 "src/tests/qcms_test_munsell.c",
46 "src/tests/qcms_test_tetra_clut_rgba.c", 48 "src/tests/qcms_test_tetra_clut_rgba.c",
47 ] 49 ]
48 50
49 deps = [ 51 deps = [
50 "//build/config/sanitizers:deps", 52 "//build/config/sanitizers:deps",
51 "//third_party/qcms", 53 "//third_party/qcms",
52 ] 54 ]
53 55
54 configs -= [ "//build/config/compiler:chromium_code" ] 56 configs -= [ "//build/config/compiler:chromium_code" ]
55 configs += [ "//build/config/compiler:no_chromium_code" ] 57 configs += [ "//build/config/compiler:no_chromium_code" ]
56 public_configs = [ ":qcms_config" ] 58 public_configs = [ ":qcms_config" ]
57 } 59 }
58 } 60 }
OLDNEW
« no previous file with comments | « no previous file | third_party/qcms/README.chromium » ('j') | third_party/qcms/src/tests/qcms_test_main.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698