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

Side by Side Diff: tools/android/memconsumer/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 | « tools/android/customtabs_benchmark/BUILD.gn ('k') | ui/android/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 6
7 android_resources("memconsumer_apk_resources") { 7 android_resources("memconsumer_apk_resources") {
8 resource_dirs = [ "java/res" ] 8 resource_dirs = [ "java/res" ]
9 android_manifest = "java/AndroidManifest.xml" 9 android_manifest = "java/AndroidManifest.xml"
10 } 10 }
11 11
12 android_apk("memconsumer_apk") { 12 android_apk("memconsumer_apk") {
13 apk_name = "MemConsumer" 13 apk_name = "MemConsumer"
14 android_manifest = "java/AndroidManifest.xml" 14 android_manifest = "java/AndroidManifest.xml"
15 DEPRECATED_java_in_dir = "java/src" 15 java_files = [
16 "java/src/org/chromium/memconsumer/MemConsumer.java",
17 "java/src/org/chromium/memconsumer/ResidentService.java",
18 ]
16 native_libs = [ "libmemconsumer.so" ] 19 native_libs = [ "libmemconsumer.so" ]
17 20
18 deps = [ 21 deps = [
19 ":libmemconsumer", 22 ":libmemconsumer",
20 ":memconsumer_apk_resources", 23 ":memconsumer_apk_resources",
21 "//base:base_java", 24 "//base:base_java",
22 ] 25 ]
23 } 26 }
24 27
25 shared_library("libmemconsumer") { 28 shared_library("libmemconsumer") {
26 output_name = "memconsumer" 29 output_name = "memconsumer"
27 sources = [ 30 sources = [
28 "memconsumer_hook.cc", 31 "memconsumer_hook.cc",
29 ] 32 ]
30 libs = [ "log" ] 33 libs = [ "log" ]
31 configs -= [ "//build/config/android:hide_native_jni_exports" ] 34 configs -= [ "//build/config/android:hide_native_jni_exports" ]
32 35
33 configs -= [ "//build/config/compiler:chromium_code" ] 36 configs -= [ "//build/config/compiler:chromium_code" ]
34 configs += [ "//build/config/compiler:no_chromium_code" ] 37 configs += [ "//build/config/compiler:no_chromium_code" ]
35 } 38 }
OLDNEW
« no previous file with comments | « tools/android/customtabs_benchmark/BUILD.gn ('k') | ui/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698