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

Unified Diff: third_party/junit/junit.gyp

Issue 574433003: [Android] JUnit runner + gyp changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@deps-changes
Patch Set: rebase Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« testing/android/junit_test.gyp ('K') | « testing/android/junit_test.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
+ ],
+ },
+ ],
+}
+
« testing/android/junit_test.gyp ('K') | « testing/android/junit_test.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698