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

Side by Side Diff: build/android/tests/bad_resources/bad_resources.gyp

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: Handle APKs with no resources and add a --include-all-resources option 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved.
gunsch 2015/05/08 17:48:14 nit: no (c)
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 {
gunsch 2015/05/08 17:48:13 nit: blank line above
5 'variables': {
6 'chromium_code': 1,
7 },
8 'targets': [
9 {
10 'target_name': 'empty_resources_dep',
11 'type': 'none',
12 'variables': {
13 'java_in_dir': 'empty_dep/java',
14 'has_java_resources': 1,
15 'R_package': 'dummy.emptydep',
16 'R_package_relpath': 'dummy/emptydep',
17 },
18 'includes': [ '../../../../build/java.gypi' ],
19 },
20 {
21 'target_name': 'bad_resources_dep',
22 'type': 'none',
23 'variables': {
24 'java_in_dir': 'dep/java',
25 'has_java_resources': 1,
26 'R_package': 'dummy.dep',
27 'R_package_relpath': 'dummy/dep',
28 },
29 'includes': [ '../../../../build/java.gypi' ],
30 },
31 {
32 'target_name': 'bad_resources_test_apk',
33 'type': 'none',
34 'dependencies': ['bad_resources_dep'],
35 'variables': {
36 'app_manifest_version_name%': '<(android_app_version_name)',
37 'java_in_dir': 'app/java',
38 'resource_dir': 'app/res',
39 'R_package': 'dummy',
40 'R_package_relpath': 'dummy',
41 'apk_name': 'BadResources',
42 # This is a build-only test. There's nothing to install.
43 'gyp_managed_install': 0,
44 # Include this APK's resources in the R.java files of it's dependencies
gunsch 2015/05/08 17:48:14 grammar nit: it's --> its
45 'include_all_resources': 1,
46 },
47 'includes': [ '../../../../build/java_apk.gypi' ],
48 },
49 ],
50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698