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
3 # found in the LICENSE file.
7 import("//build/toolchain/win/midl.gni")
15 # Generate a proxy DLL from the generated code.
16 shared_library("IAccessible2Proxy") {
18 "$target_gen_dir/ia2_api_all.dlldata.c",
19 "$target_gen_dir/ia2_api_all_p.c",
20 "IAccessible2Proxy.def",
23 config("IAccessible2Proxy_warnings") {
26 # MIDL generated code has a habit of omitting optional braces.
27 "-Wno-missing-braces",
28 "-Wno-incompatible-pointer-types",
32 configs -= [ "//build/config/compiler:chromium_code" ]
33 configs += [ "//build/config/compiler:no_chromium_code" ]
34 configs += [ ":IAccessible2Proxy_warnings" ]
36 defines = [ "REGISTER_PROXY_DLL" ]
38 libs = [ "rpcrt4.lib" ]
42 "//build/config/sanitizers:deps",