OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/iaccessible2', | 7 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/iaccessible2', |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'iaccessible2', | 11 'target_name': 'iaccessible2', |
12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'variables': { |
| 14 'clang_warning_flags': [ |
| 15 # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_" |
| 16 '-Wno-extra-tokens', |
| 17 ], |
| 18 }, |
13 'sources': [ | 19 'sources': [ |
14 'ia2_api_all.idl', | 20 'ia2_api_all.idl', |
15 '<(midl_out_dir)/ia2_api_all.h', | 21 '<(midl_out_dir)/ia2_api_all.h', |
16 '<(midl_out_dir)/ia2_api_all_i.c', | 22 '<(midl_out_dir)/ia2_api_all_i.c', |
17 ], | 23 ], |
18 'hard_dependency': 1, | 24 'hard_dependency': 1, |
19 'msvs_settings': { | 25 'msvs_settings': { |
20 'VCMIDLTool': { | 26 'VCMIDLTool': { |
21 'OutputDirectory': '<(midl_out_dir)', | 27 'OutputDirectory': '<(midl_out_dir)', |
22 'DLLDataFileName': 'dlldata.c', | 28 'DLLDataFileName': 'dlldata.c', |
(...skipping 21 matching lines...) Expand all Loading... |
44 ], | 50 ], |
45 }, | 51 }, |
46 'variables': { | 52 'variables': { |
47 'clang_warning_flags': [ | 53 'clang_warning_flags': [ |
48 '-Wno-incompatible-pointer-types', | 54 '-Wno-incompatible-pointer-types', |
49 ] | 55 ] |
50 }, | 56 }, |
51 }, | 57 }, |
52 ], | 58 ], |
53 } | 59 } |
OLD | NEW |