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

Side by Side Diff: build/java.gypi

Issue 11783108: Revert 176176 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/android/process_resources.py ('k') | build/java_apk.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to build Java in a consistent manner. 6 # to build Java in a consistent manner.
7 # 7 #
8 # To use this, create a gyp target with the following form: 8 # To use this, create a gyp target with the following form:
9 # { 9 # {
10 # 'target_name': 'my-package_java', 10 # 'target_name': 'my-package_java',
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 'additional_R_files': [], 66 'additional_R_files': [],
67 'has_java_resources%': 0, 67 'has_java_resources%': 0,
68 }, 68 },
69 'conditions': [ 69 'conditions': [
70 ['has_java_resources == 1', { 70 ['has_java_resources == 1', {
71 'variables': { 71 'variables': {
72 'res_dir': '<(java_in_dir)/res', 72 'res_dir': '<(java_in_dir)/res',
73 'crunched_res_dir': '<(SHARED_INTERMEDIATE_DIR)/<(package_name)/res', 73 'crunched_res_dir': '<(SHARED_INTERMEDIATE_DIR)/<(package_name)/res',
74 'R_dir': '<(SHARED_INTERMEDIATE_DIR)/<(package_name)/java_R', 74 'R_dir': '<(SHARED_INTERMEDIATE_DIR)/<(package_name)/java_R',
75 'R_file': '<(R_dir)/<(R_package_relpath)/R.java', 75 'R_file': '<(R_dir)/<(R_package_relpath)/R.java',
76 'R_text_file': '<(R_dir)/R.txt',
77 'generated_src_dirs': ['<(R_dir)'], 76 'generated_src_dirs': ['<(R_dir)'],
78 'additional_input_paths': ['<(R_file)'], 77 'additional_input_paths': ['<(R_file)'],
79 }, 78 },
80 'all_dependent_settings': { 79 'all_dependent_settings': {
81 'variables': { 80 'variables': {
82 # Dependent jars include this target's R.java file via 81 # Dependent jars include this target's R.java file via
83 # generated_R_dirs and additional_R_files. 82 # generated_R_dirs and additional_R_files.
84 'generated_R_dirs': ['<(R_dir)'], 83 'generated_R_dirs': ['<(R_dir)'],
85 'additional_R_files': ['<(R_file)'], 84 'additional_R_files': ['<(R_file)'],
86 'additional_R_text_files': ['<(R_text_file)'],
87 85
88 # Dependent APKs include this target's resources via 86 # Dependent APKs include this target's resources via
89 # additional_res_dirs and additional_res_packages. 87 # additional_res_dirs and additional_res_packages.
90 'additional_res_dirs': ['<(crunched_res_dir)', '<(res_dir)'], 88 'additional_res_dirs': ['<(crunched_res_dir)', '<(res_dir)'],
91 'additional_res_packages': ['<(R_package)'], 89 'additional_res_packages': ['<(R_package)'],
92 }, 90 },
93 }, 91 },
94 'actions': [ 92 'actions': [
95 # Generate R.java and crunch image resources. 93 # Generate R.java and crunch image resources.
96 { 94 {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 '-DPACKAGE_NAME=<(package_name)', 144 '-DPACKAGE_NAME=<(package_name)',
147 '-DJAVAC_INCLUDES=>(javac_includes)', 145 '-DJAVAC_INCLUDES=>(javac_includes)',
148 146
149 '-Dbasedir=<(java_in_dir)', 147 '-Dbasedir=<(java_in_dir)',
150 '-buildfile', 148 '-buildfile',
151 '<(DEPTH)/build/android/ant/chromium-jars.xml' 149 '<(DEPTH)/build/android/ant/chromium-jars.xml'
152 ] 150 ]
153 }, 151 },
154 ], 152 ],
155 } 153 }
OLDNEW
« no previous file with comments | « build/android/process_resources.py ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698