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

Unified Diff: ui/base/BUILD.gn

Issue 1865483002: [Mac/GN] Initial framework bundle support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove _package_target Created 4 years, 8 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 | « build/config/mac/rules.gni ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/BUILD.gn
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
index c8dc2c34f6b04086523edadcdef8b4ce123a86cf..db5543834060cc4ac7c4b4dea7243a95dffb9016 100644
--- a/ui/base/BUILD.gn
+++ b/ui/base/BUILD.gn
@@ -13,6 +13,8 @@ import("//ui/ozone/ozone.gni")
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
+} else if (is_mac) {
+ import("//build/config/mac/rules.gni")
}
build_ime = !is_ios
@@ -891,8 +893,8 @@ test("ui_base_unittests") {
if (is_mac) {
deps += [
+ ":ui_unittests Framework",
"//third_party/mozilla",
- #'ui_base_tests_bundle', TODO(GYP)
]
}
@@ -947,4 +949,13 @@ test("ui_base_unittests") {
}
}
}
-# TODO(GYP) Mac (ui_base_tests_bundle)
+
+if (is_mac) {
+ mac_framework("ui_unittests Framework") {
+ testonly = true
+ deps = [
+ "//ui/resources:ui_test_pak_bundle_data",
+ ]
+ info_plist = "test/framework-Info.plist"
+ }
+}
« no previous file with comments | « build/config/mac/rules.gni ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698