| 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 } | 229 } |
| 230 if (enable_wifi_display) { | 230 if (enable_wifi_display) { |
| 231 defines += [ "ENABLE_WIFI_DISPLAY=1" ] | 231 defines += [ "ENABLE_WIFI_DISPLAY=1" ] |
| 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_video_hole) { | |
| 240 defines += [ "VIDEO_HOLE=1" ] | |
| 241 } | |
| 242 if (safe_browsing_mode == 1) { | 239 if (safe_browsing_mode == 1) { |
| 243 defines += [ "FULL_SAFE_BROWSING" ] | 240 defines += [ "FULL_SAFE_BROWSING" ] |
| 244 defines += [ "SAFE_BROWSING_CSD" ] | 241 defines += [ "SAFE_BROWSING_CSD" ] |
| 245 defines += [ "SAFE_BROWSING_DB_LOCAL" ] | 242 defines += [ "SAFE_BROWSING_DB_LOCAL" ] |
| 246 } else if (safe_browsing_mode == 2) { | 243 } else if (safe_browsing_mode == 2) { |
| 247 defines += [ "SAFE_BROWSING_DB_REMOTE" ] | 244 defines += [ "SAFE_BROWSING_DB_REMOTE" ] |
| 248 } | 245 } |
| 249 if (is_official_build) { | 246 if (is_official_build) { |
| 250 defines += [ "OFFICIAL_BUILD" ] | 247 defines += [ "OFFICIAL_BUILD" ] |
| 251 } | 248 } |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 # file doesn't exist, no error will be generated (probably MS tested this | 488 # file doesn't exist, no error will be generated (probably MS tested this |
| 492 # case but forgot the other one?). To reproduce this error, do a build, | 489 # case but forgot the other one?). To reproduce this error, do a build, |
| 493 # then delete the precompile.c.obj file, then build again. | 490 # then delete the precompile.c.obj file, then build again. |
| 494 cflags_c = [ "/wd4206" ] | 491 cflags_c = [ "/wd4206" ] |
| 495 } else if (is_mac) { | 492 } else if (is_mac) { |
| 496 precompiled_header = "build/precompile.h" | 493 precompiled_header = "build/precompile.h" |
| 497 precompiled_source = "//build/precompile.h" | 494 precompiled_source = "//build/precompile.h" |
| 498 } | 495 } |
| 499 } | 496 } |
| 500 } | 497 } |
| OLD | NEW |