| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 }, | 194 }, |
| 195 }, | 195 }, |
| 196 'conditions':[ | 196 'conditions':[ |
| 197 ['(clang==1 or host_clang==1) and OS!="win"', { | 197 ['(clang==1 or host_clang==1) and OS!="win"', { |
| 198 # This is here so that all files get recompiled after a clang roll and | 198 # This is here so that all files get recompiled after a clang roll and |
| 199 # when turning clang on or off. | 199 # when turning clang on or off. |
| 200 # (defines are passed via the command line, and build systems rebuild | 200 # (defines are passed via the command line, and build systems rebuild |
| 201 # things when their commandline changes). Nothing should ever read this | 201 # things when their commandline changes). Nothing should ever read this |
| 202 # define. | 202 # define. |
| 203 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh
--print-revision)'], | 203 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh
--print-revision)'], |
| 204 'cflags+': [ |
| 205 '-Wno-format-pedantic', |
| 206 ], |
| 204 }], | 207 }], |
| 205 ], | 208 ], |
| 206 'target_conditions': [ | 209 'target_conditions': [ |
| 207 ['v8_code == 0', { | 210 ['v8_code == 0', { |
| 208 'defines!': [ | 211 'defines!': [ |
| 209 'DEBUG', | 212 'DEBUG', |
| 210 ], | 213 ], |
| 211 'conditions': [ | 214 'conditions': [ |
| 212 ['os_posix == 1 and OS != "mac"', { | 215 ['os_posix == 1 and OS != "mac"', { |
| 213 # We don't want to get warnings from third-party code, | 216 # We don't want to get warnings from third-party code, |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { | 577 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { |
| 575 'make_global_settings': [ | 578 'make_global_settings': [ |
| 576 ['CC_wrapper', '<(gomadir)/gomacc'], | 579 ['CC_wrapper', '<(gomadir)/gomacc'], |
| 577 ['CXX_wrapper', '<(gomadir)/gomacc'], | 580 ['CXX_wrapper', '<(gomadir)/gomacc'], |
| 578 ['CC.host_wrapper', '<(gomadir)/gomacc'], | 581 ['CC.host_wrapper', '<(gomadir)/gomacc'], |
| 579 ['CXX.host_wrapper', '<(gomadir)/gomacc'], | 582 ['CXX.host_wrapper', '<(gomadir)/gomacc'], |
| 580 ], | 583 ], |
| 581 }], | 584 }], |
| 582 ], | 585 ], |
| 583 } | 586 } |
| OLD | NEW |