Chromium Code Reviews| 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 # Debug/release ---------------------------------------------------------------- | 5 # Debug/release ---------------------------------------------------------------- |
| 6 | 6 |
| 7 config("debug") { | 7 config("debug") { |
| 8 defines = [ | 8 defines = [ "DEBUG" ] |
| 9 "DEBUG", | |
| 10 ] | |
| 11 } | 9 } |
| 12 | 10 |
| 13 config("release") { | 11 config("release") { |
| 14 defines = [ | 12 defines = [ "NDEBUG" ] |
| 15 "NDEBUG" | |
| 16 ] | |
| 17 } | 13 } |
| 18 | 14 |
| 19 config("product") { | 15 config("product") { |
| 20 defines = [ | 16 defines = [ |
| 21 "NDEBUG", | 17 "NDEBUG", |
| 22 "PRODUCT", | 18 "PRODUCT", |
| 23 ] | 19 ] |
| 24 } | 20 } |
| OLD | NEW |