OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... |
29 # | 29 # |
30 { | 30 { |
31 'variables': { | 31 'variables': { |
32 # If set to 1, doesn't compile debug symbols into webcore reducing the | 32 # If set to 1, doesn't compile debug symbols into webcore reducing the |
33 # size of the binary and increasing the speed of gdb. gcc only. | 33 # size of the binary and increasing the speed of gdb. gcc only. |
34 'remove_webcore_debug_symbols%': 0, | 34 'remove_webcore_debug_symbols%': 0, |
35 'enable_oilpan%': 0, | 35 'enable_oilpan%': 0, |
36 # If set to 1 (default) and using clang, the Blink GC plugin will check the | 36 # If set to 1 (default) and using clang, the Blink GC plugin will check the |
37 # usage of the garbage-collection infrastructure during compilation. | 37 # usage of the garbage-collection infrastructure during compilation. |
38 'blink_gc_plugin%': 1, | 38 'blink_gc_plugin%': 1, |
39 # If set to 1 together with blink_gc_plugin, the Blink GC plugin will dump | 39 # Additional flags for the Blink GC plugin. |
40 # points-to graph files for each compilation unit. | 40 'blink_gc_plugin_flags%': '', |
41 'blink_gc_plugin_dump_graph%': 0, | |
42 # If set to 1, the Blink will use the base allocator instead of | 41 # If set to 1, the Blink will use the base allocator instead of |
43 # PartitionAlloc. so that the top of stack-unwinding becomes the caller | 42 # PartitionAlloc. so that the top of stack-unwinding becomes the caller |
44 # which requests memory allocation in blink. | 43 # which requests memory allocation in blink. |
45 'blink_disable_partition_allocator%': 0, | 44 'blink_disable_partition_allocator%': 0, |
46 }, | 45 }, |
47 'targets': [ | 46 'targets': [ |
48 { | 47 { |
49 # GN version: //third_party/WebKit/Source:config | 48 # GN version: //third_party/WebKit/Source:config |
50 # (In GN this is a config rather than a target.) | 49 # (In GN this is a config rather than a target.) |
51 'target_name': 'config', | 50 'target_name': 'config', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 # nullptr) conflict with upcoming c++0x types. | 95 # nullptr) conflict with upcoming c++0x types. |
97 'cflags_cc': ['-Wno-c++0x-compat'], | 96 'cflags_cc': ['-Wno-c++0x-compat'], |
98 }], | 97 }], |
99 ['OS=="linux" and target_arch=="arm"', { | 98 ['OS=="linux" and target_arch=="arm"', { |
100 # Due to a bug in gcc arm, we get warnings about uninitialized | 99 # Due to a bug in gcc arm, we get warnings about uninitialized |
101 # timesNewRoman.unstatic.3258 and colorTransparent.unstatic.4879. | 100 # timesNewRoman.unstatic.3258 and colorTransparent.unstatic.4879. |
102 'cflags': ['-Wno-uninitialized'], | 101 'cflags': ['-Wno-uninitialized'], |
103 }], | 102 }], |
104 # Only enable the blink_gc_plugin when using clang and chrome plugins. | 103 # Only enable the blink_gc_plugin when using clang and chrome plugins. |
105 ['blink_gc_plugin==1 and clang==1 and clang_use_chrome_plugins==1', { | 104 ['blink_gc_plugin==1 and clang==1 and clang_use_chrome_plugins==1', { |
106 'cflags': ['<!@(../../../tools/clang/scripts/blink_gc_plugin_flags.sh
enable-oilpan=<(enable_oilpan) dump-graph=<(blink_gc_plugin_dump_graph))'], | 105 'cflags': ['<!@(../../../tools/clang/scripts/blink_gc_plugin_flags.sh
enable-oilpan=<(enable_oilpan) <(blink_gc_plugin_flags))'], |
107 'xcode_settings': { | 106 'xcode_settings': { |
108 'OTHER_CFLAGS': ['<!@(../../../tools/clang/scripts/blink_gc_plugin_f
lags.sh enable-oilpan=<(enable_oilpan) dump-graph=<(blink_gc_plugin_dump_graph))
'], | 107 'OTHER_CFLAGS': ['<!@(../../../tools/clang/scripts/blink_gc_plugin_f
lags.sh enable-oilpan=<(enable_oilpan) <(blink_gc_plugin_flags))'], |
109 }, | 108 }, |
110 }], | 109 }], |
111 ['blink_disable_partition_allocator==1', { | 110 ['blink_disable_partition_allocator==1', { |
112 'defines': [ | 111 'defines': [ |
113 'MEMORY_TOOL_REPLACES_ALLOCATOR', | 112 'MEMORY_TOOL_REPLACES_ALLOCATOR', |
114 ], | 113 ], |
115 }], | 114 }], |
116 ], | 115 ], |
117 }, | 116 }, |
118 }, | 117 }, |
(...skipping 12 matching lines...) Expand all Loading... |
131 ], | 130 ], |
132 'direct_dependent_settings': { | 131 'direct_dependent_settings': { |
133 'variables': { | 132 'variables': { |
134 'chromium_code': 1, | 133 'chromium_code': 1, |
135 'clang_warning_flags_unset': [ '-Wglobal-constructors' ], | 134 'clang_warning_flags_unset': [ '-Wglobal-constructors' ], |
136 }, | 135 }, |
137 }, | 136 }, |
138 } | 137 } |
139 ], | 138 ], |
140 } | 139 } |
OLD | NEW |