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

Side by Side Diff: testing/android/native_test.gyp

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 | « testing/android/generate_native_test.py ('k') | testing/android/native_test_apk.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 { 5 {
6 'conditions': [ 6 'conditions': [
7 ['OS=="android"', { 7 ['OS=="android"', {
8 'targets': [ 8 'targets': [
9 { 9 {
10 'target_name': 'native_test_apk', 10 'target_name': 'native_test_apk',
(...skipping 21 matching lines...) Expand all
32 # Awkwardly, we build a Debug APK even when gyp is in 32 # Awkwardly, we build a Debug APK even when gyp is in
33 # Release mode. I don't think it matters (e.g. we're 33 # Release mode. I don't think it matters (e.g. we're
34 # probably happy to not codesign) but naming should be 34 # probably happy to not codesign) but naming should be
35 # fixed. The -debug name is an aspect of the android 35 # fixed. The -debug name is an aspect of the android
36 # SDK antfiles (e.g. ${sdk.dir}/tools/ant/build.xml) 36 # SDK antfiles (e.g. ${sdk.dir}/tools/ant/build.xml)
37 '<(PRODUCT_DIR)/replaceme_apk/replaceme-debug.apk', 37 '<(PRODUCT_DIR)/replaceme_apk/replaceme-debug.apk',
38 ], 38 ],
39 'action': [ 39 'action': [
40 'ant', 40 'ant',
41 '-DPRODUCT_DIR=<(ant_build_out)', 41 '-DPRODUCT_DIR=<(ant_build_out)',
42 '-DANDROID_SDK=<(android_sdk)',
43 '-DANDROID_SDK_ROOT=<(android_sdk_root)',
44 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)',
45 '-DANDROID_SDK_VERSION=<(android_sdk_version)',
46 '-DANDROID_TOOLCHAIN=<(android_toolchain)',
42 '-buildfile', 47 '-buildfile',
43 '<(DEPTH)/testing/android/native_test_apk.xml', 48 '<(DEPTH)/testing/android/native_test_apk.xml',
44 ] 49 ]
45 } 50 }
46 ], 51 ],
47 }, 52 },
48 { 53 {
49 'target_name': 'native_test_native_code', 54 'target_name': 'native_test_native_code',
50 'message': 'building native pieces of native test package', 55 'message': 'building native pieces of native test package',
51 'type': 'static_library', 56 'type': 'static_library',
(...skipping 29 matching lines...) Expand all
81 'direct_dependent_settings': { 86 'direct_dependent_settings': {
82 'include_dirs': [ 87 'include_dirs': [
83 '<(SHARED_INTERMEDIATE_DIR)', 88 '<(SHARED_INTERMEDIATE_DIR)',
84 ], 89 ],
85 }, 90 },
86 }, 91 },
87 ], 92 ],
88 }] 93 }]
89 ], 94 ],
90 } 95 }
OLDNEW
« no previous file with comments | « testing/android/generate_native_test.py ('k') | testing/android/native_test_apk.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698