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

Side by Side Diff: build/config/android/config.gni

Issue 164773005: Pull GN @ 252040, update calls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: long line Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/arm.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 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 # TODO(brettw) bug 341772 put this into the is_android block when the toolchain 7 if (is_android) {
8 # stuff is fixed in the GYP generator. The problem is that when we redo the 8 declare_args() {
9 # build in host mode, the OS is not android and the declarations are never 9 # Absolute directory containing the Android source code.
10 # seen, which throws an error because these arguments are specified. 10 android_src = ""
11 declare_args() {
12 android_src = ""
13 11
14 # This is set when building the Android WebView inside the Android build 12 # This is set when building the Android WebView inside the Android build
15 # system, using the 'android' gyp backend. The WebView code is still built 13 # system, using the 'android' gyp backend. The WebView code is still built
16 # when this is unset, but builds using the normal chromium build system. 14 # when this is unset, but builds using the normal chromium build system.
17 is_android_webview_build = false 15 is_android_webview_build = false
18 } 16 }
19 17
20 if (is_android) {
21 if (is_android_webview_build) { 18 if (is_android_webview_build) {
22 assert(android_src != "", 19 assert(android_src != "",
23 "You must specify android_src for an Android WebView build.") 20 "You must specify android_src for an Android WebView build.")
24 } 21 }
25 22
26 # android_ndk_root ----------------------------------------------------------- 23 # android_ndk_root -----------------------------------------------------------
27 24
28 # Full system path to the Android NDK. 25 # Full system path to the Android NDK.
29 android_ndk_root = 26 android_ndk_root = rebase_path("//third_party/android_tools/ndk")
30 rebase_path("//third_party/android_tools/ndk", ".", "")
31 27
32 # stlport stuff -------------------------------------------------------------- 28 # stlport stuff --------------------------------------------------------------
33 29
34 use_system_stlport = is_android_webview_build 30 use_system_stlport = is_android_webview_build
35 31
36 if (use_system_stlport) { 32 if (use_system_stlport) {
37 android_stlport_library = "stlport" 33 android_stlport_library = "stlport"
38 } else if (component_mode == "shared_library") { 34 } else if (component_mode == "shared_library") {
39 android_stlport_library = "stlport_shared" 35 android_stlport_library = "stlport_shared"
40 } else { 36 } else {
(...skipping 15 matching lines...) Expand all
56 android_app_abi = "mips" 52 android_app_abi = "mips"
57 } else { 53 } else {
58 assert(false, "Unknown Android ABI") 54 assert(false, "Unknown Android ABI")
59 } 55 }
60 } else { 56 } else {
61 if (!defined(is_android_webview_build)) { 57 if (!defined(is_android_webview_build)) {
62 is_android_webview_build = false 58 is_android_webview_build = false
63 } 59 }
64 use_system_stlport = false 60 use_system_stlport = false
65 } 61 }
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/arm.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698