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

Side by Side Diff: build/java.gypi

Issue 10830012: [Android] Add chrome_java target for building Java code in the chromium layer. (Closed) Base URL: http://git.chromium.org/chromium/src.git@reland
Patch Set: fix java build error Created 8 years, 4 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/apk_test.gypi ('k') | chrome/android/java/chrome.xml » ('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 29 matching lines...) Expand all
40 '<!@(find <(java_in_dir) -name "*.java")' 40 '<!@(find <(java_in_dir) -name "*.java")'
41 ], 41 ],
42 'outputs': [ 42 'outputs': [
43 '<(PRODUCT_DIR)/lib.java/chromium_<(package_name).jar', 43 '<(PRODUCT_DIR)/lib.java/chromium_<(package_name).jar',
44 ], 44 ],
45 'action': [ 45 'action': [
46 'ant', 46 'ant',
47 '-DPRODUCT_DIR=<(ant_build_out)', 47 '-DPRODUCT_DIR=<(ant_build_out)',
48 '-DPACKAGE_NAME=<(package_name)', 48 '-DPACKAGE_NAME=<(package_name)',
49 '-DANDROID_SDK=<(android_sdk)', 49 '-DANDROID_SDK=<(android_sdk)',
50 '-DANDROID_SDK_ROOT=<(android_sdk_root)',
51 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)',
52 '-DANDROID_SDK_VERSION=<(android_sdk_version)',
53 '-DANDROID_TOOLCHAIN=<(android_toolchain)',
50 '-buildfile', 54 '-buildfile',
51 '<(java_in_dir)/<(package_name).xml', 55 '<(java_in_dir)/<(package_name).xml',
52 ] 56 ]
53 }, 57 },
54 ], 58 ],
55 } 59 }
OLDNEW
« no previous file with comments | « build/apk_test.gypi ('k') | chrome/android/java/chrome.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698