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 4379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4390 # crtbegin_dynamic.o should be the last item in ldflags. | 4390 # crtbegin_dynamic.o should be the last item in ldflags. |
4391 '<(android_ndk_lib)/crtbegin_dynamic.o', | 4391 '<(android_ndk_lib)/crtbegin_dynamic.o', |
4392 ], | 4392 ], |
4393 'libraries': [ | 4393 'libraries': [ |
4394 # crtend_android.o needs to be the last item in libraries. | 4394 # crtend_android.o needs to be the last item in libraries. |
4395 # Do not add any libraries after this! | 4395 # Do not add any libraries after this! |
4396 '<(android_ndk_lib)/crtend_android.o', | 4396 '<(android_ndk_lib)/crtend_android.o', |
4397 ], | 4397 ], |
4398 }], | 4398 }], |
4399 ['_type=="shared_library" or _type=="loadable_module"', { | 4399 ['_type=="shared_library" or _type=="loadable_module"', { |
| 4400 'ldflags!': [ |
| 4401 '-Wl,--exclude-libs=ALL', |
| 4402 ], |
4400 'ldflags': [ | 4403 'ldflags': [ |
4401 '-Wl,-shared,-Bsymbolic', | 4404 '-Wl,-shared,-Bsymbolic', |
4402 ], | 4405 ], |
4403 'conditions': [ | 4406 'conditions': [ |
4404 ['android_webview_build==0', { | 4407 ['android_webview_build==0', { |
4405 'ldflags': [ | 4408 'ldflags': [ |
4406 # crtbegin_so.o should be the last item in ldflags. | 4409 # crtbegin_so.o should be the last item in ldflags. |
4407 '<(android_ndk_lib)/crtbegin_so.o', | 4410 '<(android_ndk_lib)/crtbegin_so.o', |
4408 ], | 4411 ], |
4409 'libraries': [ | 4412 'libraries': [ |
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5429 # settings in target dicts. SYMROOT is a special case, because many other | 5432 # settings in target dicts. SYMROOT is a special case, because many other |
5430 # Xcode variables depend on it, including variables such as | 5433 # Xcode variables depend on it, including variables such as |
5431 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5434 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5432 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5435 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5433 # files to appear (when present) in the UI as actual files and not red | 5436 # files to appear (when present) in the UI as actual files and not red |
5434 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5437 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5435 # and therefore SYMROOT, needs to be set at the project level. | 5438 # and therefore SYMROOT, needs to be set at the project level. |
5436 'SYMROOT': '<(DEPTH)/xcodebuild', | 5439 'SYMROOT': '<(DEPTH)/xcodebuild', |
5437 }, | 5440 }, |
5438 } | 5441 } |
OLD | NEW |