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

Unified Diff: third_party/iaccessible2/BUILD.gn

Issue 1327363003: Roll buildtools in DEPS 565d04e874..f7310ee617 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: un-nest IAccessible2Proxy_warnings Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/iaccessible2/BUILD.gn
diff --git a/third_party/iaccessible2/BUILD.gn b/third_party/iaccessible2/BUILD.gn
index 051fca11e5c333b6fba25e28c4fcac69b7153621..87bcfa520392bc8816186dd3a145b84eb9526e30 100644
--- a/third_party/iaccessible2/BUILD.gn
+++ b/third_party/iaccessible2/BUILD.gn
@@ -12,6 +12,16 @@ midl("iaccessible2") {
]
}
+config("IAccessible2Proxy_warnings") {
+ if (is_clang) {
+ cflags = [
+ # MIDL generated code has a habit of omitting optional braces.
+ "-Wno-missing-braces",
+ "-Wno-incompatible-pointer-types",
+ ]
+ }
+}
+
# Generate a proxy DLL from the generated code.
shared_library("IAccessible2Proxy") {
sources = [
@@ -20,15 +30,6 @@ shared_library("IAccessible2Proxy") {
"IAccessible2Proxy.def",
]
- config("IAccessible2Proxy_warnings") {
- if (is_clang) {
- cflags = [
- # MIDL generated code has a habit of omitting optional braces.
- "-Wno-missing-braces",
- "-Wno-incompatible-pointer-types",
- ]
- }
- }
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":IAccessible2Proxy_warnings" ]
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698