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

Side by Side Diff: skia/BUILD.gn

Issue 1324623005: Move sanitizer and symbol flags out of BUILDCONFIG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « net/BUILD.gn ('k') | third_party/boringssl/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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 if (current_cpu == "arm") { 8 if (current_cpu == "arm") {
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 } 10 }
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 "//third_party/android_tools:cpu_features", 482 "//third_party/android_tools:cpu_features",
483 ] 483 ]
484 } 484 }
485 485
486 if (skia_support_pdf) { 486 if (skia_support_pdf) {
487 deps += [ "//third_party/sfntly" ] 487 deps += [ "//third_party/sfntly" ]
488 sources += gypi_skia_pdf.sources 488 sources += gypi_skia_pdf.sources
489 } 489 }
490 490
491 if (is_android && !is_debug) { 491 if (is_android && !is_debug) {
492 configs -= [ "//build/config/compiler:optimize" ] 492 configs -= [ "//build/config/compiler:default_optimization" ]
493 configs += [ "//build/config/compiler:optimize_max" ] 493 configs += [ "//build/config/compiler:optimize_max" ]
494 } 494 }
495 495
496 if (is_ios) { 496 if (is_ios) {
497 libs = [ "ImageIO.framework" ] 497 libs = [ "ImageIO.framework" ]
498 set_sources_assignment_filter([]) 498 set_sources_assignment_filter([])
499 sources += [ 499 sources += [
500 "//third_party/skia/src/ports/SkFontHost_mac.cpp", 500 "//third_party/skia/src/ports/SkFontHost_mac.cpp",
501 "//third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp", 501 "//third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp",
502 "//third_party/skia/src/utils/mac/SkStream_mac.cpp", 502 "//third_party/skia/src/utils/mac/SkStream_mac.cpp",
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 if (mips_dsp_rev >= 1) { 583 if (mips_dsp_rev >= 1) {
584 sources = gypi_skia_opts.mips_dsp_sources 584 sources = gypi_skia_opts.mips_dsp_sources
585 } else { 585 } else {
586 sources = gypi_skia_opts.none_sources 586 sources = gypi_skia_opts.none_sources
587 } 587 }
588 } else { 588 } else {
589 assert(false, "Need to port cpu specific stuff from skia_library_opts.gyp") 589 assert(false, "Need to port cpu specific stuff from skia_library_opts.gyp")
590 } 590 }
591 591
592 if (is_android && !is_debug) { 592 if (is_android && !is_debug) {
593 configs -= [ "//build/config/compiler:optimize" ] 593 configs -= [ "//build/config/compiler:default_optimization" ]
594 configs += [ "//build/config/compiler:optimize_max" ] 594 configs += [ "//build/config/compiler:optimize_max" ]
595 } 595 }
596 596
597 configs -= [ "//build/config/compiler:chromium_code" ] 597 configs -= [ "//build/config/compiler:chromium_code" ]
598 configs += [ 598 configs += [
599 ":skia_config", 599 ":skia_config",
600 ":skia_library_config", 600 ":skia_library_config",
601 "//build/config/compiler:no_chromium_code", 601 "//build/config/compiler:no_chromium_code",
602 ] 602 ]
603 603
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 ] 666 ]
667 667
668 deps = [ 668 deps = [
669 ":skia", 669 ":skia",
670 "//base", 670 "//base",
671 "//base/test:test_support", 671 "//base/test:test_support",
672 "//build/config/sanitizers:deps", 672 "//build/config/sanitizers:deps",
673 ] 673 ]
674 } 674 }
675 } 675 }
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | third_party/boringssl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698