| 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 = "20" |
| 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 |
| 24 # This is a unique identifier for a given build. It's used for |
| 25 # identifying various build artifacts corresponding to a particular build of |
| 26 # chrome (e.g. where to find archived symbols). |
| 27 android_chrome_build_id = "\"\"" |
| 23 } | 28 } |
| 24 | 29 |
| 25 if (is_android_webview_build) { | 30 if (is_android_webview_build) { |
| 26 assert(android_src != "", | 31 assert(android_src != "", |
| 27 "You must specify android_src for an Android WebView build.") | 32 "You must specify android_src for an Android WebView build.") |
| 28 } | 33 } |
| 29 | 34 |
| 30 | 35 |
| 31 # Host stuff ----------------------------------------------------------------- | 36 # Host stuff ----------------------------------------------------------------- |
| 32 | 37 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 android_app_abi = "mips" | 143 android_app_abi = "mips" |
| 139 } else { | 144 } else { |
| 140 assert(false, "Unknown Android ABI: " + cpu_arch) | 145 assert(false, "Unknown Android ABI: " + cpu_arch) |
| 141 } | 146 } |
| 142 } else { | 147 } else { |
| 143 if (!defined(is_android_webview_build)) { | 148 if (!defined(is_android_webview_build)) { |
| 144 is_android_webview_build = false | 149 is_android_webview_build = false |
| 145 } | 150 } |
| 146 use_system_stlport = false | 151 use_system_stlport = false |
| 147 } | 152 } |
| OLD | NEW |