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
3 # found in the LICENSE file.
6 # When set, turns off the (normally-on) iterator debugging and related stuff
7 # that is normall turned on for Debug builds. These are generally useful for
8 # catching bugs but in some cases may cause conflicts or excessive slowness.
9 disable_iterator_debugging = false
16 "USE_LIBJPEG_TURBO=1",
17 "ENABLE_ONE_CLICK_SIGNIN",
20 "ENABLE_CONFIGURATION_POLICY",
21 "ENABLE_INPUT_SPEECH",
22 "ENABLE_NOTIFICATIONS",
24 "ENABLE_TASK_MANAGER=1",
25 "ENABLE_EXTENSIONS=1",
26 "ENABLE_PLUGIN_INSTALLATION=1",
28 "ENABLE_SESSION_SERVICE=1",
30 "ENABLE_AUTOFILL_DIALOG=1",
31 "ENABLE_BACKGROUND=1",
32 "ENABLE_AUTOMATION=1",
33 "ENABLE_GOOGLE_NOW=1",
35 "ENABLE_CAPTIVE_PORTAL_DETECTION=1",
37 "ENABLE_MESSAGE_CENTER=1",
38 "ENABLE_SETTINGS_APP=1",
39 "ENABLE_MANAGED_USERS=1",
43 defines += [ "USE_AURA=1" ]
47 config("feature_flags") {
53 "DYNAMIC_ANNOTATIONS_ENABLED=1",
54 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
58 if (disable_iterator_debugging) {
59 # Iterator debugging is enabled by the compiler on debug builds, and we
60 # have to tell it to turn it off.
61 defines += [ "_HAS_ITERATOR_DEBUGGING=0" ]
63 } else if (is_linux && !is_android && cpu_arch == "x64" &&
64 !disable_iterator_debugging) {
65 # Enable libstdc++ debugging facilities to help catch problems early, see
66 # http://crbug.com/65151 .
67 # TODO(phajdan.jr): Should we enable this for all of POSIX?
68 defines += [ "_GLIBCXX_DEBUG=1" ]