Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Unified Diff: Source/build/defines_from_chromium.gypi

Issue 102123002: Enable ASSERT when DCHECK_ALWAYS_ON is defined. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/core.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/defines_from_chromium.gypi
diff --git a/Tools/Scripts/print-layout-test-times b/Source/build/defines_from_chromium.gypi
old mode 100755
new mode 100644
similarity index 82%
copy from Tools/Scripts/print-layout-test-times
copy to Source/build/defines_from_chromium.gypi
index 20019957724b7351a696c6c8c5830e881ed649ef..981e28ac7946d70a49ff4a421f3bad8f3aa4d07c
--- a/Tools/Scripts/print-layout-test-times
+++ b/Source/build/defines_from_chromium.gypi
@@ -1,6 +1,5 @@
-#!/usr/bin/python
#
-# Copyright (C) 2013 Google Inc. All rights reserved.
+# Copyright (C) 2013 Intel Corporation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
@@ -27,10 +26,19 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
-import sys
-
-from webkitpy.common import host
-from webkitpy.layout_tests import print_layout_test_times
-
-print_layout_test_times.main(host.Host(), sys.argv[1:])
+{
+ 'variables': {
+ 'dcheck_always_on%' : 0,
+ },
+ 'conditions': [
+ ['dcheck_always_on!=0', {
+ 'target_defaults': {
+ 'defines': [
+ 'ASSERTIONS_DISABLED_DEFAULT=0',
+ ],
+ },
+ }], # dcheck_always_on!=0
+ ],
+}
« no previous file with comments | « no previous file | Source/core/core.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698