| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 action("jni_generator_py_tests") { | 8 action("jni_generator_py_tests") { |
| 9 _stamp = "$target_gen_dir/jni_generator_py_tests.stamp" | 9 _stamp = "$target_gen_dir/jni_generator_py_tests.stamp" |
| 10 inputs = [ | 10 inputs = [ |
| 11 "jni_generator.py", | 11 "jni_generator.py", |
| 12 "jni_generator_tests.py", | 12 "jni_generator_tests.py", |
| 13 "java/src/org/chromium/example/jni_generator/SampleForTests.java", | 13 "java/src/org/chromium/example/jni_generator/SampleForTests.java", |
| 14 "golden_sample_for_tests_jni.h", | 14 "SampleForTests_jni.golden", |
| 15 ] | 15 ] |
| 16 outputs = [ | 16 outputs = [ |
| 17 _stamp, | 17 _stamp, |
| 18 ] | 18 ] |
| 19 script = "jni_generator_tests.py" | 19 script = "jni_generator_tests.py" |
| 20 args = [ | 20 args = [ |
| 21 "--stamp", | 21 "--stamp", |
| 22 rebase_path(_stamp, root_build_dir), | 22 rebase_path(_stamp, root_build_dir), |
| 23 ] | 23 ] |
| 24 } | 24 } |
| (...skipping 20 matching lines...) Expand all Loading... |
| 45 ":jni_generator_py_tests", | 45 ":jni_generator_py_tests", |
| 46 ":jni_sample_header", | 46 ":jni_sample_header", |
| 47 ":jni_sample_java", | 47 ":jni_sample_java", |
| 48 "//base", | 48 "//base", |
| 49 ] | 49 ] |
| 50 sources = [ | 50 sources = [ |
| 51 "sample_for_tests.cc", | 51 "sample_for_tests.cc", |
| 52 "sample_for_tests.h", | 52 "sample_for_tests.h", |
| 53 ] | 53 ] |
| 54 } | 54 } |
| OLD | NEW |