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 14 matching lines...) Expand all Loading... |
25 ], | 25 ], |
26 'outputs': [ | 26 'outputs': [ |
27 # Awkwardly, we build a Debug APK even when gyp is in | 27 # Awkwardly, we build a Debug APK even when gyp is in |
28 # Release mode. I don't think it matters (e.g. we're | 28 # Release mode. I don't think it matters (e.g. we're |
29 # probably happy to not codesign) but naming should be | 29 # probably happy to not codesign) but naming should be |
30 # fixed. The -debug name is an aspect of the android | 30 # fixed. The -debug name is an aspect of the android |
31 # SDK antfiles (e.g. ${sdk.dir}/tools/ant/build.xml) | 31 # SDK antfiles (e.g. ${sdk.dir}/tools/ant/build.xml) |
32 '<(PRODUCT_DIR)/replaceme_apk/replaceme-debug.apk', | 32 '<(PRODUCT_DIR)/replaceme_apk/replaceme-debug.apk', |
33 ], | 33 ], |
34 'action': [ | 34 'action': [ |
35 'ant', | 35 'ant', '-q', |
36 # TODO: All of these paths are absolute paths right now, while | 36 # TODO: All of these paths are absolute paths right now, while |
37 # we really should be using relative paths for anything that is | 37 # we really should be using relative paths for anything that is |
38 # checked in to the Chromium tree (among which the SDK). | 38 # checked in to the Chromium tree (among which the SDK). |
39 '-DPRODUCT_DIR=<(ant_build_out)', | 39 '-DPRODUCT_DIR=<(ant_build_out)', |
40 '-DANDROID_SDK=<(android_sdk)', | 40 '-DANDROID_SDK=<(android_sdk)', |
41 '-DANDROID_SDK_ROOT=<(android_sdk_root)', | 41 '-DANDROID_SDK_ROOT=<(android_sdk_root)', |
42 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', | 42 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', |
43 '-DANDROID_SDK_VERSION=<(android_sdk_version)', | 43 '-DANDROID_SDK_VERSION=<(android_sdk_version)', |
44 '-DANDROID_GDBSERVER=<(android_gdbserver)', | 44 '-DANDROID_GDBSERVER=<(android_gdbserver)', |
45 '-DCHROMIUM_SRC=<(ant_build_out)/../..', | 45 '-DCHROMIUM_SRC=<(ant_build_out)/../..', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 'direct_dependent_settings': { | 86 'direct_dependent_settings': { |
87 'include_dirs': [ | 87 'include_dirs': [ |
88 '<(SHARED_INTERMEDIATE_DIR)', | 88 '<(SHARED_INTERMEDIATE_DIR)', |
89 ], | 89 ], |
90 }, | 90 }, |
91 }, | 91 }, |
92 ], | 92 ], |
93 }] | 93 }] |
94 ], | 94 ], |
95 } | 95 } |
OLD | NEW |