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 'conditions': [ | 5 'conditions': [ |
6 ['android_must_copy_system_libraries == 1', { | 6 ['android_must_copy_system_libraries == 1', { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 # These libraries from the Android ndk are required to be packaged wit
h | 9 # These libraries from the Android ndk are required to be packaged wit
h |
10 # any APK that is built with them. build/java_apk.gypi expects any | 10 # any APK that is built with them. build/java_apk.gypi expects any |
(...skipping 30 matching lines...) Expand all Loading... |
41 ], | 41 ], |
42 'action': [ | 42 'action': [ |
43 'python', 'gyp/get_device_configuration.py', | 43 'python', 'gyp/get_device_configuration.py', |
44 '--output=<(build_device_config_path)', | 44 '--output=<(build_device_config_path)', |
45 '--output-directory=<(PRODUCT_DIR)', | 45 '--output-directory=<(PRODUCT_DIR)', |
46 ], | 46 ], |
47 } | 47 } |
48 ], | 48 ], |
49 }, | 49 }, |
50 { | 50 { |
| 51 'target_name': 'devil_chromium_config', |
| 52 'type': 'none', |
| 53 'variables': { |
| 54 'jinja_inputs': ['devil_chromium.jinja'], |
| 55 'jinja_output': '<(PRODUCT_DIR)/gen/devil_chromium.json', |
| 56 'jinja_variables': [ |
| 57 'output_dir=<(PRODUCT_DIR)', |
| 58 'android_sdk_root=<(android_sdk_root)', |
| 59 'build_tools_version=<(android_sdk_build_tools_version)', |
| 60 ], |
| 61 }, |
| 62 'includes': [ '../../build/android/jinja_template.gypi' ], |
| 63 }, # devil_chromium_config |
| 64 { |
51 # Target for creating common output build directories. Creating output | 65 # Target for creating common output build directories. Creating output |
52 # dirs beforehand ensures that build scripts can assume these folders to | 66 # dirs beforehand ensures that build scripts can assume these folders to |
53 # exist and there are no race conditions resulting from build scripts | 67 # exist and there are no race conditions resulting from build scripts |
54 # trying to create these directories. | 68 # trying to create these directories. |
55 # The build/java.gypi target depends on this target. | 69 # The build/java.gypi target depends on this target. |
56 'target_name': 'build_output_dirs', | 70 'target_name': 'build_output_dirs', |
57 'type': 'none', | 71 'type': 'none', |
58 'actions': [ | 72 'actions': [ |
59 { | 73 { |
60 'action_name': 'create_java_output_dirs', | 74 'action_name': 'create_java_output_dirs', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 'action': [ | 117 'action': [ |
104 'python', 'gyp/find_sun_tools_jar.py', | 118 'python', 'gyp/find_sun_tools_jar.py', |
105 '--output', '<(found_jar_path)', | 119 '--output', '<(found_jar_path)', |
106 ], | 120 ], |
107 }, | 121 }, |
108 ], | 122 ], |
109 }, # sun_tools_java | 123 }, # sun_tools_java |
110 ] | 124 ] |
111 } | 125 } |
112 | 126 |
OLD | NEW |