| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 # then delete the precompile.c.obj file, then build again. | 362 # then delete the precompile.c.obj file, then build again. |
| 366 # | 363 # |
| 367 # TODO(sof): determine VS2015 status and retire the setting from all | 364 # TODO(sof): determine VS2015 status and retire the setting from all |
| 368 # precompiled configurations. | 365 # precompiled configurations. |
| 369 cflags_c = [ "/wd4206" ] | 366 cflags_c = [ "/wd4206" ] |
| 370 } else if (is_mac) { | 367 } else if (is_mac) { |
| 371 precompiled_source = "//build/precompile.h" | 368 precompiled_source = "//build/precompile.h" |
| 372 } | 369 } |
| 373 } | 370 } |
| 374 } | 371 } |
| OLD | NEW |