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

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

Issue 1916493003: GN configs for ipc fuzzer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: doc Created 4 years, 8 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 import("//build/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/chromecast_build.gni") 7 import("//build/config/chromecast_build.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 if (is_syzyasan) { 254 if (is_syzyasan) {
255 defines += [ 255 defines += [
256 "SYZYASAN", 256 "SYZYASAN",
257 "MEMORY_TOOL_REPLACES_ALLOCATOR", 257 "MEMORY_TOOL_REPLACES_ALLOCATOR",
258 "MEMORY_SANITIZER_INITIAL_SIZE", 258 "MEMORY_SANITIZER_INITIAL_SIZE",
259 ] 259 ]
260 } 260 }
261 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) { 261 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) {
262 defines += [ "FIELDTRIAL_TESTING_ENABLED" ] 262 defines += [ "FIELDTRIAL_TESTING_ENABLED" ]
263 } 263 }
264 if (enable_ipc_fuzzer) {
265 assert(!is_component_build, "IPC fuzzer does not support component builds.")
266 defines += [ "ENABLE_IPC_FUZZER" ]
267 }
264 } 268 }
265 269
266 # Debug/release ---------------------------------------------------------------- 270 # Debug/release ----------------------------------------------------------------
267 271
268 config("debug") { 272 config("debug") {
269 defines = [ 273 defines = [
270 "_DEBUG", 274 "_DEBUG",
271 "DYNAMIC_ANNOTATIONS_ENABLED=1", 275 "DYNAMIC_ANNOTATIONS_ENABLED=1",
272 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 276 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
273 ] 277 ]
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 # file doesn't exist, no error will be generated (probably MS tested this 465 # file doesn't exist, no error will be generated (probably MS tested this
462 # case but forgot the other one?). To reproduce this error, do a build, 466 # case but forgot the other one?). To reproduce this error, do a build,
463 # then delete the precompile.c.obj file, then build again. 467 # then delete the precompile.c.obj file, then build again.
464 cflags_c = [ "/wd4206" ] 468 cflags_c = [ "/wd4206" ]
465 } else if (is_mac) { 469 } else if (is_mac) {
466 precompiled_header = "build/precompile.h" 470 precompiled_header = "build/precompile.h"
467 precompiled_source = "//build/precompile.h" 471 precompiled_source = "//build/precompile.h"
468 } 472 }
469 } 473 }
470 } 474 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/features.gni » ('j') | docs/ipc_fuzzer.md » ('J')

Powered by Google App Engine
This is Rietveld 408576698