Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: build/common.gypi

Issue 1297273003: Roll Android tools to Android M SDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « DEPS ('k') | build/config/android/config.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1708 # Unfortunately, it is required to use the absolute path to the SDK 1708 # Unfortunately, it is required to use the absolute path to the SDK
1709 # because it us passed to ant which uses a different relative path 1709 # because it us passed to ant which uses a different relative path
1710 # from GYP. 1710 # from GYP.
1711 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_ tools/sdk/', 1711 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_ tools/sdk/',
1712 # Similarly, gdbserver and the Android toolchain need to use the 1712 # Similarly, gdbserver and the Android toolchain need to use the
1713 # absolute path to the NDK because they are used at different levels 1713 # absolute path to the NDK because they are used at different levels
1714 # in the GYP files. 1714 # in the GYP files.
1715 'android_ndk_absolute_root%': '<!(cd <(DEPTH) && pwd -P)/third_party /android_tools/ndk/', 1715 'android_ndk_absolute_root%': '<!(cd <(DEPTH) && pwd -P)/third_party /android_tools/ndk/',
1716 'android_host_arch%': '<!(uname -m)', 1716 'android_host_arch%': '<!(uname -m)',
1717 # Android API-level of the SDK used for compilation. 1717 # Android API-level of the SDK used for compilation.
1718 'android_sdk_version%': '22', 1718 'android_sdk_version%': '23',
1719 'android_sdk_build_tools_version%': '22.0.0', 1719 'android_sdk_build_tools_version%': '23.0.0',
1720 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')", 1720 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')",
1721 1721
1722 'conditions': [ 1722 'conditions': [
1723 # Figure this out early since it needs symbols from libgcc.a, so i t 1723 # Figure this out early since it needs symbols from libgcc.a, so i t
1724 # has to be before that in the set of libraries. 1724 # has to be before that in the set of libraries.
1725 # ASan needs to dynamically link to libc++ even in static builds s o 1725 # ASan needs to dynamically link to libc++ even in static builds s o
1726 # that it can interpose operator new. 1726 # that it can interpose operator new.
1727 ['component=="shared_library" or asan==1', { 1727 ['component=="shared_library" or asan==1', {
1728 'android_libcpp_library': 'c++_shared', 1728 'android_libcpp_library': 'c++_shared',
1729 'android_must_copy_system_libraries': 1, 1729 'android_must_copy_system_libraries': 1,
(...skipping 2218 matching lines...) Expand 10 before | Expand all | Expand 10 after
3948 '-mfpmath=sse', 3948 '-mfpmath=sse',
3949 '-mmmx', # Allows mmintrin.h for MMX intrinsics. 3949 '-mmmx', # Allows mmintrin.h for MMX intrinsics.
3950 '-m32', 3950 '-m32',
3951 ], 3951 ],
3952 'ldflags': [ 3952 'ldflags': [
3953 '-m32', 3953 '-m32',
3954 ], 3954 ],
3955 'conditions': [ 3955 'conditions': [
3956 # Use gold linker for Android ia32 target. 3956 # Use gold linker for Android ia32 target.
3957 ['OS=="android"', { 3957 ['OS=="android"', {
3958 # Use gold linker for Android ia32 target.
3958 'ldflags': [ 3959 'ldflags': [
3959 '-fuse-ld=gold', 3960 '-fuse-ld=gold',
3960 ], 3961 ],
3962 # Use -mstackrealign due to a bug on ia32 Jelly Bean.
3963 # See crbug.com/521527
3964 'cflags': [
3965 '-mstackrealign',
3966 ],
3961 }], 3967 }],
3962 ], 3968 ],
3963 }], 3969 }],
3964 ], 3970 ],
3965 }], 3971 }],
3966 ['target_arch=="x64"', { 3972 ['target_arch=="x64"', {
3967 'target_conditions': [ 3973 'target_conditions': [
3968 ['_toolset=="target"', { 3974 ['_toolset=="target"', {
3969 'conditions': [ 3975 'conditions': [
3970 # Use gold linker for Android x64 target. 3976 # Use gold linker for Android x64 target.
(...skipping 2344 matching lines...) Expand 10 before | Expand all | Expand 10 after
6315 # settings in target dicts. SYMROOT is a special case, because many other 6321 # settings in target dicts. SYMROOT is a special case, because many other
6316 # Xcode variables depend on it, including variables such as 6322 # Xcode variables depend on it, including variables such as
6317 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6323 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6318 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6324 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6319 # files to appear (when present) in the UI as actual files and not red 6325 # files to appear (when present) in the UI as actual files and not red
6320 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6326 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6321 # and therefore SYMROOT, needs to be set at the project level. 6327 # and therefore SYMROOT, needs to be set at the project level.
6322 'SYMROOT': '<(DEPTH)/xcodebuild', 6328 'SYMROOT': '<(DEPTH)/xcodebuild',
6323 }, 6329 },
6324 } 6330 }
OLDNEW
« no previous file with comments | « DEPS ('k') | build/config/android/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698