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

Side by Side Diff: ui/base/ui_base_tests.gyp

Issue 537063002: Eliminate silently letting errors pass on pak loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios finally works Created 6 years, 3 months 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 unified diff | Download patch
OLDNEW
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 'action_name': 'copy_test_data', 105 'action_name': 'copy_test_data',
106 'variables': { 106 'variables': {
107 'test_data_files': [ 107 'test_data_files': [
108 'test/data', 108 'test/data',
109 ], 109 ],
110 'test_data_prefix' : 'ui/base', 110 'test_data_prefix' : 'ui/base',
111 }, 111 },
112 'includes': [ '../../build/copy_test_data_ios.gypi' ], 112 'includes': [ '../../build/copy_test_data_ios.gypi' ],
113 }, 113 },
114 ], 114 ],
115 'postbuilds': [
116 # The iOS resource bundle code hard-codes the names of the 100% and
117 # 200% paks. This copying allows locale.pak to stand in for them.
118 {
119 'postbuild_name': 'Copy chrome_100_percent for test',
120 'action': [
121 'cp',
122 '${BUILT_PRODUCTS_DIR}/ui/en.lproj/locale.pak',
123 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/chrome_100_percent.pak'
124 ],
125 },
126 {
127 'postbuild_name': 'Copy chrome_200_percent for test',
128 'action': [
129 'cp',
130 '${BUILT_PRODUCTS_DIR}/ui/en.lproj/locale.pak',
131 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/chrome_200_percent.pak'
132 ],
133 },
134 ],
115 }], 135 }],
116 ['OS == "win"', { 136 ['OS == "win"', {
117 'sources': [ 137 'sources': [
118 'dragdrop/os_exchange_data_win_unittest.cc', 138 'dragdrop/os_exchange_data_win_unittest.cc',
119 'win/hwnd_subclass_unittest.cc', 139 'win/hwnd_subclass_unittest.cc',
120 'win/open_file_name_win_unittest.cc', 140 'win/open_file_name_win_unittest.cc',
121 ], 141 ],
122 'msvs_settings': { 142 'msvs_settings': {
123 'VCLinkerTool': { 143 'VCLinkerTool': {
124 'DelayLoadDLLs': [ 144 'DelayLoadDLLs': [
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 ], 277 ],
258 'variables': { 278 'variables': {
259 'test_suite_name': 'ui_unittests', 279 'test_suite_name': 'ui_unittests',
260 }, 280 },
261 'includes': [ '../../build/apk_test.gypi' ], 281 'includes': [ '../../build/apk_test.gypi' ],
262 }, 282 },
263 ], 283 ],
264 }], 284 }],
265 ], 285 ],
266 } 286 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698