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

Side by Side Diff: chrome/test/BUILD.gn

Issue 1211213003: mac: Swizzle out +[NSBundle mainBundle] for in process browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove blank line. Created 5 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/module_args/v8.gni") 9 import("//build/module_args/v8.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 26 matching lines...) Expand all
37 "base/find_in_page_observer.cc", 37 "base/find_in_page_observer.cc",
38 "base/find_in_page_observer.h", 38 "base/find_in_page_observer.h",
39 "base/history_index_restore_observer.cc", 39 "base/history_index_restore_observer.cc",
40 "base/history_index_restore_observer.h", 40 "base/history_index_restore_observer.h",
41 "base/in_process_browser_test.cc", 41 "base/in_process_browser_test.cc",
42 "base/in_process_browser_test.h", 42 "base/in_process_browser_test.h",
43 "base/profile_mock.cc", 43 "base/profile_mock.cc",
44 "base/profile_mock.h", 44 "base/profile_mock.h",
45 "base/scoped_browser_locale.cc", 45 "base/scoped_browser_locale.cc",
46 "base/scoped_browser_locale.h", 46 "base/scoped_browser_locale.h",
47 "base/scoped_bundle_swizzler_mac.h",
48 "base/scoped_bundle_swizzler_mac.mm",
47 "base/scoped_testing_local_state.cc", 49 "base/scoped_testing_local_state.cc",
48 "base/scoped_testing_local_state.h", 50 "base/scoped_testing_local_state.h",
49 "base/test_browser_window.cc", 51 "base/test_browser_window.cc",
50 "base/test_browser_window.h", 52 "base/test_browser_window.h",
51 "base/test_launcher_utils.cc", 53 "base/test_launcher_utils.cc",
52 "base/test_launcher_utils.h", 54 "base/test_launcher_utils.h",
53 "base/test_switches.cc", 55 "base/test_switches.cc",
54 "base/test_switches.h", 56 "base/test_switches.h",
55 "base/testing_browser_process.cc", 57 "base/testing_browser_process.cc",
56 "base/testing_browser_process.h", 58 "base/testing_browser_process.h",
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 if (enable_extensions) { 157 if (enable_extensions) {
156 deps += [ 158 deps += [
157 "//chrome/common/extensions/api", 159 "//chrome/common/extensions/api",
158 "//extensions:test_support", 160 "//extensions:test_support",
159 ] 161 ]
160 } 162 }
161 163
162 if (is_linux) { 164 if (is_linux) {
163 deps += [ "//crypto:platform" ] 165 deps += [ "//crypto:platform" ]
164 } 166 }
167 if (is_mac) {
168 # deps += [ '../third_party/ocmock/ocmock.gyp:ocmock' ] TODO(GYP)
Paweł Hajdan Jr. 2015/07/08 10:01:13 Why does this line say TODO(GYP)? - and why is it
erikchen 2015/07/08 17:48:38 Mac doesn't build with GN yet. This copies line 90
169 }
165 if (is_win) { 170 if (is_win) {
166 deps += [ "//third_party/wtl" ] 171 deps += [ "//third_party/wtl" ]
167 if (use_aura) { 172 if (use_aura) {
168 deps += [ 173 deps += [
169 "//win8:test_registrar_constants", 174 "//win8:test_registrar_constants",
170 "//win8:test_support_win8", 175 "//win8:test_support_win8",
171 ] 176 ]
172 } 177 }
173 } 178 }
174 if (is_chromeos) { 179 if (is_chromeos) {
(...skipping 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 "//third_party/mojo/src/mojo/edk/system", 1827 "//third_party/mojo/src/mojo/edk/system",
1823 ] 1828 ]
1824 1829
1825 if (!is_android && use_ash) { 1830 if (!is_android && use_ash) {
1826 sources += 1831 sources +=
1827 rebase_path(unit_gypi_values.chrome_test_support_unit_ash_sources, 1832 rebase_path(unit_gypi_values.chrome_test_support_unit_ash_sources,
1828 ".", 1833 ".",
1829 "//chrome") 1834 "//chrome")
1830 } 1835 }
1831 } 1836 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698