OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 # This code gets run a lot and debugged rarely, so it should be fast | 8 # This code gets run a lot and debugged rarely, so it should be fast |
9 # by default. See http://crbug.com/388949. | 9 # by default. See http://crbug.com/388949. |
10 'debug_optimize': '2', | 10 'debug_optimize': '2', |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 }], | 351 }], |
352 ['order_profiling != 0', { | 352 ['order_profiling != 0', { |
353 'target_conditions' : [ | 353 'target_conditions' : [ |
354 ['_toolset=="target"', { | 354 ['_toolset=="target"', { |
355 'cflags!': [ '-finstrument-functions' ], | 355 'cflags!': [ '-finstrument-functions' ], |
356 }], | 356 }], |
357 ], | 357 ], |
358 }], | 358 }], |
359 ], # conditions of 'allocator' target. | 359 ], # conditions of 'allocator' target. |
360 }, # 'allocator' target. | 360 }, # 'allocator' target. |
361 { | 361 ], # targets. |
362 'target_name': 'allocator_extension_thunks', | |
363 'type': 'static_library', | |
364 'sources': [ | |
365 'allocator_extension_thunks.cc', | |
366 'allocator_extension_thunks.h', | |
367 ], | |
368 'toolsets': ['host', 'target'], | |
369 'include_dirs': [ | |
370 '../../' | |
371 ], | |
372 }, | |
373 ], | |
374 'conditions': [ | 362 'conditions': [ |
375 ['OS=="win" and component!="shared_library"', { | 363 ['OS=="win" and component!="shared_library"', { |
376 'targets': [ | 364 'targets': [ |
377 { | 365 { |
378 'target_name': 'libcmt', | 366 'target_name': 'libcmt', |
379 'type': 'none', | 367 'type': 'none', |
380 'actions': [ | 368 'actions': [ |
381 { | 369 { |
382 'action_name': 'libcmt', | 370 'action_name': 'libcmt', |
383 'inputs': [ | 371 'inputs': [ |
384 'prep_libc.py', | 372 'prep_libc.py', |
385 ], | 373 ], |
386 'outputs': [ | 374 'outputs': [ |
387 '<(SHARED_INTERMEDIATE_DIR)/allocator/libcmt.lib', | 375 '<(SHARED_INTERMEDIATE_DIR)/allocator/libcmt.lib', |
388 ], | 376 ], |
389 'action': [ | 377 'action': [ |
390 'python', | 378 'python', |
391 'prep_libc.py', | 379 'prep_libc.py', |
392 '$(VCInstallDir)lib', | 380 '$(VCInstallDir)lib', |
393 '<(SHARED_INTERMEDIATE_DIR)/allocator', | 381 '<(SHARED_INTERMEDIATE_DIR)/allocator', |
394 '<(target_arch)', | 382 '<(target_arch)', |
395 ], | 383 ], |
396 }, | 384 }, |
397 ], | 385 ], |
398 }, | 386 }, |
399 ], | 387 ], |
400 }], | 388 }], |
401 ['OS=="win" and target_arch=="ia32"', { | |
402 'targets': [ | |
403 { | |
404 'target_name': 'allocator_extension_thunks_win64', | |
405 'type': 'static_library', | |
406 'sources': [ | |
407 'allocator_extension_thunks.cc', | |
408 'allocator_extension_thunks.h', | |
409 ], | |
410 'toolsets': ['host', 'target'], | |
411 'include_dirs': [ | |
412 '../../' | |
413 ], | |
414 'configurations': { | |
415 'Common_Base': { | |
416 'msvs_target_platform': 'x64', | |
417 }, | |
418 }, | |
419 }, | |
420 ], | |
421 }], | |
422 ], | 389 ], |
423 } | 390 } |
OLD | NEW |