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

Side by Side Diff: gyp/qcms.gyp

Issue 2014023003: Add exact version of qcms used by Chrome for testing and comparison (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 | « gyp/ports.gyp ('k') | third_party/qcms/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This build file has been adapted for use in Skia. The contents of third_party /qcms
6 # are copied directly from Chromium.
7 {
8 'variables': {
9 'skia_warnings_as_errors': 0,
10 },
11 'targets': [
12 {
13 'target_name': 'qcms',
14 'type': 'static_library',
15
16 # Warning (sign-conversion) fixed upstream by large refactoring. Can be
17 # removed on next roll.
18 'msvs_disabled_warnings': [ 4018 ],
19
20 'direct_dependent_settings': {
21 'include_dirs': [
22 './src',
23 ],
24 },
25
26 'sources': [
27 '../third_party/qcms/src/chain.c',
28 '../third_party/qcms/src/chain.h',
29 '../third_party/qcms/src/iccread.c',
30 '../third_party/qcms/src/matrix.c',
31 '../third_party/qcms/src/matrix.h',
32 '../third_party/qcms/src/qcms.h',
33 '../third_party/qcms/src/qcmsint.h',
34 '../third_party/qcms/src/qcmstypes.h',
35 '../third_party/qcms/src/qcms_util.c',
36 '../third_party/qcms/src/transform.c',
37 '../third_party/qcms/src/transform_util.c',
38 '../third_party/qcms/src/transform_util.h',
39 ],
40 'conditions': [
41 ['"x86" in skia_arch_type', {
42 'defines': [
43 'SSE2_ENABLE',
44 ],
45 'sources': [
46 '../third_party/qcms/src/transform-sse2.c',
47 ],
48 }],
49 ['skia_os == "win"', {
50 'msvs_disabled_warnings': [
51 4056, # overflow in floating-point constant arithmetic (INFINITY)
52 4756, # overflow in constant arithmetic (INFINITY)
53 ],
54 }],
55 ],
56
57 # Disable warnings
58 'cflags': [
59 '-w',
60 ],
61 'xcode_settings': {
62 'WARNING_CFLAGS': [
63 '-w'
64 ],
65 },
66 'msvs_settings': {
67 'VCCLCompilerTool': {
68 'WarningLevel': '0',
69 },
70 },
71
72 },
73 ],
74 }
OLDNEW
« no previous file with comments | « gyp/ports.gyp ('k') | third_party/qcms/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698