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 |
+ ], |
+} |