OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |