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

Unified Diff: third_party/android_platform/BUILD.gn

Issue 1415803005: Port android_relocation_packer_unittests to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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.gn ('k') | third_party/android_platform/relocation_packer.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/android_platform/BUILD.gn
diff --git a/third_party/android_platform/BUILD.gn b/third_party/android_platform/BUILD.gn
index 123c264d7ce7884699649fe0c1c2bd5b6d532913..f2b3b5d65c92175447c1f51ffd183a70abeb733f 100644
--- a/third_party/android_platform/BUILD.gn
+++ b/third_party/android_platform/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//testing/test.gni")
import("config.gni")
gypi_values = exec_script("//build/gypi_to_gn.py",
@@ -29,4 +30,21 @@ if (current_toolchain == host_toolchain) {
]
sources = gypi_values.relocation_packer_main_source
}
+
+ copy("copy_android_relocation_packer_test_data") {
+ sources = gypi_values.relocation_packer_test_data_sources
+ outputs = [
+ "$root_out_dir/{{source_file_part}}",
+ ]
+ }
+
+ # GYP: //third_party/android_platform/relocation_packer.gyp:android_relocation_packer_unittests
+ test("android_relocation_packer_unittests") {
+ deps = [
+ ":android_lib_relocation_packer",
+ ":copy_android_relocation_packer_test_data",
+ "//testing/gtest",
+ ]
+ sources = gypi_values.relocation_packer_test_sources
+ }
}
« no previous file with comments | « BUILD.gn ('k') | third_party/android_platform/relocation_packer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698