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

Side by Side Diff: third_party/iaccessible2/BUILD.gn

Issue 1226583002: clang/win: Build chromium code without -Wno-incompatible-pointer-types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clang-logical-op-parentheses
Patch Set: 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 assert(is_win) 5 assert(is_win)
6 6
7 import("//build/toolchain/win/midl.gni") 7 import("//build/toolchain/win/midl.gni")
8 8
9 midl("iaccessible2") { 9 midl("iaccessible2") {
10 sources = [ 10 sources = [
(...skipping 12 matching lines...) Expand all
23 configs -= [ "//build/config/compiler:chromium_code" ] 23 configs -= [ "//build/config/compiler:chromium_code" ]
24 configs += [ "//build/config/compiler:no_chromium_code" ] 24 configs += [ "//build/config/compiler:no_chromium_code" ]
25 25
26 defines = [ "REGISTER_PROXY_DLL" ] 26 defines = [ "REGISTER_PROXY_DLL" ]
27 27
28 libs = [ "rpcrt4.lib" ] 28 libs = [ "rpcrt4.lib" ]
29 29
30 deps = [ 30 deps = [
31 ":iaccessible2", 31 ":iaccessible2",
32 ] 32 ]
33
34 config("IAccessible2Proxy_warnings") {
35 if (is_clang) {
36 cflags = [ "-Wno-incompatible-pointer-types" ]
37 }
38 }
39 configs += [ ":IAccessible2Proxy_warnings" ]
33 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698