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

Unified Diff: build/android/tests/bad_resources/BUILD.gn

Issue 1136653002: Reland: Actually use --extra-r-text-files in process_resources.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits Created 5 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
Index: build/android/tests/bad_resources/BUILD.gn
diff --git a/build/android/tests/bad_resources/BUILD.gn b/build/android/tests/bad_resources/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..237a6cb9ba0c04383271eb70bdb8dd1a5497aa53
--- /dev/null
+++ b/build/android/tests/bad_resources/BUILD.gn
@@ -0,0 +1,34 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/android/rules.gni")
+
+# GYP: //build/android/tests/bad_resources.gypi:bad_resources_test_apk
+android_resources("app_resources") {
+ resource_dirs = [ "app/res" ]
+ android_manifest = "app/java/AndroidManifest.xml"
+}
+android_resources("dep_resources") {
+ resource_dirs = [ "dep/java/res" ]
+ custom_package = "dummy.dep"
+}
+android_resources("empty_dep_resources") {
+ resource_dirs = [ "empty_dep/java/res" ]
+ custom_package = "dummy.emptydep"
+}
+android_apk("bad_resources_test_apk") {
+ android_manifest = "app/java/AndroidManifest.xml"
+ apk_name = "BadResources"
+ java_files = [
+ "app/java/src/dummy/DummyActivity.java",
+ "app/java/src/dummy/NativeLibraries.java",
+ ]
+ deps = [
+ ":app_resources",
+ ":dep_resources",
+ ":empty_dep_resources",
+ ]
+ include_all_resources = true
+ testonly = true
+}

Powered by Google App Engine
This is Rietveld 408576698