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

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

Issue 2152033002: Convert third_party source sets to static libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios Created 4 years, 5 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 | « third_party/protobuf/BUILD.gn ('k') | third_party/smhasher/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
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 static_library("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",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 "//build/config/sanitizers:deps", 68 "//build/config/sanitizers:deps",
69 "//build/win:default_exe_manifest", 69 "//build/win:default_exe_manifest",
70 "//third_party/qcms", 70 "//third_party/qcms",
71 ] 71 ]
72 72
73 configs -= [ "//build/config/compiler:chromium_code" ] 73 configs -= [ "//build/config/compiler:chromium_code" ]
74 configs += [ "//build/config/compiler:no_chromium_code" ] 74 configs += [ "//build/config/compiler:no_chromium_code" ]
75 public_configs = [ ":qcms_config" ] 75 public_configs = [ ":qcms_config" ]
76 } 76 }
77 } 77 }
OLDNEW
« no previous file with comments | « third_party/protobuf/BUILD.gn ('k') | third_party/smhasher/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698