| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # This file contains common system config stuff for the Android build. | 5 # This file contains common system config stuff for the Android build. |
| 6 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 declare_args() { | 8 declare_args() { |
| 9 # Absolute directory containing the Android source code. | 9 # Absolute directory containing the Android source code. |
| 10 android_src = "" | 10 android_src = "" |
| 11 | 11 |
| 12 android_sdk_root = "//third_party/android_tools/sdk" | 12 android_sdk_root = "//third_party/android_tools/sdk" |
| 13 android_sdk_version = "20" | 13 android_sdk_version = "21" |
| 14 | 14 |
| 15 # This is set when building the Android WebView inside the Android build | 15 # This is set when building the Android WebView inside the Android build |
| 16 # system, using the 'android' gyp backend. The WebView code is still built | 16 # system, using the 'android' gyp backend. The WebView code is still built |
| 17 # when this is unset, but builds using the normal chromium build system. | 17 # when this is unset, but builds using the normal chromium build system. |
| 18 is_android_webview_build = false | 18 is_android_webview_build = false |
| 19 | 19 |
| 20 android_default_keystore_path = "//build/android/ant/chromium-debug.keystore
" | 20 android_default_keystore_path = "//build/android/ant/chromium-debug.keystore
" |
| 21 android_default_keystore_name = "chromiumdebugkey" | 21 android_default_keystore_name = "chromiumdebugkey" |
| 22 android_default_keystore_password = "chromium" | 22 android_default_keystore_password = "chromium" |
| 23 | 23 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 android_sdk = "${android_sdk_root}/platforms/android-${android_sdk_version}" | 62 android_sdk = "${android_sdk_root}/platforms/android-${android_sdk_version}" |
| 63 | 63 |
| 64 # Path to the Android NDK and SDK. | 64 # Path to the Android NDK and SDK. |
| 65 android_ndk_root = "//third_party/android_tools/ndk" | 65 android_ndk_root = "//third_party/android_tools/ndk" |
| 66 android_ndk_include_dir = "$android_ndk_root/usr/include" | 66 android_ndk_include_dir = "$android_ndk_root/usr/include" |
| 67 | 67 |
| 68 android_sdk = "${android_sdk_root}/platforms/android-${android_sdk_version}" | 68 android_sdk = "${android_sdk_root}/platforms/android-${android_sdk_version}" |
| 69 | 69 |
| 70 android_sdk_tools = "${android_sdk_root}/tools" | 70 android_sdk_tools = "${android_sdk_root}/tools" |
| 71 android_sdk_build_tools = "${android_sdk_root}/build-tools/20.0.0" | 71 android_sdk_build_tools = "${android_sdk_root}/build-tools/21.0.0" |
| 72 | 72 |
| 73 # Path to the SDK's android.jar | 73 # Path to the SDK's android.jar |
| 74 android_sdk_jar = "$android_sdk/android.jar" | 74 android_sdk_jar = "$android_sdk/android.jar" |
| 75 | 75 |
| 76 zipalign_path = "$android_sdk_build_tools/zipalign" | 76 zipalign_path = "$android_sdk_build_tools/zipalign" |
| 77 | 77 |
| 78 # Subdirectories inside android_ndk_root that contain the sysroot for the | 78 # Subdirectories inside android_ndk_root that contain the sysroot for the |
| 79 # associated platform. | 79 # associated platform. |
| 80 _android_api_level = 14 | 80 _android_api_level = 14 |
| 81 x86_android_sysroot_subdir = "platforms/android-${_android_api_level}/arch-x86
" | 81 x86_android_sysroot_subdir = "platforms/android-${_android_api_level}/arch-x86
" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 android_app_abi = "mips" | 144 android_app_abi = "mips" |
| 145 } else { | 145 } else { |
| 146 assert(false, "Unknown Android ABI: " + cpu_arch) | 146 assert(false, "Unknown Android ABI: " + cpu_arch) |
| 147 } | 147 } |
| 148 } else { | 148 } else { |
| 149 if (!defined(is_android_webview_build)) { | 149 if (!defined(is_android_webview_build)) { |
| 150 is_android_webview_build = false | 150 is_android_webview_build = false |
| 151 } | 151 } |
| 152 use_system_stlport = false | 152 use_system_stlport = false |
| 153 } | 153 } |
| OLD | NEW |