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

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

Issue 1466143002: arc-bridge: Enable ARC with a command-line flag (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Rebased to ToT Created 5 years 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 | « build/common.gypi ('k') | build/config/features.gni » ('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/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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 if (is_syzyasan) { 272 if (is_syzyasan) {
273 defines += [ 273 defines += [
274 "SYZYASAN", 274 "SYZYASAN",
275 "MEMORY_TOOL_REPLACES_ALLOCATOR", 275 "MEMORY_TOOL_REPLACES_ALLOCATOR",
276 "MEMORY_SANITIZER_INITIAL_SIZE", 276 "MEMORY_SANITIZER_INITIAL_SIZE",
277 ] 277 ]
278 } 278 }
279 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) { 279 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) {
280 defines += [ "FIELDTRIAL_TESTING_ENABLED" ] 280 defines += [ "FIELDTRIAL_TESTING_ENABLED" ]
281 } 281 }
282 if (enable_arc) {
283 defines += [ "ENABLE_ARC=1" ]
284 }
285 } 282 }
286 283
287 # Debug/release ---------------------------------------------------------------- 284 # Debug/release ----------------------------------------------------------------
288 285
289 config("debug") { 286 config("debug") {
290 defines = [ 287 defines = [
291 "_DEBUG", 288 "_DEBUG",
292 "DYNAMIC_ANNOTATIONS_ENABLED=1", 289 "DYNAMIC_ANNOTATIONS_ENABLED=1",
293 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 290 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
294 ] 291 ]
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 # This error doesn't happen every time. In VS2013, it seems if the .pch 436 # This error doesn't happen every time. In VS2013, it seems if the .pch
440 # file doesn't exist, no error will be generated (probably MS tested this 437 # file doesn't exist, no error will be generated (probably MS tested this
441 # case but forgot the other one?). To reproduce this error, do a build, 438 # case but forgot the other one?). To reproduce this error, do a build,
442 # then delete the precompile.c.obj file, then build again. 439 # then delete the precompile.c.obj file, then build again.
443 cflags_c = [ "/wd4206" ] 440 cflags_c = [ "/wd4206" ]
444 } else if (is_mac && !is_official_build && !use_goma) { 441 } else if (is_mac && !is_official_build && !use_goma) {
445 precompiled_header = "build/precompile.h" 442 precompiled_header = "build/precompile.h"
446 precompiled_source = "//build/precompile.h" 443 precompiled_source = "//build/precompile.h"
447 } 444 }
448 } 445 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698