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

Unified Diff: base/BUILD.gn

Issue 1752873002: Use bundle_data and create_bundle to add support for iOS app bundle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-create-bundle
Patch Set: Remove conditional around bundle_data, use response_file_contents, clean description of compile_xca… Created 4 years, 9 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 | « no previous file | build/config/ios/BuildInfo.plist » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 1fcd7189ae63bc7ec7f818af5a13d31953f6e35e..30380c8edee297e13c594e17acaea7874b96b1ff 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -1620,6 +1620,16 @@ if (is_win) {
}
}
+bundle_data("base_unittests_bundle_data") {
+ sources = [
+ "test/data",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/" +
+ "{{source_root_relative_dir}}/{{source_file_part}}",
+ ]
+}
+
test("base_unittests") {
sources = [
"allocator/tcmalloc_unittest.cc",
@@ -1882,6 +1892,10 @@ test("base_unittests") {
"//third_party/icu",
]
+ public_deps = [
+ ":base_unittests_bundle_data",
+ ]
+
# Some unittests depend on the ALLOCATOR_SHIM macro.
configs += [ "//base/allocator:allocator_shim_define" ]
« no previous file with comments | « no previous file | build/config/ios/BuildInfo.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698