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 # 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 expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 3469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3480 'DEPLOYMENT_POSTPROCESSING': 'YES', | 3480 'DEPLOYMENT_POSTPROCESSING': 'YES', |
3481 'STRIP_INSTALLED_PRODUCT': 'YES', | 3481 'STRIP_INSTALLED_PRODUCT': 'YES', |
3482 'target_conditions': [ | 3482 'target_conditions': [ |
3483 ['_type=="shared_library" or _type=="loadable_module"',
{ | 3483 ['_type=="shared_library" or _type=="loadable_module"',
{ |
3484 # The Xcode default is to strip debugging symbols | 3484 # The Xcode default is to strip debugging symbols |
3485 # only (-S). Local symbols should be stripped as | 3485 # only (-S). Local symbols should be stripped as |
3486 # well, which will be handled by -x. Xcode will | 3486 # well, which will be handled by -x. Xcode will |
3487 # continue to insert -S when stripping even when | 3487 # continue to insert -S when stripping even when |
3488 # additional flags are added with STRIPFLAGS. | 3488 # additional flags are added with STRIPFLAGS. |
3489 'STRIPFLAGS': '-x', | 3489 'STRIPFLAGS': '-x', |
3490 }], # _type=="shared_library" or _type=="loadable_modul
e"' | 3490 }], # _type=="shared_library" or _type=="loadable_modul
e" |
| 3491 ['_type=="executable"', { |
| 3492 'conditions': [ |
| 3493 ['asan==1', { |
| 3494 'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)', |
| 3495 }] |
| 3496 ], |
| 3497 }], # _type=="executable" and asan==1 |
3491 ], # target_conditions | 3498 ], # target_conditions |
3492 }, # xcode_settings | 3499 }, # xcode_settings |
3493 }, # configuration "Release" | 3500 }, # configuration "Release" |
3494 }, # configurations | 3501 }, # configurations |
3495 }, { # mac_real_dsym != 1 | 3502 }, { # mac_real_dsym != 1 |
3496 # To get a fast fake .dSYM bundle, use a post-build step to | 3503 # To get a fast fake .dSYM bundle, use a post-build step to |
3497 # produce the .dSYM and strip the executable. strip_from_xcode | 3504 # produce the .dSYM and strip the executable. strip_from_xcode |
3498 # only operates in the Release configuration. | 3505 # only operates in the Release configuration. |
3499 'postbuilds': [ | 3506 'postbuilds': [ |
3500 { | 3507 { |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3946 # settings in target dicts. SYMROOT is a special case, because many other | 3953 # settings in target dicts. SYMROOT is a special case, because many other |
3947 # Xcode variables depend on it, including variables such as | 3954 # Xcode variables depend on it, including variables such as |
3948 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3955 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3949 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3956 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3950 # files to appear (when present) in the UI as actual files and not red | 3957 # files to appear (when present) in the UI as actual files and not red |
3951 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3958 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3952 # and therefore SYMROOT, needs to be set at the project level. | 3959 # and therefore SYMROOT, needs to be set at the project level. |
3953 'SYMROOT': '<(DEPTH)/xcodebuild', | 3960 'SYMROOT': '<(DEPTH)/xcodebuild', |
3954 }, | 3961 }, |
3955 } | 3962 } |
OLD | NEW |