| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 } | 189 } |
| 190 if (enable_extensions) { | 190 if (enable_extensions) { |
| 191 defines += [ "ENABLE_EXTENSIONS=1" ] | 191 defines += [ "ENABLE_EXTENSIONS=1" ] |
| 192 } | 192 } |
| 193 if (enable_task_manager) { | 193 if (enable_task_manager) { |
| 194 defines += [ "ENABLE_TASK_MANAGER=1" ] | 194 defines += [ "ENABLE_TASK_MANAGER=1" ] |
| 195 } | 195 } |
| 196 if (enable_themes) { | 196 if (enable_themes) { |
| 197 defines += [ "ENABLE_THEMES=1" ] | 197 defines += [ "ENABLE_THEMES=1" ] |
| 198 } | 198 } |
| 199 if (enable_captive_portal_detection) { | |
| 200 defines += [ "ENABLE_CAPTIVE_PORTAL_DETECTION=1" ] | |
| 201 } | |
| 202 if (enable_session_service) { | 199 if (enable_session_service) { |
| 203 defines += [ "ENABLE_SESSION_SERVICE=1" ] | 200 defines += [ "ENABLE_SESSION_SERVICE=1" ] |
| 204 } | 201 } |
| 205 if (enable_rlz) { | 202 if (enable_rlz) { |
| 206 defines += [ "ENABLE_RLZ" ] | 203 defines += [ "ENABLE_RLZ" ] |
| 207 } | 204 } |
| 208 if (enable_plugin_installation) { | |
| 209 defines += [ "ENABLE_PLUGIN_INSTALLATION=1" ] | |
| 210 } | |
| 211 if (enable_app_list) { | 205 if (enable_app_list) { |
| 212 defines += [ "ENABLE_APP_LIST=1" ] | 206 defines += [ "ENABLE_APP_LIST=1" ] |
| 213 } | 207 } |
| 214 if (enable_supervised_users) { | 208 if (enable_supervised_users) { |
| 215 defines += [ "ENABLE_SUPERVISED_USERS=1" ] | 209 defines += [ "ENABLE_SUPERVISED_USERS=1" ] |
| 216 } | 210 } |
| 217 if (enable_image_loader_extension) { | 211 if (enable_image_loader_extension) { |
| 218 defines += [ "IMAGE_LOADER_EXTENSION=1" ] | 212 defines += [ "IMAGE_LOADER_EXTENSION=1" ] |
| 219 } | 213 } |
| 220 if (enable_wayland_server) { | 214 if (enable_wayland_server) { |
| 221 defines += [ "ENABLE_WAYLAND_SERVER=1" ] | 215 defines += [ "ENABLE_WAYLAND_SERVER=1" ] |
| 222 } | 216 } |
| 223 if (enable_wifi_display) { | 217 if (enable_wifi_display) { |
| 224 defines += [ "ENABLE_WIFI_DISPLAY=1" ] | 218 defines += [ "ENABLE_WIFI_DISPLAY=1" ] |
| 225 } | 219 } |
| 226 if (proprietary_codecs) { | 220 if (proprietary_codecs) { |
| 227 defines += [ "USE_PROPRIETARY_CODECS" ] | 221 defines += [ "USE_PROPRIETARY_CODECS" ] |
| 228 } | 222 } |
| 229 if (enable_hangout_services_extension) { | |
| 230 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ] | |
| 231 } | |
| 232 if (safe_browsing_mode == 1) { | 223 if (safe_browsing_mode == 1) { |
| 233 defines += [ "FULL_SAFE_BROWSING" ] | 224 defines += [ "FULL_SAFE_BROWSING" ] |
| 234 defines += [ "SAFE_BROWSING_CSD" ] | 225 defines += [ "SAFE_BROWSING_CSD" ] |
| 235 defines += [ "SAFE_BROWSING_DB_LOCAL" ] | 226 defines += [ "SAFE_BROWSING_DB_LOCAL" ] |
| 236 } else if (safe_browsing_mode == 2) { | 227 } else if (safe_browsing_mode == 2) { |
| 237 defines += [ "SAFE_BROWSING_DB_REMOTE" ] | 228 defines += [ "SAFE_BROWSING_DB_REMOTE" ] |
| 238 } | 229 } |
| 239 if (is_official_build) { | 230 if (is_official_build) { |
| 240 defines += [ "OFFICIAL_BUILD" ] | 231 defines += [ "OFFICIAL_BUILD" ] |
| 241 } | 232 } |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 # file doesn't exist, no error will be generated (probably MS tested this | 471 # file doesn't exist, no error will be generated (probably MS tested this |
| 481 # case but forgot the other one?). To reproduce this error, do a build, | 472 # case but forgot the other one?). To reproduce this error, do a build, |
| 482 # then delete the precompile.c.obj file, then build again. | 473 # then delete the precompile.c.obj file, then build again. |
| 483 cflags_c = [ "/wd4206" ] | 474 cflags_c = [ "/wd4206" ] |
| 484 } else if (is_mac) { | 475 } else if (is_mac) { |
| 485 precompiled_header = "build/precompile.h" | 476 precompiled_header = "build/precompile.h" |
| 486 precompiled_source = "//build/precompile.h" | 477 precompiled_source = "//build/precompile.h" |
| 487 } | 478 } |
| 488 } | 479 } |
| 489 } | 480 } |
| OLD | NEW |