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 23 matching lines...) Expand all Loading... |
34 'variables': { | 34 'variables': { |
35 'component%': 'static_library', | 35 'component%': 'static_library', |
36 'clang_dir%': 'third_party/llvm-build/Release+Asserts', | 36 'clang_dir%': 'third_party/llvm-build/Release+Asserts', |
37 'clang_xcode%': 0, | 37 'clang_xcode%': 0, |
38 'visibility%': 'hidden', | 38 'visibility%': 'hidden', |
39 'v8_enable_backtrace%': 0, | 39 'v8_enable_backtrace%': 0, |
40 'v8_enable_i18n_support%': 1, | 40 'v8_enable_i18n_support%': 1, |
41 'v8_deprecation_warnings': 1, | 41 'v8_deprecation_warnings': 1, |
42 'msvs_multi_core_compile%': '1', | 42 'msvs_multi_core_compile%': '1', |
43 'mac_deployment_target%': '10.5', | 43 'mac_deployment_target%': '10.5', |
| 44 'release_extra_cflags%': '', |
44 'variables': { | 45 'variables': { |
45 'variables': { | 46 'variables': { |
46 'variables': { | 47 'variables': { |
47 'conditions': [ | 48 'conditions': [ |
48 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ | 49 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ |
49 OS=="netbsd" or OS=="mac" or OS=="qnx" or OS=="aix"', { | 50 OS=="netbsd" or OS=="mac" or OS=="qnx" or OS=="aix"', { |
50 # This handles the Unix platforms we generally deal with. | 51 # This handles the Unix platforms we generally deal with. |
51 # Anything else gets passed through, which probably won't work | 52 # Anything else gets passed through, which probably won't work |
52 # very well; such hosts should pass an explicit target_arch | 53 # very well; such hosts should pass an explicit target_arch |
53 # to gyp. | 54 # to gyp. |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 }], | 190 }], |
190 ], | 191 ], |
191 }, | 192 }, |
192 'Optdebug': { | 193 'Optdebug': { |
193 'inherit_from': [ 'DebugBaseCommon', 'DebugBase1' ], | 194 'inherit_from': [ 'DebugBaseCommon', 'DebugBase1' ], |
194 }, | 195 }, |
195 'Debug': { | 196 'Debug': { |
196 # Xcode insists on this empty entry. | 197 # Xcode insists on this empty entry. |
197 }, | 198 }, |
198 'Release': { | 199 'Release': { |
199 # Xcode insists on this empty entry. | 200 'cflags+': ['<@(release_extra_cflags)'], |
200 }, | 201 }, |
201 }, | 202 }, |
202 'conditions':[ | 203 'conditions':[ |
203 ['(clang==1 or host_clang==1) and OS!="win"', { | 204 ['(clang==1 or host_clang==1) and OS!="win"', { |
204 # This is here so that all files get recompiled after a clang roll and | 205 # This is here so that all files get recompiled after a clang roll and |
205 # when turning clang on or off. | 206 # when turning clang on or off. |
206 # (defines are passed via the command line, and build systems rebuild | 207 # (defines are passed via the command line, and build systems rebuild |
207 # things when their commandline changes). Nothing should ever read this | 208 # things when their commandline changes). Nothing should ever read this |
208 # define. | 209 # define. |
209 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh
--print-revision)'], | 210 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh
--print-revision)'], |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { | 584 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { |
584 'make_global_settings': [ | 585 'make_global_settings': [ |
585 ['CC_wrapper', '<(gomadir)/gomacc'], | 586 ['CC_wrapper', '<(gomadir)/gomacc'], |
586 ['CXX_wrapper', '<(gomadir)/gomacc'], | 587 ['CXX_wrapper', '<(gomadir)/gomacc'], |
587 ['CC.host_wrapper', '<(gomadir)/gomacc'], | 588 ['CC.host_wrapper', '<(gomadir)/gomacc'], |
588 ['CXX.host_wrapper', '<(gomadir)/gomacc'], | 589 ['CXX.host_wrapper', '<(gomadir)/gomacc'], |
589 ], | 590 ], |
590 }], | 591 }], |
591 ], | 592 ], |
592 } | 593 } |
OLD | NEW |