| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 } | 232 } |
| 233 if (proprietary_codecs) { | 233 if (proprietary_codecs) { |
| 234 defines += [ "USE_PROPRIETARY_CODECS" ] | 234 defines += [ "USE_PROPRIETARY_CODECS" ] |
| 235 } | 235 } |
| 236 if (enable_hangout_services_extension) { | 236 if (enable_hangout_services_extension) { |
| 237 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ] | 237 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ] |
| 238 } | 238 } |
| 239 if (enable_background) { | 239 if (enable_background) { |
| 240 defines += [ "ENABLE_BACKGROUND=1" ] | 240 defines += [ "ENABLE_BACKGROUND=1" ] |
| 241 } | 241 } |
| 242 if (enable_pre_sync_backup) { |
| 243 defines += [ "ENABLE_PRE_SYNC_BACKUP" ] |
| 244 } |
| 242 if (enable_video_hole) { | 245 if (enable_video_hole) { |
| 243 defines += [ "VIDEO_HOLE=1" ] | 246 defines += [ "VIDEO_HOLE=1" ] |
| 244 } | 247 } |
| 245 if (safe_browsing_mode == 1) { | 248 if (safe_browsing_mode == 1) { |
| 246 defines += [ "FULL_SAFE_BROWSING" ] | 249 defines += [ "FULL_SAFE_BROWSING" ] |
| 247 defines += [ "SAFE_BROWSING_CSD" ] | 250 defines += [ "SAFE_BROWSING_CSD" ] |
| 248 defines += [ "SAFE_BROWSING_DB_LOCAL" ] | 251 defines += [ "SAFE_BROWSING_DB_LOCAL" ] |
| 249 } else if (safe_browsing_mode == 2) { | 252 } else if (safe_browsing_mode == 2) { |
| 250 defines += [ "SAFE_BROWSING_DB_REMOTE" ] | 253 defines += [ "SAFE_BROWSING_DB_REMOTE" ] |
| 251 } | 254 } |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 # This error doesn't happen every time. In VS2013, it seems if the .pch | 433 # This error doesn't happen every time. In VS2013, it seems if the .pch |
| 431 # file doesn't exist, no error will be generated (probably MS tested this | 434 # file doesn't exist, no error will be generated (probably MS tested this |
| 432 # case but forgot the other one?). To reproduce this error, do a build, | 435 # case but forgot the other one?). To reproduce this error, do a build, |
| 433 # then delete the precompile.c.obj file, then build again. | 436 # then delete the precompile.c.obj file, then build again. |
| 434 cflags_c = [ "/wd4206" ] | 437 cflags_c = [ "/wd4206" ] |
| 435 } else if (is_mac && !is_official_build && !use_goma) { | 438 } else if (is_mac && !is_official_build && !use_goma) { |
| 436 precompiled_header = "build/precompile.h" | 439 precompiled_header = "build/precompile.h" |
| 437 precompiled_source = "//build/precompile.h" | 440 precompiled_source = "//build/precompile.h" |
| 438 } | 441 } |
| 439 } | 442 } |
| OLD | NEW |