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

Side by Side Diff: build/toolchain/gcc_toolchain.gni

Issue 1473273002: GN(Android): Add libosmesa.so to ContentShell.apk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 5 years 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/toolchain/android/BUILD.gn ('k') | content/shell/android/BUILD.gn » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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/nacl/config.gni") 5 import("//build/config/nacl/config.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/toolchain/ccache.gni") 7 import("//build/toolchain/ccache.gni")
8 import("//build/toolchain/goma.gni") 8 import("//build/toolchain/goma.gni")
9 import("//build/toolchain/toolchain.gni") 9 import("//build/toolchain/toolchain.gni")
10 10
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 strip_command = "${invoker.strip} --strip-unneeded -o \"$sofile\" \"$uns tripped_sofile\"" 315 strip_command = "${invoker.strip} --strip-unneeded -o \"$sofile\" \"$uns tripped_sofile\""
316 command += " && " + strip_command 316 command += " && " + strip_command
317 } 317 }
318 rspfile_content = "-Wl,--whole-archive {{inputs}} {{solibs}} -Wl,--no-whol e-archive $solink_libs_section_prefix {{libs}} $solink_libs_section_postfix" 318 rspfile_content = "-Wl,--whole-archive {{inputs}} {{solibs}} -Wl,--no-whol e-archive $solink_libs_section_prefix {{libs}} $solink_libs_section_postfix"
319 319
320 description = "SOLINK_MODULE $sofile" 320 description = "SOLINK_MODULE $sofile"
321 321
322 # Use this for {{output_extension}} expansions unless a target manually 322 # Use this for {{output_extension}} expansions unless a target manually
323 # overrides it (in which case {{output_extension}} will be what the target 323 # overrides it (in which case {{output_extension}} will be what the target
324 # specifies). 324 # specifies).
325 default_output_extension = default_shlib_extension 325 if (defined(invoker.loadable_module_extension)) {
326 default_output_extension = invoker.loadable_module_extension
327 } else {
328 default_output_extension = default_shlib_extension
329 }
326 330
327 output_prefix = "lib" 331 output_prefix = "lib"
328 332
329 outputs = [ 333 outputs = [
330 sofile, 334 sofile,
331 ] 335 ]
332 if (sofile != unstripped_sofile) { 336 if (sofile != unstripped_sofile) {
333 outputs += [ unstripped_sofile ] 337 outputs += [ unstripped_sofile ]
334 } 338 }
335 } 339 }
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 nm = "${toolprefix}nm" 450 nm = "${toolprefix}nm"
447 451
448 forward_variables_from(invoker, 452 forward_variables_from(invoker,
449 [ 453 [
450 "toolchain_cpu", 454 "toolchain_cpu",
451 "toolchain_os", 455 "toolchain_os",
452 "use_gold", 456 "use_gold",
453 ]) 457 ])
454 } 458 }
455 } 459 }
OLDNEW
« no previous file with comments | « build/toolchain/android/BUILD.gn ('k') | content/shell/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698