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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 ], | 383 ], |
384 'ordered_libraries_file': '<(additional_ordered_libraries_file)', | 384 'ordered_libraries_file': '<(additional_ordered_libraries_file)', |
385 'subtarget': '_additional_libraries', | 385 'subtarget': '_additional_libraries', |
386 }, | 386 }, |
387 'includes': ['../build/android/write_ordered_libraries.gypi'], | 387 'includes': ['../build/android/write_ordered_libraries.gypi'], |
388 }, | 388 }, |
389 { | 389 { |
390 'action_name': 'strip_additional_libraries', | 390 'action_name': 'strip_additional_libraries', |
391 'variables': { | 391 'variables': { |
392 'ordered_libraries_file': '<(additional_ordered_libraries_file)', | 392 'ordered_libraries_file': '<(additional_ordered_libraries_file)', |
393 'stripped_libraries_dir%': '<(stripped_libraries_dir)', | 393 'stripped_libraries_dir': '<(libraries_source_dir)', |
394 'input_paths': [ | 394 'input_paths': [ |
395 '<@(additional_bundled_libs)', | 395 '<@(additional_bundled_libs)', |
396 '<(strip_stamp)', | 396 '<(strip_stamp)', |
397 ], | 397 ], |
398 'stamp': '<(strip_additional_stamp)' | 398 'stamp': '<(strip_additional_stamp)' |
399 }, | 399 }, |
400 'includes': ['../build/android/strip_native_libraries.gypi'], | 400 'includes': ['../build/android/strip_native_libraries.gypi'], |
401 }, | 401 }, |
402 ], | 402 ], |
403 'conditions': [ | 403 'conditions': [ |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 '-DEMMA_INSTRUMENT=<(emma_instrument)', | 877 '-DEMMA_INSTRUMENT=<(emma_instrument)', |
878 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', | 878 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', |
879 | 879 |
880 '-Dbasedir=.', | 880 '-Dbasedir=.', |
881 '-buildfile', | 881 '-buildfile', |
882 '<(DEPTH)/build/android/ant/apk-package.xml', | 882 '<(DEPTH)/build/android/ant/apk-package.xml', |
883 ] | 883 ] |
884 }, | 884 }, |
885 ], | 885 ], |
886 } | 886 } |
OLD | NEW |