Chromium Code Reviews| Index: build/android/gyp/create_java_binary_script.py |
| diff --git a/build/android/gyp/create_java_binary_script.py b/build/android/gyp/create_java_binary_script.py |
| index 721e96f8cfe6e569f78f48424060936fc68da2dd..c5174b4ca22271cb19873aefdf9f0c5da18ccb07 100755 |
| --- a/build/android/gyp/create_java_binary_script.py |
| +++ b/build/android/gyp/create_java_binary_script.py |
| @@ -37,6 +37,7 @@ if os.getcwd() != self_dir: |
| classpath = [os.path.join(offset, p) for p in classpath] |
| bootclasspath = [os.path.join(offset, p) for p in bootclasspath] |
| java_cmd = ["java"] |
| +java_cmd.append("-noverify") |
|
BigBossZhiling
2016/04/22 21:37:02
Otherwise emma will run into a werid error.
|
| if bootclasspath: |
| java_cmd.append("-Xbootclasspath/p:" + ":".join(bootclasspath)) |
| java_cmd.extend( |
| @@ -63,6 +64,8 @@ def main(argv): |
| classpath = [options.jar_path] |
| for cp_arg in options.classpath: |
| classpath += build_utils.ParseGypList(cp_arg) |
| + classpath += \ |
| + ['../../third_party/android_tools_internal/sdk/tools/lib/emma.jar'] |
|
BigBossZhiling
2016/04/22 21:37:02
After talking to Andrew, he said that since I don'
jbudorick
2016/04/22 21:38:24
I don't think we should be adding this uncondition
mikecase (-- gone --)
2016/04/22 23:51:45
Do you need this in the classpath when running the
BigBossZhiling
2016/04/23 01:00:55
Yes, we need this classpath when we run the test,
BigBossZhiling
2016/04/26 00:01:46
I took away my change and tried to run junit tests
agrieve
2016/04/26 00:08:01
I meant to hardcode it in the .gni file here:
http
|
| bootclasspath = [] |
| for bootcp_arg in options.bootclasspath: |