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

Unified Diff: components/BUILD.gn

Issue 1944943003: [Mac/GN] Start running components_unittests, components_browsertests, and unit_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/password_manager/core/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/BUILD.gn
diff --git a/components/BUILD.gn b/components/BUILD.gn
index e1543c112671f98d96070b35394118b843509b4f..5c8387e446d35453d40bba6c38558b76189e18b9 100644
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
@@ -15,7 +15,7 @@ if (is_ios) {
import("//ios/build/config.gni")
}
-if (is_ios || is_mac) {
+if (is_ios) {
bundle_data("components_tests_pak_bundle_data") {
public_deps = [
":components_tests_pak",
@@ -210,10 +210,14 @@ test("components_unittests") {
]
} # iOS/!iOS
- if (is_ios || is_mac) {
+ if (is_ios) {
deps += [ ":components_tests_pak_bundle_data" ]
}
+ if (is_mac) {
+ data_deps += [ "//content/shell:pak" ]
+ }
+
if (is_android) {
deps += [
"//components/gcm_driver/instance_id:test_support",
@@ -421,6 +425,7 @@ if (!is_ios) {
]
if (is_mac) {
+ data_deps += [ "//content/shell:content_shell" ]
data += [ "$root_out_dir/Content Shell.app/" ]
}
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/password_manager/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698