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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/ports.gyp ('k') | third_party/qcms/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/qcms.gyp
diff --git a/gyp/qcms.gyp b/gyp/qcms.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..ebd3fa4c84d898f48ae5c87cb06cd4b5490b313e
--- /dev/null
+++ b/gyp/qcms.gyp
@@ -0,0 +1,74 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This build file has been adapted for use in Skia. The contents of third_party/qcms
+# are copied directly from Chromium.
+{
+ 'variables': {
+ 'skia_warnings_as_errors': 0,
+ },
+ 'targets': [
+ {
+ 'target_name': 'qcms',
+ 'type': 'static_library',
+
+ # Warning (sign-conversion) fixed upstream by large refactoring. Can be
+ # removed on next roll.
+ 'msvs_disabled_warnings': [ 4018 ],
+
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ './src',
+ ],
+ },
+
+ 'sources': [
+ '../third_party/qcms/src/chain.c',
+ '../third_party/qcms/src/chain.h',
+ '../third_party/qcms/src/iccread.c',
+ '../third_party/qcms/src/matrix.c',
+ '../third_party/qcms/src/matrix.h',
+ '../third_party/qcms/src/qcms.h',
+ '../third_party/qcms/src/qcmsint.h',
+ '../third_party/qcms/src/qcmstypes.h',
+ '../third_party/qcms/src/qcms_util.c',
+ '../third_party/qcms/src/transform.c',
+ '../third_party/qcms/src/transform_util.c',
+ '../third_party/qcms/src/transform_util.h',
+ ],
+ 'conditions': [
+ ['"x86" in skia_arch_type', {
+ 'defines': [
+ 'SSE2_ENABLE',
+ ],
+ 'sources': [
+ '../third_party/qcms/src/transform-sse2.c',
+ ],
+ }],
+ ['skia_os == "win"', {
+ 'msvs_disabled_warnings': [
+ 4056, # overflow in floating-point constant arithmetic (INFINITY)
+ 4756, # overflow in constant arithmetic (INFINITY)
+ ],
+ }],
+ ],
+
+ # Disable warnings
+ 'cflags': [
+ '-w',
+ ],
+ 'xcode_settings': {
+ 'WARNING_CFLAGS': [
+ '-w'
+ ],
+ },
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'WarningLevel': '0',
+ },
+ },
+
+ },
+ ],
+}
« 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