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 3485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3496 '_STLP_USE_PTR_SPECIALIZATIONS=1', | 3496 '_STLP_USE_PTR_SPECIALIZATIONS=1', |
3497 'CHROME_BUILD_ID="<(chrome_build_id)"', | 3497 'CHROME_BUILD_ID="<(chrome_build_id)"', |
3498 ], | 3498 ], |
3499 'ldflags!': [ | 3499 'ldflags!': [ |
3500 '-pthread', # Not supported by Android toolchain. | 3500 '-pthread', # Not supported by Android toolchain. |
3501 ], | 3501 ], |
3502 'ldflags': [ | 3502 'ldflags': [ |
3503 '-nostdlib', | 3503 '-nostdlib', |
3504 '-Wl,--no-undefined', | 3504 '-Wl,--no-undefined', |
3505 # Don't export symbols from statically linked libraries. | 3505 # Don't export symbols from statically linked libraries. |
3506 '-Wl,--exclude-libs=ALL', | 3506 # '-Wl,--exclude-libs=ALL', |
3507 ], | 3507 ], |
3508 'libraries': [ | 3508 'libraries': [ |
3509 '-l<(android_stlport_library)', | 3509 '-l<(android_stlport_library)', |
3510 # Manually link the libgcc.a that the cross compiler uses. | 3510 # Manually link the libgcc.a that the cross compiler uses. |
3511 '<!(<(android_toolchain)/*-gcc -print-libgcc-file-name)', | 3511 '<!(<(android_toolchain)/*-gcc -print-libgcc-file-name)', |
3512 '-lc', | 3512 '-lc', |
3513 '-ldl', | 3513 '-ldl', |
3514 '-lstdc++', | 3514 '-lstdc++', |
3515 '-lm', | 3515 '-lm', |
3516 ], | 3516 ], |
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4593 # settings in target dicts. SYMROOT is a special case, because many other | 4593 # settings in target dicts. SYMROOT is a special case, because many other |
4594 # Xcode variables depend on it, including variables such as | 4594 # Xcode variables depend on it, including variables such as |
4595 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4595 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4596 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4596 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4597 # files to appear (when present) in the UI as actual files and not red | 4597 # files to appear (when present) in the UI as actual files and not red |
4598 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4598 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4599 # and therefore SYMROOT, needs to be set at the project level. | 4599 # and therefore SYMROOT, needs to be set at the project level. |
4600 'SYMROOT': '<(DEPTH)/xcodebuild', | 4600 'SYMROOT': '<(DEPTH)/xcodebuild', |
4601 }, | 4601 }, |
4602 } | 4602 } |
OLD | NEW |