OLD | NEW |
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 } |
(...skipping 12 matching lines...) Expand all Loading... |
23 "//base:base_java", | 23 "//base:base_java", |
24 ] | 24 ] |
25 } | 25 } |
26 | 26 |
27 shared_library("libmemconsumer") { | 27 shared_library("libmemconsumer") { |
28 output_name = "memconsumer" | 28 output_name = "memconsumer" |
29 sources = [ | 29 sources = [ |
30 "memconsumer_hook.cc", | 30 "memconsumer_hook.cc", |
31 ] | 31 ] |
32 libs = [ "log" ] | 32 libs = [ "log" ] |
33 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] | 33 configs -= [ "//build/config/android:hide_native_jni_exports" ] |
34 | 34 |
35 configs -= [ "//build/config/compiler:chromium_code" ] | 35 configs -= [ "//build/config/compiler:chromium_code" ] |
36 configs += [ "//build/config/compiler:no_chromium_code" ] | 36 configs += [ "//build/config/compiler:no_chromium_code" ] |
37 } | 37 } |
OLD | NEW |