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 # Do not build QCMS on Android or iOS. (See http://crbug.com/577155) | 9 # Do not build QCMS on Android or iOS. (See http://crbug.com/577155) |
10 disable_qcms = is_android || is_ios | 10 disable_qcms = is_android || is_ios |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 if (!disable_qcms) { | 52 if (!disable_qcms) { |
53 executable("qcms_tests") { | 53 executable("qcms_tests") { |
54 if (current_cpu == "x86" || current_cpu == "x64") { | 54 if (current_cpu == "x86" || current_cpu == "x64") { |
55 defines = [ "SSE2_ENABLE" ] | 55 defines = [ "SSE2_ENABLE" ] |
56 } | 56 } |
57 sources = [ | 57 sources = [ |
58 "src/tests/qcms_test_internal_srgb.c", | 58 "src/tests/qcms_test_internal_srgb.c", |
59 "src/tests/qcms_test_main.c", | 59 "src/tests/qcms_test_main.c", |
60 "src/tests/qcms_test_munsell.c", | 60 "src/tests/qcms_test_munsell.c", |
61 "src/tests/qcms_test_ntsc_gamut.c", | 61 "src/tests/qcms_test_ntsc_gamut.c", |
62 "src/tests/qcms_test_output_trc.c", | |
63 "src/tests/qcms_test_tetra_clut_rgba.c", | 62 "src/tests/qcms_test_tetra_clut_rgba.c", |
64 "src/tests/qcms_test_util.c", | |
65 ] | 63 ] |
66 | 64 |
67 deps = [ | 65 deps = [ |
68 "//build/config/sanitizers:deps", | 66 "//build/config/sanitizers:deps", |
69 "//third_party/qcms", | 67 "//third_party/qcms", |
70 ] | 68 ] |
71 | 69 |
72 configs -= [ "//build/config/compiler:chromium_code" ] | 70 configs -= [ "//build/config/compiler:chromium_code" ] |
73 configs += [ "//build/config/compiler:no_chromium_code" ] | 71 configs += [ "//build/config/compiler:no_chromium_code" ] |
74 public_configs = [ ":qcms_config" ] | 72 public_configs = [ ":qcms_config" ] |
75 } | 73 } |
76 } | 74 } |
OLD | NEW |