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 assert(is_win) | 5 assert(is_win) |
6 | 6 |
7 import("//build/toolchain/win/midl.gni") | 7 import("//build/toolchain/win/midl.gni") |
8 | 8 |
9 midl("iaccessible2") { | 9 midl("iaccessible2") { |
10 sources = [ | 10 sources = [ |
(...skipping 12 matching lines...) Expand all Loading... |
23 configs -= [ "//build/config/compiler:chromium_code" ] | 23 configs -= [ "//build/config/compiler:chromium_code" ] |
24 configs += [ "//build/config/compiler:no_chromium_code" ] | 24 configs += [ "//build/config/compiler:no_chromium_code" ] |
25 | 25 |
26 defines = [ "REGISTER_PROXY_DLL" ] | 26 defines = [ "REGISTER_PROXY_DLL" ] |
27 | 27 |
28 libs = [ "rpcrt4.lib" ] | 28 libs = [ "rpcrt4.lib" ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
31 ":iaccessible2", | 31 ":iaccessible2", |
32 ] | 32 ] |
| 33 |
| 34 config("IAccessible2Proxy_warnings") { |
| 35 if (is_clang) { |
| 36 cflags = [ "-Wno-incompatible-pointer-types" ] |
| 37 } |
| 38 } |
| 39 configs += [ ":IAccessible2Proxy_warnings" ] |
33 } | 40 } |
OLD | NEW |