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

Side by Side Diff: build/config/BUILDCONFIG.gn

Issue 2192833002: Fix GN generation for WinASAN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 4 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 (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 # ============================================================================= 5 # =============================================================================
6 # PLATFORM SELECTION 6 # PLATFORM SELECTION
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name 9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name
10 # of the GN thing that encodes combinations of these things. 10 # of the GN thing that encodes combinations of these things.
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 is_win = false 333 is_win = false
334 } 334 }
335 335
336 # ============================================================================= 336 # =============================================================================
337 # SOURCES FILTERS 337 # SOURCES FILTERS
338 # ============================================================================= 338 # =============================================================================
339 # 339 #
340 # These patterns filter out platform-specific files when assigning to the 340 # These patterns filter out platform-specific files when assigning to the
341 # sources variable. The magic variable |sources_assignment_filter| is applied 341 # sources variable. The magic variable |sources_assignment_filter| is applied
342 # to each assignment or appending to the sources variable and matches are 342 # to each assignment or appending to the sources variable and matches are
343 # automatcally removed. 343 # automatically removed.
344 # 344 #
345 # Note that the patterns are NOT regular expressions. Only "*" and "\b" (path 345 # Note that the patterns are NOT regular expressions. Only "*" and "\b" (path
346 # boundary = end of string or slash) are supported, and the entire string 346 # boundary = end of string or slash) are supported, and the entire string
347 # muct match the pattern (so you need "*.cc" to match all .cc files, for 347 # must match the pattern (so you need "*.cc" to match all .cc files, for
348 # example). 348 # example).
349 349
350 # DO NOT ADD MORE PATTERNS TO THIS LIST, see set_sources_assignment_filter call 350 # DO NOT ADD MORE PATTERNS TO THIS LIST, see set_sources_assignment_filter call
351 # below. 351 # below.
352 sources_assignment_filter = [] 352 sources_assignment_filter = []
353 if (!is_posix) { 353 if (!is_posix) {
354 sources_assignment_filter += [ 354 sources_assignment_filter += [
355 "*_posix.h", 355 "*_posix.h",
356 "*_posix.cc", 356 "*_posix.cc",
357 "*_posix_unittest.h", 357 "*_posix_unittest.h",
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 set_defaults("component") { 630 set_defaults("component") {
631 if (is_component_build) { 631 if (is_component_build) {
632 configs = default_shared_library_configs 632 configs = default_shared_library_configs
633 if (is_android) { 633 if (is_android) {
634 configs -= [ "//build/config/android:hide_native_jni_exports" ] 634 configs -= [ "//build/config/android:hide_native_jni_exports" ]
635 } 635 }
636 } else { 636 } else {
637 configs = default_compiler_configs 637 configs = default_compiler_configs
638 } 638 }
639 } 639 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698