| 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 3897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3908 '<(android_ndk_lib)/crtbegin_so.o', | 3908 '<(android_ndk_lib)/crtbegin_so.o', |
| 3909 ], | 3909 ], |
| 3910 'libraries': [ | 3910 'libraries': [ |
| 3911 # crtend_so.o needs to be the last item in libraries. | 3911 # crtend_so.o needs to be the last item in libraries. |
| 3912 # Do not add any libraries after this! | 3912 # Do not add any libraries after this! |
| 3913 '<(android_ndk_lib)/crtend_so.o', | 3913 '<(android_ndk_lib)/crtend_so.o', |
| 3914 ], | 3914 ], |
| 3915 }], | 3915 }], |
| 3916 ], | 3916 ], |
| 3917 }], | 3917 }], |
| 3918 # ndk-build copies .a's around the filesystem, breaking | |
| 3919 # relative paths in thin archives. Disable using thin | |
| 3920 # archives to avoid problems until one of these is fixed: | |
| 3921 # http://code.google.com/p/android/issues/detail?id=40302 | |
| 3922 # http://code.google.com/p/android/issues/detail?id=40303 | |
| 3923 ['_type=="static_library"', { | |
| 3924 'standalone_static_library': 1, | |
| 3925 }], | |
| 3926 ], | 3918 ], |
| 3927 }], | 3919 }], |
| 3928 # Settings for building host targets using the system toolchain. | 3920 # Settings for building host targets using the system toolchain. |
| 3929 ['_toolset=="host"', { | 3921 ['_toolset=="host"', { |
| 3930 'cflags!': [ | 3922 'cflags!': [ |
| 3931 # Due to issues in Clang build system, using ASan on 32-bit | 3923 # Due to issues in Clang build system, using ASan on 32-bit |
| 3932 # binaries on x86_64 host is problematic. | 3924 # binaries on x86_64 host is problematic. |
| 3933 # TODO(eugenis): re-enable. | 3925 # TODO(eugenis): re-enable. |
| 3934 '-fsanitize=address', | 3926 '-fsanitize=address', |
| 3935 '-w', # http://crbug.com/162783 | 3927 '-w', # http://crbug.com/162783 |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4783 # settings in target dicts. SYMROOT is a special case, because many other | 4775 # settings in target dicts. SYMROOT is a special case, because many other |
| 4784 # Xcode variables depend on it, including variables such as | 4776 # Xcode variables depend on it, including variables such as |
| 4785 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4777 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4786 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4778 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4787 # files to appear (when present) in the UI as actual files and not red | 4779 # files to appear (when present) in the UI as actual files and not red |
| 4788 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4780 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4789 # and therefore SYMROOT, needs to be set at the project level. | 4781 # and therefore SYMROOT, needs to be set at the project level. |
| 4790 'SYMROOT': '<(DEPTH)/xcodebuild', | 4782 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4791 }, | 4783 }, |
| 4792 } | 4784 } |
| OLD | NEW |