| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index b8decd5d86bbdd30add612e2b307ecf789ea16af..e79e016e79a38ca72fd9ae7c0fd61c90af70b9db 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -1712,6 +1712,17 @@
|
| 'android_sdk_version%': '22',
|
| 'android_sdk_build_tools_version%': '22.0.0',
|
| 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')",
|
| +
|
| + 'conditions': [
|
| + # Figure this out early since it needs symbols from libgcc.a, so it
|
| + # has to be before that in the set of libraries.
|
| + ['component=="shared_library" or asan==1', {
|
| + 'android_libcpp_library': 'c++_shared',
|
| + }, {
|
| + 'android_libcpp_library': 'c++_static',
|
| + }],
|
| + ],
|
| +
|
| },
|
| # Copy conditionally-set variables out one scope.
|
| 'android_ndk_root%': '<(android_ndk_root)',
|
| @@ -1719,6 +1730,7 @@
|
| 'android_sdk_root%': '<(android_sdk_root)',
|
| 'android_sdk_version%': '<(android_sdk_version)',
|
| 'android_libcpp_root': '<(android_ndk_root)/sources/cxx-stl/llvm-libc++',
|
| + 'android_libcpp_library': '<(android_libcpp_library)',
|
| 'host_os%': '<(host_os)',
|
|
|
| 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_version)',
|
| @@ -1796,6 +1808,7 @@
|
| 'android_sdk_jar%': '<(android_sdk)/android.jar',
|
|
|
| 'android_libcpp_root': '<(android_libcpp_root)',
|
| + 'android_libcpp_library': '<(android_libcpp_library)',
|
| 'android_libcpp_include': '<(android_libcpp_root)/libcxx/include',
|
| 'android_libcpp_libs_dir%': '<(android_libcpp_root)/libs/<(android_app_abi)',
|
| 'host_os%': '<(host_os)',
|
| @@ -4744,15 +4757,6 @@
|
| # identifying various build artifacts corresponding to a particular
|
| # build of chrome (e.g. where to find archived symbols).
|
| 'chrome_build_id%': '',
|
| - 'conditions': [
|
| - # Figure this out early since it needs symbols from libgcc.a, so it
|
| - # has to be before that in the set of libraries.
|
| - ['component=="shared_library"', {
|
| - 'android_libcpp_library': 'c++_shared',
|
| - }, {
|
| - 'android_libcpp_library': 'c++_static',
|
| - }],
|
| - ],
|
|
|
| # Placing this variable here prevents from forking libvpx, used
|
| # by remoting. Remoting is off, so it needn't built,
|
|
|