Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: base/base.gyp

Issue 10387086: Run APK tests on the android_test trybot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated SDK on bots. Ready for review. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 'dependencies': [ 660 'dependencies': [
661 'base', # So that android/java/java.gyp:base_java is built 661 'base', # So that android/java/java.gyp:base_java is built
662 'base_unittests', 662 'base_unittests',
663 ], 663 ],
664 'actions': [ 664 'actions': [
665 { 665 {
666 # Generate apk files (including source and antfile) from 666 # Generate apk files (including source and antfile) from
667 # a template, and builds them. 667 # a template, and builds them.
668 'action_name': 'generate_and_build', 668 'action_name': 'generate_and_build',
669 'inputs': [ 669 'inputs': [
670 '../testing/android/AndroidManifest.xml',
670 '../testing/android/generate_native_test.py', 671 '../testing/android/generate_native_test.py',
671 '<(PRODUCT_DIR)/lib.target/libbase_unittests.so', 672 '<(PRODUCT_DIR)/lib.target/libbase_unittests.so',
672 '<(PRODUCT_DIR)/lib.java/chromium_base.jar' 673 '<(PRODUCT_DIR)/lib.java/chromium_base.jar'
673 ], 674 ],
674 'outputs': [ 675 'outputs': [
675 '<(PRODUCT_DIR)/ChromeNativeTests_base_unittests-debug.apk', 676 '<(PRODUCT_DIR)/base_unittests_apk/base_unittests-debug.apk',
676 ], 677 ],
677 'action': [ 678 'action': [
678 '../testing/android/generate_native_test.py', 679 '../testing/android/generate_native_test.py',
679 '--native_library', 680 '--native_library',
680 '<(PRODUCT_DIR)/lib.target/libbase_unittests.so', 681 '<(PRODUCT_DIR)/lib.target/libbase_unittests.so',
681 '--jar', 682 '--jar',
682 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', 683 '<(PRODUCT_DIR)/lib.java/chromium_base.jar',
683 '--output', 684 '--output',
684 '<(PRODUCT_DIR)/base_unittests_apk', 685 '<(PRODUCT_DIR)/base_unittests_apk',
685 '--ant-args', 686 '--ant-args',
686 '-DPRODUCT_DIR=<(PRODUCT_DIR)', 687 '-DPRODUCT_DIR=<(PRODUCT_DIR)',
687 '--ant-compile' 688 '--ant-compile'
688 ], 689 ],
689 }, 690 },
690 ] 691 ]
691 }], 692 }],
692 }], 693 }],
693 ], 694 ],
694 } 695 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698