Index: third_party/junit/junit.gyp |
diff --git a/third_party/junit/junit.gyp b/third_party/junit/junit.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..920f68c2498357a6b27e7d7471b3e7f7fede7c0c |
--- /dev/null |
+++ b/third_party/junit/junit.gyp |
@@ -0,0 +1,56 @@ |
+# Copyright (c) 2014 The Chromium Authors. All rights reserved. |
nyquist
2014/09/19 01:26:04
Remove (c)
jbudorick
2014/09/19 20:09:08
Done.
|
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'variables': { |
+ 'hamcrest_jar_name': 'hamcrest-core-1.3.jar', |
+ 'junit_lib_directory': '../../third_party/junit/src/lib/', |
+ }, |
+ 'targets': [ |
+ { |
+ 'target_name': 'hamcrest_jar', |
+ 'type': 'none', |
+ 'variables': { |
+ 'src_path': '<(junit_lib_directory)/<(hamcrest_jar_name)', |
+ 'dest_path': '<(PRODUCT_DIR)/lib.java/<(hamcrest_jar_name)', |
+ }, |
+ 'all_dependent_settings': { |
+ 'variables': { |
+ 'input_jars_paths': [ |
+ '<(dest_path)', |
+ ], |
+ }, |
+ }, |
+ 'actions': [ |
+ { |
+ 'action_name': 'copy_hamcrest', |
+ 'message': 'Copy <(hamcrest_jar_name) to <(PRODUCT_DIR)/lib.java/', |
+ 'inputs': [ |
+ '<(src_path)', |
+ ], |
+ 'outputs': [ |
+ '<(dest_path)' |
+ ], |
+ 'action': [ |
+ 'python', '../../build/cp.py', '<(src_path)', '<(dest_path)', |
+ ], |
+ }, |
+ ], |
+ }, |
+ { |
+ 'target_name': 'junit_jar', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'hamcrest_jar', |
+ ], |
+ 'variables': { |
+ 'src_paths': [ '../../third_party/junit/src/src/main/java' ], |
+ }, |
+ 'includes': [ |
+ '../../build/host_jar.gypi', |
+ ], |
+ }, |
+ ], |
+} |
+ |