| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 5 { |
| 6 'includes': [ | 6 'includes': [ |
| 7 '../build/common.gypi', | 7 '../build/common.gypi', |
| 8 ], | 8 ], |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 [ 'OS=="mac"', { | 10 [ 'OS=="mac"', { |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 }, | 203 }, |
| 204 'direct_dependent_settings': { | 204 'direct_dependent_settings': { |
| 205 'include_dirs': [ | 205 'include_dirs': [ |
| 206 'src', | 206 'src', |
| 207 ], | 207 ], |
| 208 }, | 208 }, |
| 209 }, | 209 }, |
| 210 ], | 210 ], |
| 211 }], | 211 }], |
| 212 [ 'OS=="linux"', { | 212 [ 'OS=="linux"', { |
| 213 'conditions': [ |
| 214 # Tools needed for archiving official build symbols. |
| 215 ['branding=="Chrome"', { |
| 216 'targets': [ |
| 217 { |
| 218 'target_name': 'symupload', |
| 219 'type': 'executable', |
| 220 |
| 221 # This uses the system libcurl, so don't use the default 32-bit |
| 222 # compile flags when building on a 64-bit machine. |
| 223 'variables': { |
| 224 'host_arch': '<!(uname -m)', |
| 225 }, |
| 226 'conditions': [ |
| 227 ['host_arch=="x86_64"', { |
| 228 'cflags!': ['-m32', '-march=pentium4', '-msse2', |
| 229 '-mfpmath=sse'], |
| 230 'ldflags!': ['-m32'], |
| 231 'cflags': ['-O2'], |
| 232 }], |
| 233 ], |
| 234 |
| 235 'sources': [ |
| 236 'src/tools/linux/symupload/sym_upload.cc', |
| 237 'src/common/linux/http_upload.cc', |
| 238 ], |
| 239 'include_dirs': [ |
| 240 'src', |
| 241 ], |
| 242 'link_settings': { |
| 243 'libraries': [ |
| 244 '-ldl', |
| 245 ], |
| 246 }, |
| 247 }, |
| 248 { |
| 249 'target_name': 'dump_syms', |
| 250 'type': 'executable', |
| 251 |
| 252 'sources': [ |
| 253 'linux/dump_syms.cc', |
| 254 'linux/dump_symbols.cc', |
| 255 'linux/dump_symbols.h', |
| 256 'linux/file_id.cc', |
| 257 'linux/file_id.h', |
| 258 ], |
| 259 |
| 260 'include_dirs': [ |
| 261 'src', |
| 262 '..', |
| 263 ], |
| 264 }, |
| 265 ], |
| 266 }], |
| 267 ], |
| 213 'targets': [ | 268 'targets': [ |
| 214 { | 269 { |
| 215 'target_name': 'breakpad_client', | 270 'target_name': 'breakpad_client', |
| 216 'type': '<(library)', | 271 'type': '<(library)', |
| 217 | 272 |
| 218 'sources': [ | 273 'sources': [ |
| 219 'linux/exception_handler.cc', | 274 'linux/exception_handler.cc', |
| 220 'linux/linux_dumper.cc', | 275 'linux/linux_dumper.cc', |
| 221 'linux/minidump_writer.cc', | 276 'linux/minidump_writer.cc', |
| 222 'src/common/linux/guid_creator.cc', | 277 'src/common/linux/guid_creator.cc', |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 | 335 |
| 281 'sources': [ | 336 'sources': [ |
| 282 'linux/minidump-2-core.cc', | 337 'linux/minidump-2-core.cc', |
| 283 ], | 338 ], |
| 284 | 339 |
| 285 'include_dirs': [ | 340 'include_dirs': [ |
| 286 'src', | 341 'src', |
| 287 '..', | 342 '..', |
| 288 ], | 343 ], |
| 289 }, | 344 }, |
| 290 # This needs libcurl, which means that it cannot be built with the default | |
| 291 # configuration as we don't have 32-bit libcurl. Uncomment this and use | |
| 292 # BUILDTYPE=Tool to build with the default host config. | |
| 293 # { | |
| 294 # 'target_name': 'symupload', | |
| 295 # 'type': 'executable', | |
| 296 # | |
| 297 # 'sources': [ | |
| 298 # 'src/tools/linux/symupload/sym_upload.cc', | |
| 299 # 'src/common/linux/http_upload.cc', | |
| 300 # ], | |
| 301 # 'include_dirs': [ | |
| 302 # 'src', | |
| 303 # ], | |
| 304 # 'link_settings': { | |
| 305 # 'libraries': [ | |
| 306 # '-ldl', | |
| 307 # ], | |
| 308 # }, | |
| 309 # }, | |
| 310 # { | |
| 311 # 'target_name': 'dump_syms', | |
| 312 # 'type': 'executable', | |
| 313 # | |
| 314 # 'sources': [ | |
| 315 # 'linux/dump_syms.cc', | |
| 316 # 'linux/dump_symbols.cc', | |
| 317 # 'linux/dump_symbols.h', | |
| 318 # 'linux/file_id.cc', | |
| 319 # 'linux/file_id.h', | |
| 320 # ], | |
| 321 # | |
| 322 # 'include_dirs': [ | |
| 323 # 'src', | |
| 324 # '..', | |
| 325 # ], | |
| 326 # }, | |
| 327 ], | 345 ], |
| 328 }], | 346 }], |
| 329 ], | 347 ], |
| 330 } | 348 } |
| OLD | NEW |