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

Side by Side Diff: base/android/jni_generator/BUILD.gn

Issue 1829823002: Replace usages of DEPRECATED_java_in_dir with java_files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: zap random comment Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « base/BUILD.gn ('k') | build/android/rezip/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # GYP: //base/android/jni_generator/jni_generator.gyp:jni_generator_py_tests 8 # GYP: //base/android/jni_generator/jni_generator.gyp:jni_generator_py_tests
9 action("jni_generator_py_tests") { 9 action("jni_generator_py_tests") {
10 _stamp = "$target_gen_dir/jni_generator_py_tests.stamp" 10 _stamp = "$target_gen_dir/jni_generator_py_tests.stamp"
(...skipping 16 matching lines...) Expand all
27 # GYP: //base/android/jni_generator/jni_generator.gyp:jni_sample_header 27 # GYP: //base/android/jni_generator/jni_generator.gyp:jni_sample_header
28 generate_jni("jni_sample_header") { 28 generate_jni("jni_sample_header") {
29 sources = [ 29 sources = [
30 "java/src/org/chromium/example/jni_generator/SampleForTests.java", 30 "java/src/org/chromium/example/jni_generator/SampleForTests.java",
31 ] 31 ]
32 jni_package = "example" 32 jni_package = "example"
33 } 33 }
34 34
35 # GYP: //base/android/jni_generator/jni_generator.gyp:jni_sample_java 35 # GYP: //base/android/jni_generator/jni_generator.gyp:jni_sample_java
36 android_library("jni_sample_java") { 36 android_library("jni_sample_java") {
37 DEPRECATED_java_in_dir = "java/src" 37 java_files =
38 [ "java/src/org/chromium/example/jni_generator/SampleForTests.java" ]
38 deps = [ 39 deps = [
39 "//base:base_java", 40 "//base:base_java",
40 ] 41 ]
41 } 42 }
42 43
43 # This executable doesn't actually run, but at least serves to test that 44 # This executable doesn't actually run, but at least serves to test that
44 # generated bindings compile properly. 45 # generated bindings compile properly.
45 # GYP: //base/android/jni_generator/jni_generator.gyp:jni_generator_tests 46 # GYP: //base/android/jni_generator/jni_generator.gyp:jni_generator_tests
46 executable("jni_generator_tests") { 47 executable("jni_generator_tests") {
47 deps = [ 48 deps = [
48 ":jni_generator_py_tests", 49 ":jni_generator_py_tests",
49 ":jni_sample_header", 50 ":jni_sample_header",
50 ":jni_sample_java", 51 ":jni_sample_java",
51 "//base", 52 "//base",
52 ] 53 ]
53 sources = [ 54 sources = [
54 "sample_for_tests.cc", 55 "sample_for_tests.cc",
55 "sample_for_tests.h", 56 "sample_for_tests.h",
56 ] 57 ]
57 } 58 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | build/android/rezip/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698