| 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/build_metadata.gni") | 6 import("//build/config/build_metadata.gni") |
| 7 import("//build/config/chrome_build.gni") | 7 import("//build/config/chrome_build.gni") |
| 8 import("//build/config/chromecast_build.gni") | 8 import("//build/config/chromecast_build.gni") |
| 9 import("//build/config/crypto.gni") | 9 import("//build/config/crypto.gni") |
| 10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 # Can be defined without ENABLE_BASIC_PRINTING. | 73 # Can be defined without ENABLE_BASIC_PRINTING. |
| 74 defines += [ "ENABLE_PRINT_PREVIEW=1" ] | 74 defines += [ "ENABLE_PRINT_PREVIEW=1" ] |
| 75 } | 75 } |
| 76 } | 76 } |
| 77 if (enable_spellcheck) { | 77 if (enable_spellcheck) { |
| 78 defines += [ "ENABLE_SPELLCHECK=1" ] | 78 defines += [ "ENABLE_SPELLCHECK=1" ] |
| 79 } | 79 } |
| 80 if (use_browser_spellchecker) { | 80 if (use_browser_spellchecker) { |
| 81 defines += [ "USE_BROWSER_SPELLCHECKER=1" ] | 81 defines += [ "USE_BROWSER_SPELLCHECKER=1" ] |
| 82 } | 82 } |
| 83 if (dont_embed_build_metadata) { | |
| 84 defines += [ "DONT_EMBED_BUILD_METADATA" ] | |
| 85 } | |
| 86 if (dcheck_always_on) { | 83 if (dcheck_always_on) { |
| 87 defines += [ "DCHECK_ALWAYS_ON=1" ] | 84 defines += [ "DCHECK_ALWAYS_ON=1" ] |
| 88 } | 85 } |
| 89 if (use_udev) { | 86 if (use_udev) { |
| 90 # TODO(brettw) should probably be "=1". | 87 # TODO(brettw) should probably be "=1". |
| 91 defines += [ "USE_UDEV" ] | 88 defines += [ "USE_UDEV" ] |
| 92 } | 89 } |
| 93 if (ui_compositor_image_transport) { | 90 if (ui_compositor_image_transport) { |
| 94 # TODO(brettw) should probably be "=1". | 91 # TODO(brettw) should probably be "=1". |
| 95 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] | 92 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 # This error doesn't happen every time. In VS2013, it seems if the .pch | 462 # This error doesn't happen every time. In VS2013, it seems if the .pch |
| 466 # file doesn't exist, no error will be generated (probably MS tested this | 463 # file doesn't exist, no error will be generated (probably MS tested this |
| 467 # case but forgot the other one?). To reproduce this error, do a build, | 464 # case but forgot the other one?). To reproduce this error, do a build, |
| 468 # then delete the precompile.c.obj file, then build again. | 465 # then delete the precompile.c.obj file, then build again. |
| 469 cflags_c = [ "/wd4206" ] | 466 cflags_c = [ "/wd4206" ] |
| 470 } else if (is_mac && !is_official_build && !use_goma) { | 467 } else if (is_mac && !is_official_build && !use_goma) { |
| 471 precompiled_header = "build/precompile.h" | 468 precompiled_header = "build/precompile.h" |
| 472 precompiled_source = "//build/precompile.h" | 469 precompiled_source = "//build/precompile.h" |
| 473 } | 470 } |
| 474 } | 471 } |
| OLD | NEW |