| 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
|
| +}
|
|
|