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

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

Issue 1236503002: GN: Use lib.unstripped rather than lib.stripped. Add a toolchain.gni (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn15
Patch Set: add comment 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 | « no previous file | 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 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 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" 7 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar"
8 8
9 action("find_sun_tools_jar") { 9 action("find_sun_tools_jar") {
10 script = "//build/android/gyp/find_sun_tools_jar.py" 10 script = "//build/android/gyp/find_sun_tools_jar.py"
(...skipping 12 matching lines...) Expand all
23 23
24 java_prebuilt("sun_tools_java") { 24 java_prebuilt("sun_tools_java") {
25 jar_path = sun_tools_jar_path 25 jar_path = sun_tools_jar_path
26 jar_dep = ":find_sun_tools_jar" 26 jar_dep = ":find_sun_tools_jar"
27 } 27 }
28 28
29 action("cpplib_stripped") { 29 action("cpplib_stripped") {
30 _strip_bin = "${android_tool_prefix}strip" 30 _strip_bin = "${android_tool_prefix}strip"
31 _soname = "libc++_shared.so" 31 _soname = "libc++_shared.so"
32 _input_so = "${android_libcpp_root}/libs/${android_app_abi}/${_soname}" 32 _input_so = "${android_libcpp_root}/libs/${android_app_abi}/${_soname}"
33 _output_so = "${root_out_dir}/lib.stripped/${_soname}" 33 _output_so = "${root_shlib_dir}/${_soname}"
34 34
35 script = "//build/gn_run_binary.py" 35 script = "//build/gn_run_binary.py"
36 inputs = [ 36 inputs = [
37 _strip_bin, 37 _strip_bin,
38 ] 38 ]
39 sources = [ 39 sources = [
40 _input_so, 40 _input_so,
41 ] 41 ]
42 outputs = [ 42 outputs = [
43 _output_so, 43 _output_so,
44 ] 44 ]
45 45
46 _rebased_strip_bin = rebase_path(_strip_bin, root_out_dir) 46 _rebased_strip_bin = rebase_path(_strip_bin, root_out_dir)
47 _rebased_input_so = rebase_path(_input_so, root_out_dir) 47 _rebased_input_so = rebase_path(_input_so, root_out_dir)
48 _rebased_output_so = rebase_path(_output_so, root_out_dir) 48 _rebased_output_so = rebase_path(_output_so, root_out_dir)
49 args = [ 49 args = [
50 _rebased_strip_bin, 50 _rebased_strip_bin,
51 "--strip-unneeded", 51 "--strip-unneeded",
52 "-o", 52 "-o",
53 _rebased_output_so, 53 _rebased_output_so,
54 _rebased_input_so, 54 _rebased_input_so,
55 ] 55 ]
56 } 56 }
OLDNEW
« no previous file with comments | « no previous file | build/config/android/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698