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

Side by Side Diff: build/java.gypi

Issue 10959034: Make apks build from a single ant .xml template (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 'android/ant/chromium-jars.xml', 60 'android/ant/chromium-jars.xml',
61 '>!@(find >(java_in_dir) >(additional_src_dirs) -name "*.java")', 61 '>!@(find >(java_in_dir) >(additional_src_dirs) -name "*.java")',
62 '>@(input_jars_paths)', 62 '>@(input_jars_paths)',
63 '>@(additional_input_paths)', 63 '>@(additional_input_paths)',
64 ], 64 ],
65 'outputs': [ 65 'outputs': [
66 '<(PRODUCT_DIR)/lib.java/chromium_<(package_name).jar', 66 '<(PRODUCT_DIR)/lib.java/chromium_<(package_name).jar',
67 ], 67 ],
68 'action': [ 68 'action': [
69 'ant', 69 'ant',
70 '-DCONFIGURATION_NAME=<(CONFIGURATION_NAME)',
70 '-DANDROID_SDK=<(android_sdk)', 71 '-DANDROID_SDK=<(android_sdk)',
71 '-DANDROID_SDK_ROOT=<(android_sdk_root)', 72 '-DANDROID_SDK_ROOT=<(android_sdk_root)',
72 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', 73 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)',
73 '-DANDROID_SDK_VERSION=<(android_sdk_version)', 74 '-DANDROID_SDK_VERSION=<(android_sdk_version)',
74 '-DANDROID_GDBSERVER=<(android_gdbserver)', 75 '-DANDROID_GDBSERVER=<(android_gdbserver)',
75 '-DPRODUCT_DIR=<(ant_build_out)', 76 '-DPRODUCT_DIR=<(ant_build_out)',
76 77
77 '-DADDITIONAL_SRC_DIRS=>(additional_src_dirs)', 78 '-DADDITIONAL_SRC_DIRS=>(additional_src_dirs)',
78 '-DGENERATED_SRC_DIRS=>(generated_src_dirs)', 79 '-DGENERATED_SRC_DIRS=>(generated_src_dirs)',
79 '-DINPUT_JARS_PATHS=>(input_jars_paths)', 80 '-DINPUT_JARS_PATHS=>(input_jars_paths)',
80 '-DPACKAGE_NAME=<(package_name)', 81 '-DPACKAGE_NAME=<(package_name)',
81 82
82 '-Dbasedir=<(java_in_dir)', 83 '-Dbasedir=<(java_in_dir)',
83 '-buildfile', 84 '-buildfile',
84 '<(DEPTH)/build/android/ant/chromium-jars.xml' 85 '<(DEPTH)/build/android/ant/chromium-jars.xml'
85 ] 86 ]
86 }, 87 },
87 ], 88 ],
88 } 89 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698