| OLD | NEW |
| 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/dcheck_always_on.gni") | 9 import("//build/config/dcheck_always_on.gni") |
| 10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 defines += [ "SAFE_BROWSING_DB_REMOTE" ] | 123 defines += [ "SAFE_BROWSING_DB_REMOTE" ] |
| 124 } | 124 } |
| 125 if (is_official_build) { | 125 if (is_official_build) { |
| 126 defines += [ "OFFICIAL_BUILD" ] | 126 defines += [ "OFFICIAL_BUILD" ] |
| 127 } | 127 } |
| 128 if (is_chrome_branded) { | 128 if (is_chrome_branded) { |
| 129 defines += [ "GOOGLE_CHROME_BUILD" ] | 129 defines += [ "GOOGLE_CHROME_BUILD" ] |
| 130 } else { | 130 } else { |
| 131 defines += [ "CHROMIUM_BUILD" ] | 131 defines += [ "CHROMIUM_BUILD" ] |
| 132 } | 132 } |
| 133 if (enable_media_router) { | |
| 134 defines += [ "ENABLE_MEDIA_ROUTER=1" ] | |
| 135 } | |
| 136 if (is_syzyasan) { | 133 if (is_syzyasan) { |
| 137 defines += [ | 134 defines += [ |
| 138 "SYZYASAN", | 135 "SYZYASAN", |
| 139 "MEMORY_SANITIZER_INITIAL_SIZE", | 136 "MEMORY_SANITIZER_INITIAL_SIZE", |
| 140 ] | 137 ] |
| 141 } | 138 } |
| 142 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) { | 139 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) { |
| 143 defines += [ "FIELDTRIAL_TESTING_ENABLED" ] | 140 defines += [ "FIELDTRIAL_TESTING_ENABLED" ] |
| 144 } | 141 } |
| 145 | 142 |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 # then delete the precompile.c.obj file, then build again. | 371 # then delete the precompile.c.obj file, then build again. |
| 375 # | 372 # |
| 376 # TODO(sof): determine VS2015 status and retire the setting from all | 373 # TODO(sof): determine VS2015 status and retire the setting from all |
| 377 # precompiled configurations. | 374 # precompiled configurations. |
| 378 cflags_c = [ "/wd4206" ] | 375 cflags_c = [ "/wd4206" ] |
| 379 } else if (is_mac) { | 376 } else if (is_mac) { |
| 380 precompiled_source = "//build/precompile.h" | 377 precompiled_source = "//build/precompile.h" |
| 381 } | 378 } |
| 382 } | 379 } |
| 383 } | 380 } |
| OLD | NEW |