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 disable_qcms = false |
10 disable_qcms = is_android || is_ios | |
11 | 10 |
12 static_library("qcms") { | 11 static_library("qcms") { |
13 if (disable_qcms) { | 12 if (disable_qcms) { |
14 sources = [ | 13 sources = [ |
15 "src/empty.c", | 14 "src/empty.c", |
16 ] | 15 ] |
17 } else { | 16 } else { |
18 sources = [ | 17 sources = [ |
19 "src/chain.c", | 18 "src/chain.c", |
20 "src/chain.h", | 19 "src/chain.h", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 "//build/config/sanitizers:deps", | 67 "//build/config/sanitizers:deps", |
69 "//build/win:default_exe_manifest", | 68 "//build/win:default_exe_manifest", |
70 "//third_party/qcms", | 69 "//third_party/qcms", |
71 ] | 70 ] |
72 | 71 |
73 configs -= [ "//build/config/compiler:chromium_code" ] | 72 configs -= [ "//build/config/compiler:chromium_code" ] |
74 configs += [ "//build/config/compiler:no_chromium_code" ] | 73 configs += [ "//build/config/compiler:no_chromium_code" ] |
75 public_configs = [ ":qcms_config" ] | 74 public_configs = [ ":qcms_config" ] |
76 } | 75 } |
77 } | 76 } |
OLD | NEW |