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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 'android_webview_build%': '<(android_webview_build)', | 68 'android_webview_build%': '<(android_webview_build)', |
69 'OS': 'android', | 69 'OS': 'android', |
70 }, # variables | 70 }, # variables |
71 'target_defaults': { | 71 'target_defaults': { |
72 'defines': [ | 72 'defines': [ |
73 'ANDROID', | 73 'ANDROID', |
74 'V8_ANDROID_LOG_STDOUT', | 74 'V8_ANDROID_LOG_STDOUT', |
75 ], | 75 ], |
76 'configurations': { | 76 'configurations': { |
77 'Release': { | 77 'Release': { |
78 'cflags!': [ | |
79 '-O2', | |
80 '-Os', | |
81 ], | |
82 'cflags': [ | 78 'cflags': [ |
83 '-fdata-sections', | |
84 '-ffunction-sections', | |
85 '-fomit-frame-pointer', | 79 '-fomit-frame-pointer', |
86 '-O3', | |
87 ], | 80 ], |
88 }, # Release | 81 }, # Release |
89 }, # configurations | 82 }, # configurations |
90 'cflags': [ '-Wno-abi', '-Wall', '-W', '-Wno-unused-parameter', | 83 'cflags': [ '-Wno-abi', '-Wall', '-W', '-Wno-unused-parameter', |
91 '-Wnon-virtual-dtor', '-fno-rtti', '-fno-exceptions', ], | 84 '-Wnon-virtual-dtor', '-fno-rtti', '-fno-exceptions', ], |
92 'target_conditions': [ | 85 'target_conditions': [ |
93 ['_toolset=="target"', { | 86 ['_toolset=="target"', { |
94 'cflags!': [ | 87 'cflags!': [ |
95 '-pthread', # Not supported by Android toolchain. | 88 '-pthread', # Not supported by Android toolchain. |
96 ], | 89 ], |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 'ldflags!': [ | 243 'ldflags!': [ |
251 '-Wl,-z,noexecstack', | 244 '-Wl,-z,noexecstack', |
252 '-Wl,--gc-sections', | 245 '-Wl,--gc-sections', |
253 '-Wl,-O1', | 246 '-Wl,-O1', |
254 '-Wl,--as-needed', | 247 '-Wl,--as-needed', |
255 ], | 248 ], |
256 }], | 249 }], |
257 ], # target_conditions | 250 ], # target_conditions |
258 }, # target_defaults | 251 }, # target_defaults |
259 } | 252 } |
OLD | NEW |