| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 } | 207 } |
| 208 if (enable_plugin_installation) { | 208 if (enable_plugin_installation) { |
| 209 defines += [ "ENABLE_PLUGIN_INSTALLATION=1" ] | 209 defines += [ "ENABLE_PLUGIN_INSTALLATION=1" ] |
| 210 } | 210 } |
| 211 if (enable_app_list) { | 211 if (enable_app_list) { |
| 212 defines += [ "ENABLE_APP_LIST=1" ] | 212 defines += [ "ENABLE_APP_LIST=1" ] |
| 213 } | 213 } |
| 214 if (enable_supervised_users) { | 214 if (enable_supervised_users) { |
| 215 defines += [ "ENABLE_SUPERVISED_USERS=1" ] | 215 defines += [ "ENABLE_SUPERVISED_USERS=1" ] |
| 216 } | 216 } |
| 217 if (enable_service_discovery) { | |
| 218 defines += [ "ENABLE_SERVICE_DISCOVERY=1" ] | |
| 219 } | |
| 220 if (enable_image_loader_extension) { | 217 if (enable_image_loader_extension) { |
| 221 defines += [ "IMAGE_LOADER_EXTENSION=1" ] | 218 defines += [ "IMAGE_LOADER_EXTENSION=1" ] |
| 222 } | 219 } |
| 223 if (enable_wayland_server) { | 220 if (enable_wayland_server) { |
| 224 defines += [ "ENABLE_WAYLAND_SERVER=1" ] | 221 defines += [ "ENABLE_WAYLAND_SERVER=1" ] |
| 225 } | 222 } |
| 226 if (enable_wifi_display) { | 223 if (enable_wifi_display) { |
| 227 defines += [ "ENABLE_WIFI_DISPLAY=1" ] | 224 defines += [ "ENABLE_WIFI_DISPLAY=1" ] |
| 228 } | 225 } |
| 229 if (proprietary_codecs) { | 226 if (proprietary_codecs) { |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 # file doesn't exist, no error will be generated (probably MS tested this | 480 # file doesn't exist, no error will be generated (probably MS tested this |
| 484 # case but forgot the other one?). To reproduce this error, do a build, | 481 # case but forgot the other one?). To reproduce this error, do a build, |
| 485 # then delete the precompile.c.obj file, then build again. | 482 # then delete the precompile.c.obj file, then build again. |
| 486 cflags_c = [ "/wd4206" ] | 483 cflags_c = [ "/wd4206" ] |
| 487 } else if (is_mac) { | 484 } else if (is_mac) { |
| 488 precompiled_header = "build/precompile.h" | 485 precompiled_header = "build/precompile.h" |
| 489 precompiled_source = "//build/precompile.h" | 486 precompiled_source = "//build/precompile.h" |
| 490 } | 487 } |
| 491 } | 488 } |
| 492 } | 489 } |
| OLD | NEW |