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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 } | 223 } |
224 if (enable_one_click_signin) { | 224 if (enable_one_click_signin) { |
225 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ] | 225 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ] |
226 } | 226 } |
227 if (enable_hidpi) { | 227 if (enable_hidpi) { |
228 defines += [ "ENABLE_HIDPI=1" ] | 228 defines += [ "ENABLE_HIDPI=1" ] |
229 } | 229 } |
230 if (enable_topchrome_md) { | 230 if (enable_topchrome_md) { |
231 defines += [ "ENABLE_TOPCHROME_MD=1" ] | 231 defines += [ "ENABLE_TOPCHROME_MD=1" ] |
232 } | 232 } |
| 233 if (enable_wayland_server) { |
| 234 defines += [ "ENABLE_WAYLAND_SERVER=1" ] |
| 235 } |
233 if (proprietary_codecs) { | 236 if (proprietary_codecs) { |
234 defines += [ "USE_PROPRIETARY_CODECS" ] | 237 defines += [ "USE_PROPRIETARY_CODECS" ] |
235 } | 238 } |
236 if (enable_hangout_services_extension) { | 239 if (enable_hangout_services_extension) { |
237 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ] | 240 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ] |
238 } | 241 } |
239 if (enable_background) { | 242 if (enable_background) { |
240 defines += [ "ENABLE_BACKGROUND=1" ] | 243 defines += [ "ENABLE_BACKGROUND=1" ] |
241 } | 244 } |
242 if (enable_pre_sync_backup) { | 245 if (enable_pre_sync_backup) { |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 # This error doesn't happen every time. In VS2013, it seems if the .pch | 439 # This error doesn't happen every time. In VS2013, it seems if the .pch |
437 # file doesn't exist, no error will be generated (probably MS tested this | 440 # file doesn't exist, no error will be generated (probably MS tested this |
438 # case but forgot the other one?). To reproduce this error, do a build, | 441 # case but forgot the other one?). To reproduce this error, do a build, |
439 # then delete the precompile.c.obj file, then build again. | 442 # then delete the precompile.c.obj file, then build again. |
440 cflags_c = [ "/wd4206" ] | 443 cflags_c = [ "/wd4206" ] |
441 } else if (is_mac && !is_official_build && !use_goma) { | 444 } else if (is_mac && !is_official_build && !use_goma) { |
442 precompiled_header = "build/precompile.h" | 445 precompiled_header = "build/precompile.h" |
443 precompiled_source = "//build/precompile.h" | 446 precompiled_source = "//build/precompile.h" |
444 } | 447 } |
445 } | 448 } |
OLD | NEW |