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 # 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 Android APKs in a consistent manner. | 6 # to build Android APKs 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_apk', | 10 # 'target_name': 'my_package_apk', |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 '<(DEPTH)/build/android/setup.gyp:copy_system_libraries', | 252 '<(DEPTH)/build/android/setup.gyp:copy_system_libraries', |
253 ], | 253 ], |
254 }], | 254 }], |
255 ['use_chromium_linker == 1', { | 255 ['use_chromium_linker == 1', { |
256 'dependencies': [ | 256 'dependencies': [ |
257 '<(DEPTH)/base/base.gyp:chromium_android_linker', | 257 '<(DEPTH)/base/base.gyp:chromium_android_linker', |
258 ], | 258 ], |
259 }], | 259 }], |
260 ['enable_errorprone == 1', { | 260 ['enable_errorprone == 1', { |
261 'dependencies': [ | 261 'dependencies': [ |
262 '<(DEPTH)/third_party/errorprone/errorprone.gyp:chromium_errorprone', | 262 '<(DEPTH)/third_party/errorprone/errorprone.gyp:require_errorprone', |
263 ], | 263 ], |
264 }], | 264 }], |
265 ['native_lib_target != ""', { | 265 ['native_lib_target != ""', { |
266 'variables': { | 266 'variables': { |
267 'conditions': [ | 267 'conditions': [ |
268 ['use_chromium_linker == 1', { | 268 ['use_chromium_linker == 1', { |
269 'variables': { | 269 'variables': { |
270 'chromium_linker_path': [ | 270 'chromium_linker_path': [ |
271 '<(SHARED_LIB_DIR)/<(libchromium_android_linker)', | 271 '<(SHARED_LIB_DIR)/<(libchromium_android_linker)', |
272 ], | 272 ], |
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 'native_libs_dir': '<(apk_package_native_libs_dir)', | 1066 'native_libs_dir': '<(apk_package_native_libs_dir)', |
1067 }, { | 1067 }, { |
1068 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', | 1068 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', |
1069 }], | 1069 }], |
1070 ], | 1070 ], |
1071 }, | 1071 }, |
1072 'includes': ['android/apkbuilder_action.gypi'], | 1072 'includes': ['android/apkbuilder_action.gypi'], |
1073 }, | 1073 }, |
1074 ], | 1074 ], |
1075 } | 1075 } |
OLD | NEW |