| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 ], | 88 ], |
| 89 } | 89 } |
| 90 ], | 90 ], |
| 91 ], | 91 ], |
| 92 } | 92 } |
| 93 ], | 93 ], |
| 94 ], | 94 ], |
| 95 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 95 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 96 'msvs_disabled_warnings': [4267, ], | 96 'msvs_disabled_warnings': [4267, ], |
| 97 }, | 97 }, |
| 98 { | |
| 99 # url_unittests was formerly named googleurl_unittests. While the build | |
| 100 # bots are being switched to use the new name we need to support both | |
| 101 # executables. | |
| 102 # TODO(tfarina): Remove this target when build bots are building and | |
| 103 # running url_unittests. crbug.com/229660 | |
| 104 'target_name': 'googleurl_unittests', | |
| 105 'type': 'none', | |
| 106 'dependencies': [ | |
| 107 'url_unittests', | |
| 108 ], | |
| 109 'conditions': [ | |
| 110 ['OS != "ios"', | |
| 111 { | |
| 112 'actions': [ | |
| 113 { | |
| 114 'message': 'TEMPORARY: Copying url_unittests to googleurl_unitte
sts', | |
| 115 'action_name': 'copy_url_unittests', | |
| 116 'variables': { | |
| 117 'source_file': '<(PRODUCT_DIR)/url_unittests<(EXECUTABLE_SUFFI
X)', | |
| 118 'dest_file': '<(PRODUCT_DIR)/googleurl_unittests<(EXECUTABLE_S
UFFIX)', | |
| 119 }, | |
| 120 'inputs': [ | |
| 121 '../build/cp.py', | |
| 122 '<(source_file)', | |
| 123 ], | |
| 124 'outputs': [ | |
| 125 '<(dest_file)', | |
| 126 ], | |
| 127 'action': [ | |
| 128 'python', '../build/cp.py', '<(source_file)', '<(dest_file)', | |
| 129 ], | |
| 130 }, | |
| 131 ], | |
| 132 }, { # else OS == "ios" | |
| 133 'actions': [ | |
| 134 { | |
| 135 'message': 'TEMPORARY: Copying url_unittests to googleurl_unitte
sts', | |
| 136 'action_name': 'copy_url_unittests', | |
| 137 'variables': { | |
| 138 'source_file': '<(PRODUCT_DIR)/url_unittests.app/', | |
| 139 'dest_file': '<(PRODUCT_DIR)/googleurl_unittests.app', | |
| 140 }, | |
| 141 'inputs': [ | |
| 142 '../build/cp.py', | |
| 143 '<(source_file)', | |
| 144 ], | |
| 145 'outputs': [ | |
| 146 '<(dest_file)', | |
| 147 ], | |
| 148 'action': [ | |
| 149 'cp', '-R', '<(source_file)', '<(dest_file)', | |
| 150 ], | |
| 151 }, | |
| 152 ], | |
| 153 } | |
| 154 ] | |
| 155 ], | |
| 156 }, | |
| 157 ], | 98 ], |
| 158 } | 99 } |
| OLD | NEW |