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

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

Issue 1703553002: [qcms] Provide an API to compute xyY gamut area relative to NTSC 1953 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed whitespace and variable rename Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/qcms/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # 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
11 11
12 source_set("qcms") { 12 source_set("qcms") {
13 if (disable_qcms) { 13 if (disable_qcms) {
14 sources = [ 14 sources = [
15 "src/empty.c", 15 "src/empty.c",
16 ] 16 ]
17 } else { 17 } else {
18 sources = [ 18 sources = [
19 "src/chain.c", 19 "src/chain.c",
20 "src/chain.h", 20 "src/chain.h",
21 "src/iccread.c", 21 "src/iccread.c",
22 "src/matrix.c", 22 "src/matrix.c",
23 "src/matrix.h", 23 "src/matrix.h",
24 "src/qcms.h", 24 "src/qcms.h",
25 "src/qcms_util.c",
25 "src/qcmsint.h", 26 "src/qcmsint.h",
26 "src/qcmstypes.h", 27 "src/qcmstypes.h",
27 "src/transform.c", 28 "src/transform.c",
28 "src/transform_util.c", 29 "src/transform_util.c",
29 "src/transform_util.h", 30 "src/transform_util.h",
30 ] 31 ]
31 32
32 if (current_cpu == "x86" || current_cpu == "x64") { 33 if (current_cpu == "x86" || current_cpu == "x64") {
33 defines = [ "SSE2_ENABLE" ] 34 defines = [ "SSE2_ENABLE" ]
34 sources += [ "src/transform-sse2.c" ] 35 sources += [ "src/transform-sse2.c" ]
(...skipping 13 matching lines...) Expand all
48 } 49 }
49 } 50 }
50 51
51 if (!disable_qcms && (current_cpu == "x86" || current_cpu == "x64")) { 52 if (!disable_qcms && (current_cpu == "x86" || current_cpu == "x64")) {
52 executable("qcms_tests") { 53 executable("qcms_tests") {
53 defines = [ "SSE2_ENABLE" ] 54 defines = [ "SSE2_ENABLE" ]
54 sources = [ 55 sources = [
55 "src/tests/qcms_test_internal_srgb.c", 56 "src/tests/qcms_test_internal_srgb.c",
56 "src/tests/qcms_test_main.c", 57 "src/tests/qcms_test_main.c",
57 "src/tests/qcms_test_munsell.c", 58 "src/tests/qcms_test_munsell.c",
59 "src/tests/qcms_test_ntsc_gamut.c",
58 "src/tests/qcms_test_tetra_clut_rgba.c", 60 "src/tests/qcms_test_tetra_clut_rgba.c",
59 ] 61 ]
60 62
61 deps = [ 63 deps = [
62 "//build/config/sanitizers:deps", 64 "//build/config/sanitizers:deps",
63 "//third_party/qcms", 65 "//third_party/qcms",
64 ] 66 ]
65 67
66 configs -= [ "//build/config/compiler:chromium_code" ] 68 configs -= [ "//build/config/compiler:chromium_code" ]
67 configs += [ "//build/config/compiler:no_chromium_code" ] 69 configs += [ "//build/config/compiler:no_chromium_code" ]
68 public_configs = [ ":qcms_config" ] 70 public_configs = [ ":qcms_config" ]
69 } 71 }
70 } 72 }
OLDNEW
« no previous file with comments | « no previous file | third_party/qcms/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698