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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'google_update', | 8 'target_name': 'google_update', |
9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { |
| 11 'clang_warning_flags': [ |
| 12 # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_" |
| 13 '-Wno-extra-tokens', |
| 14 ], |
| 15 }, |
10 'sources': [ | 16 'sources': [ |
11 'google_update_idl.idl', | 17 'google_update_idl.idl', |
12 '<(SHARED_INTERMEDIATE_DIR)/google_update/google_update_idl.h', | 18 '<(SHARED_INTERMEDIATE_DIR)/google_update/google_update_idl.h', |
13 '<(SHARED_INTERMEDIATE_DIR)/google_update/google_update_idl_i.c', | 19 '<(SHARED_INTERMEDIATE_DIR)/google_update/google_update_idl_i.c', |
14 ], | 20 ], |
15 # This target exports a hard dependency because dependent targets may | 21 # This target exports a hard dependency because dependent targets may |
16 # include google_update_idl.h, a generated header. | 22 # include google_update_idl.h, a generated header. |
17 'hard_dependency': 1, | 23 'hard_dependency': 1, |
18 'msvs_settings': { | 24 'msvs_settings': { |
19 'VCMIDLTool': { | 25 'VCMIDLTool': { |
20 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/google_update', | 26 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/google_update', |
21 }, | 27 }, |
22 }, | 28 }, |
23 'direct_dependent_settings': { | 29 'direct_dependent_settings': { |
24 'include_dirs': [ | 30 'include_dirs': [ |
25 '<(SHARED_INTERMEDIATE_DIR)', | 31 '<(SHARED_INTERMEDIATE_DIR)', |
26 ], | 32 ], |
27 }, | 33 }, |
28 }, | 34 }, |
29 ], | 35 ], |
30 } | 36 } |
OLD | NEW |