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

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

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to mojo::edk namespace in preparation for runtim flag 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
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/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 if (is_syzyasan) { 282 if (is_syzyasan) {
283 defines += [ 283 defines += [
284 "SYZYASAN", 284 "SYZYASAN",
285 "MEMORY_TOOL_REPLACES_ALLOCATOR", 285 "MEMORY_TOOL_REPLACES_ALLOCATOR",
286 "MEMORY_SANITIZER_INITIAL_SIZE", 286 "MEMORY_SANITIZER_INITIAL_SIZE",
287 ] 287 ]
288 } 288 }
289 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) { 289 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) {
290 defines += [ "FIELDTRIAL_TESTING_ENABLED" ] 290 defines += [ "FIELDTRIAL_TESTING_ENABLED" ]
291 } 291 }
292 if (use_chrome_edk) {
293 defines += [ "USE_CHROME_EDK" ]
294 }
292 } 295 }
293 296
294 # Debug/release ---------------------------------------------------------------- 297 # Debug/release ----------------------------------------------------------------
295 298
296 config("debug") { 299 config("debug") {
297 defines = [ 300 defines = [
298 "_DEBUG", 301 "_DEBUG",
299 "DYNAMIC_ANNOTATIONS_ENABLED=1", 302 "DYNAMIC_ANNOTATIONS_ENABLED=1",
300 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 303 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
301 ] 304 ]
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 # with precompiled headers since the source file that's "compiled" for 447 # with precompiled headers since the source file that's "compiled" for
445 # making the precompiled header is empty. 448 # making the precompiled header is empty.
446 # 449 #
447 # This error doesn't happen every time. In VS2013, it seems if the .pch 450 # This error doesn't happen every time. In VS2013, it seems if the .pch
448 # file doesn't exist, no error will be generated (probably MS tested this 451 # file doesn't exist, no error will be generated (probably MS tested this
449 # case but forgot the other one?). To reproduce this error, do a build, 452 # case but forgot the other one?). To reproduce this error, do a build,
450 # then delete the precompile.c.obj file, then build again. 453 # then delete the precompile.c.obj file, then build again.
451 cflags_c = [ "/wd4206" ] 454 cflags_c = [ "/wd4206" ]
452 } 455 }
453 } 456 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698