| 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 config("my_msvs") { | 5 config("my_msvs") { |
| 6 defines = [ | 6 defines = [ |
| 7 "CHROMIUM_BUILD", | 7 "CHROMIUM_BUILD", |
| 8 "TOOLKIT_VIEWS=1", | 8 "TOOLKIT_VIEWS=1", |
| 9 "USE_LIBJPEG_TURBO=1", | 9 "USE_LIBJPEG_TURBO=1", |
| 10 "ENABLE_ONE_CLICK_SIGNIN", | 10 "ENABLE_ONE_CLICK_SIGNIN", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 config("feature_flags") { | 36 config("feature_flags") { |
| 37 #defines = | 37 #defines = |
| 38 } | 38 } |
| 39 | 39 |
| 40 config("debug") { | 40 config("debug") { |
| 41 defines = [ | 41 defines = [ |
| 42 "_DEBUG", | 42 "_DEBUG", |
| 43 "DYNAMIC_ANNOTATIONS_ENABLED=1", | 43 "DYNAMIC_ANNOTATIONS_ENABLED=1", |
| 44 "WTF_USE_DYNAMIC_ANNOTATIONS=1", | 44 "WTF_USE_DYNAMIC_ANNOTATIONS=1", |
| 45 ] | 45 ] |
| 46 |
| 47 if (is_linux && !is_android && cpu_arch == "x64") { |
| 48 # Enable libstdc++ debugging facilities to help catch problems early, see |
| 49 # http://crbug.com/65151 . |
| 50 # TODO(phajdan.jr): Should we enable this for all of POSIX? |
| 51 defines += [ "_GLIBCXX_DEBUG=1" ] |
| 52 } |
| 46 } | 53 } |
| 47 | 54 |
| 48 config("release") { | 55 config("release") { |
| 49 | 56 |
| 50 } | 57 } |
| OLD | NEW |