Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: google_update/google_update.gyp

Issue 1233453008: Enable -Wextra-tokens on win clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/toolchain/win/midl.gni ('k') | remoting/remoting_host_win.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « build/toolchain/win/midl.gni ('k') | remoting/remoting_host_win.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698