Chromium Code Reviews| 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 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 }, | 7 }, |
| 8 'includes': [ | 8 'includes': [ |
| 9 'chrome_android_paks.gypi', # Included for the list of pak resources. | 9 'chrome_android_paks.gypi', # Included for the list of pak resources. |
| 10 ], | 10 ], |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 32 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], | 32 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], |
| 33 }], | 33 }], |
| 34 ], | 34 ], |
| 35 }], | 35 }], |
| 36 ], | 36 ], |
| 37 }, | 37 }, |
| 38 { | 38 { |
| 39 'target_name': 'chromium_testshell', | 39 'target_name': 'chromium_testshell', |
| 40 'type': 'none', | 40 'type': 'none', |
| 41 'dependencies': [ | 41 'dependencies': [ |
| 42 '../base/base.gyp:base_java', | |
| 43 '../content/content.gyp:content_java', | |
| 44 '../media/media.gyp:media_java', | |
|
Yaron
2012/09/20 03:05:17
Where's web_contents_delegate_android_java? Oh, pi
David Trainor- moved to gerrit
2012/09/20 06:39:26
I think I'm an ant build change CL behind or two.
Ted C
2012/09/20 17:07:04
Yeah, the exported dependent settings for the inpu
David Trainor- moved to gerrit
2012/09/20 21:49:50
Done.
| |
| 45 '../net/net.gyp:net_java', | |
| 46 'chrome.gyp:chrome_java', | |
| 42 'chrome_android_paks', | 47 'chrome_android_paks', |
| 43 'libchromiumtestshell', | 48 'libchromiumtestshell', |
| 44 ], | 49 ], |
| 50 'variables': { | |
| 51 'package_name': 'chromium_testshell', | |
| 52 'apk_name': 'ChromiumTestShell', | |
| 53 'java_in_dir': 'android/testshell/java', | |
| 54 'resource_dir': '../res', | |
| 55 'native_libs_paths': [ '<(PRODUCT_DIR)/chromium_testshell/libs/<(android _app_abi)/libchromiumtestshell.so', ], | |
| 56 'additional_input_paths': [ '<@(chrome_android_pak_output_resources)', ] , | |
| 57 }, | |
| 45 'actions': [ | 58 'actions': [ |
| 46 { | 59 { |
| 47 'action_name': 'copy_and_strip_so', | 60 'action_name': 'copy_and_strip_so', |
| 48 'inputs': ['<(SHARED_LIB_DIR)/libchromiumtestshell.so'], | 61 'inputs': ['<(SHARED_LIB_DIR)/libchromiumtestshell.so'], |
| 49 'outputs': ['<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi) /libchromiumtestshell.so'], | 62 'outputs': ['<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi) /libchromiumtestshell.so'], |
| 50 'action': [ | 63 'action': [ |
| 51 '<(android_strip)', | 64 '<(android_strip)', |
| 52 '--strip-unneeded', | 65 '--strip-unneeded', |
| 53 '<@(_inputs)', | 66 '<@(_inputs)', |
| 54 '-o', | 67 '-o', |
| 55 '<@(_outputs)', | 68 '<@(_outputs)', |
| 56 ], | 69 ], |
| 57 }, | 70 }, |
| 58 { | |
| 59 'action_name': 'chromium_testshell_generate_apk', | |
| 60 'inputs': [ | |
| 61 '<@(chrome_android_pak_output_resources)', | |
| 62 '<!@(find android/testshell/java/src -name "*.java")', | |
| 63 # TODO(dtrainor): Uncomment these once resources are added. | |
| 64 #'<!@(find android/testshell/java/res -name "*.png")', | |
| 65 #'<!@(find android/testshell/java/res -name "*.xml")', | |
| 66 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', | |
| 67 '<(PRODUCT_DIR)/lib.java/chromium_net.jar', | |
| 68 '<(PRODUCT_DIR)/lib.java/chromium_media.jar', | |
| 69 '<(PRODUCT_DIR)/lib.java/chromium_content.jar', | |
| 70 '<(PRODUCT_DIR)/lib.java/chromium_chrome.jar', | |
| 71 '<(PRODUCT_DIR)/lib.java/chromium_web_contents_delegate_android.jar' , | |
| 72 '<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi)/libchromi umtestshell.so' | |
| 73 ], | |
| 74 'outputs': [ | |
| 75 '<(PRODUCT_DIR)/chromium_testshell/ChromiumTestShell-debug.apk', | |
| 76 ], | |
| 77 'action': [ | |
| 78 'ant', | |
| 79 '-DPRODUCT_DIR=<(ant_build_out)', | |
| 80 '-DAPP_ABI=<(android_app_abi)', | |
| 81 '-DANDROID_SDK=<(android_sdk)', | |
| 82 '-DANDROID_SDK_ROOT=<(android_sdk_root)', | |
| 83 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', | |
| 84 '-DANDROID_SDK_VERSION=<(android_sdk_version)', | |
| 85 '-DANDROID_GDBSERVER=<(android_gdbserver)', | |
| 86 '-DCONFIGURATION_NAME=<(CONFIGURATION_NAME)', | |
| 87 '-buildfile', | |
| 88 '<(DEPTH)/chrome/android/testshell/java/chromium_testshell_apk.xml', | |
| 89 ], | |
| 90 }, | |
| 91 ], | 71 ], |
| 72 'includes': [ '../build/java_apk.gypi', ], | |
| 92 }, | 73 }, |
| 93 { | 74 { |
| 94 'target_name': 'chrome_android_core', | 75 'target_name': 'chrome_android_core', |
| 95 'type': 'static_library', | 76 'type': 'static_library', |
| 96 'dependencies': [ | 77 'dependencies': [ |
| 97 'chrome.gyp:browser', | 78 'chrome.gyp:browser', |
| 98 'chrome.gyp:plugin', | 79 'chrome.gyp:plugin', |
| 99 'chrome.gyp:renderer', | 80 'chrome.gyp:renderer', |
| 100 'chrome.gyp:utility', | 81 'chrome.gyp:utility', |
| 101 '../content/content.gyp:content', | 82 '../content/content.gyp:content', |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 131 'copies': [ | 112 'copies': [ |
| 132 { | 113 { |
| 133 'destination': '<(chrome_android_pak_output_folder)', | 114 'destination': '<(chrome_android_pak_output_folder)', |
| 134 'files': [ '<@(chrome_android_pak_input_resources)' ], | 115 'files': [ '<@(chrome_android_pak_input_resources)' ], |
| 135 } | 116 } |
| 136 ], | 117 ], |
| 137 }, | 118 }, |
| 138 ], | 119 ], |
| 139 } | 120 } |
| 140 | 121 |
| OLD | NEW |