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

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 388333003: Add GN build targets for the rest of mojo/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix deps of application build target Created 6 years, 5 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 | Annotate | Revision Log
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/android/config.gni") 5 import("//build/config/android/config.gni")
6 if (cpu_arch == "arm") { 6 if (cpu_arch == "arm") {
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 } 8 }
9 if (is_posix) { 9 if (is_posix) {
10 import("//build/config/gcc/gcc_version.gni") 10 import("//build/config/gcc/gcc_version.gni")
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 "-B" + rebase_path("//build/android/arm-linux-androideabi-gold", 283 "-B" + rebase_path("//build/android/arm-linux-androideabi-gold",
284 root_build_dir) 284 root_build_dir)
285 ] 285 ]
286 } else { 286 } else {
287 ldflags += [ "-fuse-ld=gold" ] 287 ldflags += [ "-fuse-ld=gold" ]
288 } 288 }
289 } 289 }
290 290
291 ldflags += [ 291 ldflags += [
292 "-Wl,--no-undefined", 292 "-Wl,--no-undefined",
293 # Don't export symbols from statically linked libraries.
294 "-Wl,--exclude-libs=ALL",
295 ] 293 ]
296 if (cpu_arch == "arm") { 294 if (cpu_arch == "arm") {
297 ldflags += [ 295 ldflags += [
298 # Enable identical code folding to reduce size. 296 # Enable identical code folding to reduce size.
299 "-Wl,--icf=safe", 297 "-Wl,--icf=safe",
300 ] 298 ]
301 } 299 }
302 300
303 if (is_clang) { 301 if (is_clang) {
304 if (cpu_arch == "arm") { 302 if (cpu_arch == "arm") {
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 } else { 838 } else {
841 cflags = [ "-g1" ] 839 cflags = [ "-g1" ]
842 } 840 }
843 } 841 }
844 842
845 config("no_symbols") { 843 config("no_symbols") {
846 if (!is_win) { 844 if (!is_win) {
847 cflags = [ "-g0" ] 845 cflags = [ "-g0" ]
848 } 846 }
849 } 847 }
OLDNEW
« no previous file with comments | « build/config/android/BUILD.gn ('k') | mojo/BUILD.gn » ('j') | mojo/public/c/system/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698