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

Unified Diff: base/BUILD.gn

Issue 1611363003: Add support for iOS application bundle to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-bundles
Patch Set: Filter .xcassets from the copy_bundle_data step Created 4 years, 11 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') | build/config/ios/rules.gni » ('J')
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 3f8380c78255abc03d6bf895b80f058b2ce277c5..bb01aa59a8a6ea5a44c8c6eee4dd722851b7e622 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -1877,6 +1877,41 @@ test("base_unittests") {
"test/data/",
]
+ if (is_ios) {
+ bundle_test_name = "baseunittests"
Dirk Pranke 2016/01/29 00:54:25 are underscores not allowed in the application ids
sdefresne 2016/02/05 10:20:00 They are, but when using gyp, //testing/gtest.gyp
Dirk Pranke 2016/02/10 01:18:13 Okay. We should probably preserve compatibility, t
+ test_data_files = [
Dirk Pranke 2016/01/29 00:54:25 I think having to specify *every* test file may en
sdefresne 2016/02/05 10:20:00 I agree that not listing all the files would make
Dirk Pranke 2016/02/10 01:18:12 True. Maybe we should modify copy() to allow a rec
+ "test/data/file_util/binary_file.bin",
+ "test/data/file_util/binary_file_diff.bin",
+ "test/data/file_util/binary_file_same.bin",
+ "test/data/file_util/blank_line.txt",
+ "test/data/file_util/blank_line_crlf.txt",
+ "test/data/file_util/crlf.txt",
+ "test/data/file_util/different.txt",
+ "test/data/file_util/different_first.txt",
+ "test/data/file_util/different_last.txt",
+ "test/data/file_util/empty1.txt",
+ "test/data/file_util/empty2.txt",
+ "test/data/file_util/first1.txt",
+ "test/data/file_util/first2.txt",
+ "test/data/file_util/original.txt",
+ "test/data/file_util/red.png",
+ "test/data/file_util/same.txt",
+ "test/data/file_util/same_length.txt",
+ "test/data/file_util/shortened.txt",
+ "test/data/file_version_info_unittest/FileVersionInfoTest1.dll",
+ "test/data/file_version_info_unittest/FileVersionInfoTest2.dll",
+ "test/data/json/bom_feff.json",
+ "test/data/pe_image/pe_image_test_32.dll",
+ "test/data/pe_image/pe_image_test_64.dll",
+ "test/data/prefs/invalid.json",
+ "test/data/prefs/read.json",
+ "test/data/prefs/write.golden.json",
+ "test/data/serializer_nested_test.json",
+ "test/data/serializer_test.json",
+ "test/data/serializer_test_nowhitespace.json",
+ ]
+ }
+
# Allow more direct string conversions on platforms with native utf8
# strings
if (is_mac || is_ios || is_chromeos) {
« no previous file with comments | « no previous file | build/config/ios/BuildInfo.plist » ('j') | build/config/ios/rules.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698