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

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

Issue 2082453003: 🎅 Use GN's dependency info for native libraries in write_build_config.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix osmesa on non-android Created 4 years, 6 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
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 script = "//build/gn_run_binary.py" 67 script = "//build/gn_run_binary.py"
68 inputs = [ 68 inputs = [
69 _strip_bin, 69 _strip_bin,
70 ] 70 ]
71 sources = [ 71 sources = [
72 _input_so, 72 _input_so,
73 ] 73 ]
74 outputs = [ 74 outputs = [
75 _output_so, 75 _output_so,
76 ] 76 ]
77 data = [
78 _output_so,
79 ]
77 80
78 _rebased_strip_bin = rebase_path(_strip_bin, root_out_dir) 81 _rebased_strip_bin = rebase_path(_strip_bin, root_out_dir)
79 _rebased_input_so = rebase_path(_input_so, root_out_dir) 82 _rebased_input_so = rebase_path(_input_so, root_out_dir)
80 _rebased_output_so = rebase_path(_output_so, root_out_dir) 83 _rebased_output_so = rebase_path(_output_so, root_out_dir)
81 args = [ 84 args = [
82 _rebased_strip_bin, 85 _rebased_strip_bin,
83 "--strip-unneeded", 86 "--strip-unneeded",
84 "-o", 87 "-o",
85 _rebased_output_so, 88 _rebased_output_so,
86 _rebased_input_so, 89 _rebased_input_so,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 _target_name = get_path_info(script, "name") + "_wrapper" 134 _target_name = get_path_info(script, "name") + "_wrapper"
132 _wrapper_targets += [ ":$_target_name" ] 135 _wrapper_targets += [ ":$_target_name" ]
133 wrapper_script(_target_name) { 136 wrapper_script(_target_name) {
134 target = script 137 target = script
135 } 138 }
136 } 139 }
137 140
138 group("wrapper_scripts") { 141 group("wrapper_scripts") {
139 deps = _wrapper_targets 142 deps = _wrapper_targets
140 } 143 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698