| 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/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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 if (enable_pre_sync_backup) { | 252 if (enable_pre_sync_backup) { |
| 253 defines += [ "ENABLE_PRE_SYNC_BACKUP" ] | 253 defines += [ "ENABLE_PRE_SYNC_BACKUP" ] |
| 254 } | 254 } |
| 255 if (enable_video_hole) { | 255 if (enable_video_hole) { |
| 256 defines += [ "VIDEO_HOLE=1" ] | 256 defines += [ "VIDEO_HOLE=1" ] |
| 257 } | 257 } |
| 258 if (safe_browsing_mode == 1) { | 258 if (safe_browsing_mode == 1) { |
| 259 defines += [ "FULL_SAFE_BROWSING" ] | 259 defines += [ "FULL_SAFE_BROWSING" ] |
| 260 defines += [ "SAFE_BROWSING_CSD" ] | 260 defines += [ "SAFE_BROWSING_CSD" ] |
| 261 defines += [ "SAFE_BROWSING_DB_LOCAL" ] | 261 defines += [ "SAFE_BROWSING_DB_LOCAL" ] |
| 262 defines += [ "SAFE_BROWSING_SERVICE" ] | |
| 263 } else if (safe_browsing_mode == 2) { | 262 } else if (safe_browsing_mode == 2) { |
| 264 defines += [ "MOBILE_SAFE_BROWSING" ] | |
| 265 defines += [ "SAFE_BROWSING_SERVICE" ] | |
| 266 } else if (safe_browsing_mode == 3) { | |
| 267 defines += [ "MOBILE_SAFE_BROWSING" ] | |
| 268 defines += [ "SAFE_BROWSING_DB_REMOTE" ] | 263 defines += [ "SAFE_BROWSING_DB_REMOTE" ] |
| 269 defines += [ "SAFE_BROWSING_SERVICE" ] | |
| 270 } | 264 } |
| 271 if (is_official_build) { | 265 if (is_official_build) { |
| 272 defines += [ "OFFICIAL_BUILD" ] | 266 defines += [ "OFFICIAL_BUILD" ] |
| 273 } | 267 } |
| 274 if (is_chrome_branded) { | 268 if (is_chrome_branded) { |
| 275 defines += [ "GOOGLE_CHROME_BUILD" ] | 269 defines += [ "GOOGLE_CHROME_BUILD" ] |
| 276 } else { | 270 } else { |
| 277 defines += [ "CHROMIUM_BUILD" ] | 271 defines += [ "CHROMIUM_BUILD" ] |
| 278 } | 272 } |
| 279 if (enable_media_router) { | 273 if (enable_media_router) { |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 # This error doesn't happen every time. In VS2013, it seems if the .pch | 443 # This error doesn't happen every time. In VS2013, it seems if the .pch |
| 450 # file doesn't exist, no error will be generated (probably MS tested this | 444 # file doesn't exist, no error will be generated (probably MS tested this |
| 451 # case but forgot the other one?). To reproduce this error, do a build, | 445 # case but forgot the other one?). To reproduce this error, do a build, |
| 452 # then delete the precompile.c.obj file, then build again. | 446 # then delete the precompile.c.obj file, then build again. |
| 453 cflags_c = [ "/wd4206" ] | 447 cflags_c = [ "/wd4206" ] |
| 454 } else if (is_mac && !is_official_build && !use_goma) { | 448 } else if (is_mac && !is_official_build && !use_goma) { |
| 455 precompiled_header = "build/precompile.h" | 449 precompiled_header = "build/precompile.h" |
| 456 precompiled_source = "//build/precompile.h" | 450 precompiled_source = "//build/precompile.h" |
| 457 } | 451 } |
| 458 } | 452 } |
| OLD | NEW |