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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
664 'base_unittests', | 664 'base_unittests', |
665 ], | 665 ], |
666 'actions': [ | 666 'actions': [ |
667 { | 667 { |
668 # Generate apk files (including source and antfile) from | 668 # Generate apk files (including source and antfile) from |
669 # a template, and builds them. | 669 # a template, and builds them. |
670 'action_name': 'generate_and_build', | 670 'action_name': 'generate_and_build', |
671 'inputs': [ | 671 'inputs': [ |
672 '../testing/android/AndroidManifest.xml', | 672 '../testing/android/AndroidManifest.xml', |
673 '../testing/android/generate_native_test.py', | 673 '../testing/android/generate_native_test.py', |
674 '<(PRODUCT_DIR)/lib.target/libbase_unittests.so', | 674 '<(SHARED_LIB_DIR)/libbase_unittests.so', |
675 '<(PRODUCT_DIR)/lib.java/chromium_base.jar' | 675 '<(PRODUCT_DIR)/lib.java/chromium_base.jar' |
676 ], | 676 ], |
677 'outputs': [ | 677 'outputs': [ |
678 '<(PRODUCT_DIR)/base_unittests_apk/base_unittests-debug.apk', | 678 '<(PRODUCT_DIR)/base_unittests_apk/base_unittests-debug.apk', |
679 ], | 679 ], |
680 'action': [ | 680 'action': [ |
681 '../testing/android/generate_native_test.py', | 681 '../testing/android/generate_native_test.py', |
682 '--native_library', | 682 '--native_library', |
683 '<(PRODUCT_DIR)/lib.target/libbase_unittests.so', | 683 '<(SHARED_LIB_DIR)/libbase_unittests.so', |
684 '--jar', | 684 '--jar', |
685 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', | 685 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', |
686 '--output', | 686 '--output', |
687 '<(PRODUCT_DIR)/base_unittests_apk', | 687 '<(PRODUCT_DIR)/base_unittests_apk', |
688 '--ant-args', | 688 '--ant-args', |
689 '-DPRODUCT_DIR=<(PRODUCT_DIR)', | 689 '-DPRODUCT_DIR=`realpath <(PRODUCT_DIR)`', |
John Grabowski
2012/05/17 05:44:30
OSX has no realpath cmd. (Eventually we want to s
| |
690 '--ant-compile' | 690 '--ant-compile' |
691 ], | 691 ], |
692 }, | 692 }, |
693 ] | 693 ] |
694 }], | 694 }], |
695 }], | 695 }], |
696 ], | 696 ], |
697 } | 697 } |
OLD | NEW |