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

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

Issue 2327063002: Revert of Make secondary abi work for component build (Closed)
Patch Set: Created 4 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 | « no previous file | build/android/gyp/write_build_config.py » ('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 if (enable_java_templates) { 7 if (enable_java_templates) {
8 import("//third_party/ijar/ijar.gni") 8 import("//third_party/ijar/ijar.gni")
9 9
10 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" 10 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "${android_libcpp_lib_dir}/${_soname}", 63 "${android_libcpp_lib_dir}/${_soname}",
64 ] 64 ]
65 outputs = [ 65 outputs = [
66 "${root_out_dir}/lib.unstripped/${_soname}", 66 "${root_out_dir}/lib.unstripped/${_soname}",
67 ] 67 ]
68 } 68 }
69 69
70 action("cpplib_stripped") { 70 action("cpplib_stripped") {
71 _strip_bin = "${android_tool_prefix}strip" 71 _strip_bin = "${android_tool_prefix}strip"
72 _soname = "libc++_shared.so" 72 _soname = "libc++_shared.so"
73 _input_so = "${root_shlib_dir}/lib.unstripped/${_soname}" 73 _input_so = "${root_out_dir}/lib.unstripped/${_soname}"
74 _output_so = "${root_shlib_dir}/${_soname}" 74 _output_so = "${root_shlib_dir}/${_soname}"
75 75
76 deps = [ 76 deps = [
77 ":cpplib_unstripped", 77 ":cpplib_unstripped",
78 ] 78 ]
79 79
80 script = "//build/gn_run_binary.py" 80 script = "//build/gn_run_binary.py"
81 inputs = [ 81 inputs = [
82 _strip_bin, 82 _strip_bin,
83 ] 83 ]
84 sources = [ 84 sources = [
85 _input_so, 85 _input_so,
86 ] 86 ]
87 outputs = [ 87 outputs = [
88 _output_so, 88 _output_so,
89 ] 89 ]
90 data = [ 90 data = [
91 _output_so, 91 _output_so,
92 ] 92 ]
93 93
94 _rebased_strip_bin = rebase_path(_strip_bin, root_build_dir) 94 _rebased_strip_bin = rebase_path(_strip_bin, root_out_dir)
95 _rebased_input_so = rebase_path(_input_so, root_build_dir) 95 _rebased_input_so = rebase_path(_input_so, root_out_dir)
96 _rebased_output_so = rebase_path(_output_so, root_build_dir) 96 _rebased_output_so = rebase_path(_output_so, root_out_dir)
97 args = [ 97 args = [
98 _rebased_strip_bin, 98 _rebased_strip_bin,
99 "--strip-unneeded", 99 "--strip-unneeded",
100 "-o", 100 "-o",
101 _rebased_output_so, 101 _rebased_output_so,
102 _rebased_input_so, 102 _rebased_input_so,
103 ] 103 ]
104 } 104 }
105 105
106 group("test_runner_py") { 106 group("test_runner_py") {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 _target_name = get_path_info(script, "name") + "_wrapper" 148 _target_name = get_path_info(script, "name") + "_wrapper"
149 _wrapper_targets += [ ":$_target_name" ] 149 _wrapper_targets += [ ":$_target_name" ]
150 wrapper_script(_target_name) { 150 wrapper_script(_target_name) {
151 target = script 151 target = script
152 } 152 }
153 } 153 }
154 154
155 group("wrapper_scripts") { 155 group("wrapper_scripts") {
156 deps = _wrapper_targets 156 deps = _wrapper_targets
157 } 157 }
OLDNEW
« no previous file with comments | « no previous file | build/android/gyp/write_build_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698