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

Side by Side Diff: build/java_prebuilt.gypi

Issue 13261024: Make write_library_dependencies.py find all transitive dependencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pushlib
Patch Set: Created 7 years, 8 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
« no previous file with comments | « build/java_apk.gypi ('k') | no next file » | 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 package prebuilt Java JARs in a consistent manner. 6 # to package prebuilt Java JARs 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',
11 # 'type': 'none', 11 # 'type': 'none',
12 # 'variables': { 12 # 'variables': {
13 # 'jar_path': 'path/to/your.jar', 13 # 'jar_path': 'path/to/your.jar',
14 # }, 14 # },
15 # 'includes': ['path/to/this/gypi/file'], 15 # 'includes': ['path/to/this/gypi/file'],
16 # } 16 # }
17 # 17 #
18 # Required variables: 18 # Required variables:
19 # jar_path - The path to the prebuilt Java JAR file. 19 # jar_path - The path to the prebuilt Java JAR file.
20 20
21 { 21 {
22 'dependencies': [ 22 'dependencies': [
23 '<(DEPTH)/build/build_output_dirs_android.gyp:build_output_dirs' 23 '<(DEPTH)/build/android/setup.gyp:build_output_dirs'
24 ], 24 ],
25 'variables': { 25 'variables': {
26 'dex_path': '<(PRODUCT_DIR)/lib.java/<(_target_name).dex.jar', 26 'dex_path': '<(PRODUCT_DIR)/lib.java/<(_target_name).dex.jar',
27 }, 27 },
28 'all_dependent_settings': { 28 'all_dependent_settings': {
29 'variables': { 29 'variables': {
30 'input_jars_paths': ['<(jar_path)'], 30 'input_jars_paths': ['<(jar_path)'],
31 'library_dexed_jars_paths': ['<(dex_path)'], 31 'library_dexed_jars_paths': ['<(dex_path)'],
32 }, 32 },
33 }, 33 },
(...skipping 16 matching lines...) Expand all
50 50
51 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja . 51 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja .
52 '--ignore=>!(echo \'>(_inputs)\' | md5sum)', 52 '--ignore=>!(echo \'>(_inputs)\' | md5sum)',
53 53
54 '<(jar_path)', 54 '<(jar_path)',
55 ] 55 ]
56 }, 56 },
57 57
58 ], 58 ],
59 } 59 }
OLDNEW
« no previous file with comments | « build/java_apk.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698