| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 } | 221 } |
| 222 if (enable_service_discovery) { | 222 if (enable_service_discovery) { |
| 223 defines += [ "ENABLE_SERVICE_DISCOVERY=1" ] | 223 defines += [ "ENABLE_SERVICE_DISCOVERY=1" ] |
| 224 } | 224 } |
| 225 if (enable_autofill_dialog) { | 225 if (enable_autofill_dialog) { |
| 226 defines += [ "ENABLE_AUTOFILL_DIALOG=1" ] | 226 defines += [ "ENABLE_AUTOFILL_DIALOG=1" ] |
| 227 } | 227 } |
| 228 if (enable_image_loader_extension) { | 228 if (enable_image_loader_extension) { |
| 229 defines += [ "IMAGE_LOADER_EXTENSION=1" ] | 229 defines += [ "IMAGE_LOADER_EXTENSION=1" ] |
| 230 } | 230 } |
| 231 if (enable_hidpi) { | |
| 232 defines += [ "ENABLE_HIDPI=1" ] | |
| 233 } | |
| 234 if (enable_topchrome_md) { | 231 if (enable_topchrome_md) { |
| 235 defines += [ "ENABLE_TOPCHROME_MD=1" ] | 232 defines += [ "ENABLE_TOPCHROME_MD=1" ] |
| 236 } | 233 } |
| 237 if (enable_wayland_server) { | 234 if (enable_wayland_server) { |
| 238 defines += [ "ENABLE_WAYLAND_SERVER=1" ] | 235 defines += [ "ENABLE_WAYLAND_SERVER=1" ] |
| 239 } | 236 } |
| 240 if (enable_wifi_display) { | 237 if (enable_wifi_display) { |
| 241 defines += [ "ENABLE_WIFI_DISPLAY=1" ] | 238 defines += [ "ENABLE_WIFI_DISPLAY=1" ] |
| 242 } | 239 } |
| 243 if (proprietary_codecs) { | 240 if (proprietary_codecs) { |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 # This error doesn't happen every time. In VS2013, it seems if the .pch | 478 # This error doesn't happen every time. In VS2013, it seems if the .pch |
| 482 # file doesn't exist, no error will be generated (probably MS tested this | 479 # file doesn't exist, no error will be generated (probably MS tested this |
| 483 # case but forgot the other one?). To reproduce this error, do a build, | 480 # case but forgot the other one?). To reproduce this error, do a build, |
| 484 # then delete the precompile.c.obj file, then build again. | 481 # then delete the precompile.c.obj file, then build again. |
| 485 cflags_c = [ "/wd4206" ] | 482 cflags_c = [ "/wd4206" ] |
| 486 } else if (is_mac && !is_official_build && !use_goma) { | 483 } else if (is_mac && !is_official_build && !use_goma) { |
| 487 precompiled_header = "build/precompile.h" | 484 precompiled_header = "build/precompile.h" |
| 488 precompiled_source = "//build/precompile.h" | 485 precompiled_source = "//build/precompile.h" |
| 489 } | 486 } |
| 490 } | 487 } |
| OLD | NEW |