1 # Copyright (c) 2012 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. 4 5 { 6 'variables': { 7 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/iaccessible2', 8 }, 9 'targets': [ 10 { 11 'target_name': 'iaccessible2', 12 'type': 'static_library', 13 'sources': [ 14 'ia2_api_all.idl', 15 '<(midl_out_dir)/ia2_api_all.h', 16 '<(midl_out_dir)/ia2_api_all_i.c', 17 ], 18 'hard_dependency': 1, 19 'msvs_settings': { 20 'VCMIDLTool': { 21 'OutputDirectory': '<(midl_out_dir)', 22 'DLLDataFileName': 'dlldata.c', 23 }, 24 }, 25 'direct_dependent_settings': { 26 'include_dirs': [ 27 '<(SHARED_INTERMEDIATE_DIR)', 28 ], 29 }, 30 }, 31 { 32 'target_name': 'IAccessible2Proxy', 33 'type': 'shared_library', 34 'defines': [ 'REGISTER_PROXY_DLL' ], 35 'dependencies': [ 'iaccessible2' ], 36 'sources': [ 37 'IAccessible2Proxy.def', 38 '<(midl_out_dir)/dlldata.c', 39 '<(midl_out_dir)/ia2_api_all_p.c', 40 ], 41 'link_settings': { 42 'libraries': [ 43 '-lrpcrt4.lib', 44 ], 45 }, 46 }, 47 ], 48 } 49