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 } | |
133 ], | |
134 ['OS == "ios"', | |
135 { | |
136 'actions': [ | |
137 { | |
138 'message': 'TEMPORARY: Copying url_unittests to googleurl_unitte
sts', | |
139 'action_name': 'copy_url_unittests', | |
140 'variables': { | |
141 'source_file': '<(PRODUCT_DIR)/url_unittests.app/url_unittests
', | |
142 'dest_file': '<(PRODUCT_DIR)/googleurl_unittests.app/googleurl
_unittests', | |
143 }, | |
144 'inputs': [ | |
145 '../build/cp.py', | |
146 '<(source_file)', | |
147 ], | |
148 'outputs': [ | |
149 '<(dest_file)', | |
150 ], | |
151 'action': [ | |
152 'python', '../build/cp.py', '<(source_file)', '<(dest_file)', | |
153 ], | |
154 }, | |
155 ], | |
156 } | |
157 ] | |
158 ], | |
159 }, | |
160 ], | 98 ], |
161 } | 99 } |
OLD | NEW |