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/features.gni") | 9 import("//build/config/features.gni") |
10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 } | 224 } |
225 if (enable_hidpi) { | 225 if (enable_hidpi) { |
226 defines += [ "ENABLE_HIDPI=1" ] | 226 defines += [ "ENABLE_HIDPI=1" ] |
227 } | 227 } |
228 if (enable_topchrome_md) { | 228 if (enable_topchrome_md) { |
229 defines += [ "ENABLE_TOPCHROME_MD=1" ] | 229 defines += [ "ENABLE_TOPCHROME_MD=1" ] |
230 } | 230 } |
231 if (enable_wayland_server) { | 231 if (enable_wayland_server) { |
232 defines += [ "ENABLE_WAYLAND_SERVER=1" ] | 232 defines += [ "ENABLE_WAYLAND_SERVER=1" ] |
233 } | 233 } |
| 234 if (enable_wifi_display) { |
| 235 defines += [ "ENABLE_WIFI_DISPLAY=1" ] |
| 236 } |
234 if (proprietary_codecs) { | 237 if (proprietary_codecs) { |
235 defines += [ "USE_PROPRIETARY_CODECS" ] | 238 defines += [ "USE_PROPRIETARY_CODECS" ] |
236 } | 239 } |
237 if (enable_hangout_services_extension) { | 240 if (enable_hangout_services_extension) { |
238 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ] | 241 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ] |
239 } | 242 } |
240 if (enable_background) { | 243 if (enable_background) { |
241 defines += [ "ENABLE_BACKGROUND=1" ] | 244 defines += [ "ENABLE_BACKGROUND=1" ] |
242 } | 245 } |
243 if (enable_video_hole) { | 246 if (enable_video_hole) { |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 # This error doesn't happen every time. In VS2013, it seems if the .pch | 475 # This error doesn't happen every time. In VS2013, it seems if the .pch |
473 # file doesn't exist, no error will be generated (probably MS tested this | 476 # file doesn't exist, no error will be generated (probably MS tested this |
474 # case but forgot the other one?). To reproduce this error, do a build, | 477 # case but forgot the other one?). To reproduce this error, do a build, |
475 # then delete the precompile.c.obj file, then build again. | 478 # then delete the precompile.c.obj file, then build again. |
476 cflags_c = [ "/wd4206" ] | 479 cflags_c = [ "/wd4206" ] |
477 } else if (is_mac && !is_official_build && !use_goma) { | 480 } else if (is_mac && !is_official_build && !use_goma) { |
478 precompiled_header = "build/precompile.h" | 481 precompiled_header = "build/precompile.h" |
479 precompiled_source = "//build/precompile.h" | 482 precompiled_source = "//build/precompile.h" |
480 } | 483 } |
481 } | 484 } |
OLD | NEW |