OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 'variables': { | 9 'variables': { |
10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 # isn't supported | 219 # isn't supported |
220 'disable_nacl%': 0, | 220 'disable_nacl%': 0, |
221 | 221 |
222 # Set Thumb compilation flags. | 222 # Set Thumb compilation flags. |
223 'arm_thumb%': 0, | 223 'arm_thumb%': 0, |
224 | 224 |
225 # Set ARM fpu compilation flags (only meaningful if armv7==1 and | 225 # Set ARM fpu compilation flags (only meaningful if armv7==1 and |
226 # arm_neon==0). | 226 # arm_neon==0). |
227 'arm_fpu%': 'vfpv3', | 227 'arm_fpu%': 'vfpv3', |
228 | 228 |
| 229 # Enable new NPDevice API. |
| 230 'enable_new_npdevice_api%': 0, |
| 231 |
229 'conditions': [ | 232 'conditions': [ |
230 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 233 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
231 # This will set gcc_version to XY if you are running gcc X.Y.*. | 234 # This will set gcc_version to XY if you are running gcc X.Y.*. |
232 # This is used to tweak build flags for gcc 4.4. | 235 # This is used to tweak build flags for gcc 4.4. |
233 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 236 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
234 # Figure out the python architecture to decide if we build pyauto. | 237 # Figure out the python architecture to decide if we build pyauto. |
235 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l
ib/libpython<(python_ver).so.1.0)', | 238 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l
ib/libpython<(python_ver).so.1.0)', |
236 'conditions': [ | 239 'conditions': [ |
237 ['branding=="Chrome" or linux_chromium_breakpad==1', { | 240 ['branding=="Chrome" or linux_chromium_breakpad==1', { |
238 'linux_breakpad%': 1, | 241 'linux_breakpad%': 1, |
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1220 '/ignore:4199', | 1223 '/ignore:4199', |
1221 '/ignore:4221', | 1224 '/ignore:4221', |
1222 '/nxcompat', | 1225 '/nxcompat', |
1223 ], | 1226 ], |
1224 }, | 1227 }, |
1225 }, | 1228 }, |
1226 }, | 1229 }, |
1227 }, | 1230 }, |
1228 }, | 1231 }, |
1229 }], | 1232 }], |
| 1233 ['enable_new_npdevice_api==1', { |
| 1234 'target_defaults': { |
| 1235 'defines': [ |
| 1236 'ENABLE_NEW_NPDEVICE_API', |
| 1237 ], |
| 1238 }, |
| 1239 }], |
1230 ], | 1240 ], |
1231 'scons_settings': { | 1241 'scons_settings': { |
1232 'sconsbuild_dir': '<(DEPTH)/sconsbuild', | 1242 'sconsbuild_dir': '<(DEPTH)/sconsbuild', |
1233 'tools': ['ar', 'as', 'gcc', 'g++', 'gnulink', 'chromium_builders'], | 1243 'tools': ['ar', 'as', 'gcc', 'g++', 'gnulink', 'chromium_builders'], |
1234 }, | 1244 }, |
1235 'xcode_settings': { | 1245 'xcode_settings': { |
1236 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! | 1246 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! |
1237 # This block adds *project-wide* configuration settings to each project | 1247 # This block adds *project-wide* configuration settings to each project |
1238 # file. It's almost always wrong to put things here. Specify your | 1248 # file. It's almost always wrong to put things here. Specify your |
1239 # custom xcode_settings in target_defaults to add them to targets instead. | 1249 # custom xcode_settings in target_defaults to add them to targets instead. |
(...skipping 17 matching lines...) Expand all Loading... |
1257 # and therefore SYMROOT, needs to be set at the project level. | 1267 # and therefore SYMROOT, needs to be set at the project level. |
1258 'SYMROOT': '<(DEPTH)/xcodebuild', | 1268 'SYMROOT': '<(DEPTH)/xcodebuild', |
1259 }, | 1269 }, |
1260 } | 1270 } |
1261 | 1271 |
1262 # Local Variables: | 1272 # Local Variables: |
1263 # tab-width:2 | 1273 # tab-width:2 |
1264 # indent-tabs-mode:nil | 1274 # indent-tabs-mode:nil |
1265 # End: | 1275 # End: |
1266 # vim: set expandtab tabstop=2 shiftwidth=2: | 1276 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |