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

Side by Side Diff: build/toolchain/android/BUILD.gn

Issue 525533003: Add content_shell_test_apk and a several dependencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-content-shell-apk
Patch Set: Created 6 years, 3 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 | « build/config/android/rules.gni ('k') | content/content_tests.gypi » ('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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 import("//build/config/sysroot.gni") # Imports android/config.gni. 5 import("//build/config/sysroot.gni") # Imports android/config.gni.
6 import("//build/toolchain/clang.gni") 6 import("//build/toolchain/clang.gni")
7 import("//build/toolchain/goma.gni") 7 import("//build/toolchain/goma.gni")
8 import("//build/toolchain/gcc_toolchain.gni") 8 import("//build/toolchain/gcc_toolchain.gni")
9 9
10 # The Android GCC toolchains share most of the same parameters, so we have this 10 # The Android GCC toolchains share most of the same parameters, so we have this
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 ar = tool_prefix + "ar" 46 ar = tool_prefix + "ar"
47 ld = cxx 47 ld = cxx
48 48
49 toolchain_os = "android" 49 toolchain_os = "android"
50 toolchain_cpu_arch = invoker.toolchain_cpu_arch 50 toolchain_cpu_arch = invoker.toolchain_cpu_arch
51 51
52 # We make the assumption that the gcc_toolchain will produce a soname with 52 # We make the assumption that the gcc_toolchain will produce a soname with
53 # the following definition. 53 # the following definition.
54 soname = "{{target_output_name}}{{output_extension}}" 54 soname = "{{target_output_name}}{{output_extension}}"
55 55
56 stripped_soname = "lib.stripped/${soname}.tmp" 56 stripped_soname = "lib.stripped/${soname}"
57 temp_stripped_soname = "${stripped_soname}.tmp" 57 temp_stripped_soname = "${stripped_soname}.tmp"
58 58
59 android_strip = "${tool_prefix}strip" 59 android_strip = "${tool_prefix}strip"
60 mkdir_command = "mkdir -p lib.stripped" 60 mkdir_command = "mkdir -p lib.stripped"
61 strip_command = "$android_strip --strip-unneeded -o $temp_stripped_soname $s oname" 61 strip_command = "$android_strip --strip-unneeded -o $temp_stripped_soname $s oname"
62 replace_command = "if ! cmp -s $temp_stripped_soname $stripped_soname; then mv $temp_stripped_soname $stripped_soname; fi" 62 replace_command = "if ! cmp -s $temp_stripped_soname $stripped_soname; then mv $temp_stripped_soname $stripped_soname; fi"
63 postsolink = "$mkdir_command && $strip_command && $replace_command" 63 postsolink = "$mkdir_command && $strip_command && $replace_command"
64 } 64 }
65 } 65 }
66 66
(...skipping 13 matching lines...) Expand all
80 toolchain_cpu_arch = "arm" 80 toolchain_cpu_arch = "arm"
81 } 81 }
82 82
83 android_gcc_toolchain("mipsel") { 83 android_gcc_toolchain("mipsel") {
84 android_ndk_sysroot = "$android_ndk_root/$mips_android_sysroot_subdir" 84 android_ndk_sysroot = "$android_ndk_root/$mips_android_sysroot_subdir"
85 android_ndk_lib_dir = "usr/lib" 85 android_ndk_lib_dir = "usr/lib"
86 86
87 tool_prefix = "$mips_android_toolchain_root/bin/mipsel-linux-android-" 87 tool_prefix = "$mips_android_toolchain_root/bin/mipsel-linux-android-"
88 toolchain_cpu_arch = "mipsel" 88 toolchain_cpu_arch = "mipsel"
89 } 89 }
OLDNEW
« no previous file with comments | « build/config/android/rules.gni ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698