 Chromium Code Reviews
 Chromium Code Reviews 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
    
  
    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| OLD | NEW | 
|---|---|
| 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 = [ | 
| 11 "ia2_api_all.idl", | 11 "ia2_api_all.idl", | 
| 12 ] | 12 ] | 
| 13 } | 13 } | 
| 14 | 14 | 
| 15 # Generate a proxy DLL from the generated code. | 15 # Generate a proxy DLL from the generated code. | 
| 16 shared_library("IAccessible2Proxy") { | 16 shared_library("IAccessible2Proxy") { | 
| 17 sources = [ | 17 sources = [ | 
| 18 "$target_gen_dir/ia2_api_all.dlldata.c", | 18 "$target_gen_dir/ia2_api_all.dlldata.c", | 
| 19 "$target_gen_dir/ia2_api_all_p.c", | 19 "$target_gen_dir/ia2_api_all_p.c", | 
| 20 "IAccessible2Proxy.def", | 20 "IAccessible2Proxy.def", | 
| 21 ] | 21 ] | 
| 22 | 22 | 
| 23 defines = [ "REGISTER_PROXY_DLL" ] | 23 defines = [ "REGISTER_PROXY_DLL" ] | 
| 24 | 24 | 
| 25 libs = [ "rpcrt4.lib" ] | 25 libs = [ "rpcrt4.lib" ] | 
| 26 | 26 | 
| 27 deps = [ | 27 deps = [ | 
| 28 ":iaccessible2", | 28 ":iaccessible2", | 
| 29 ] | 29 ] | 
| 30 | |
| 31 configs -= [ "//build/config/compiler:chromium_code" ] | |
| 32 configs += [ "//build/config/compiler:no_chromium_code" ] | |
| 
Nico
2015/07/06 17:20:19
This is already landing in https://codereview.chro
 | |
| 30 } | 33 } | 
| OLD | NEW |