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

Side by Side Diff: base/BUILD.gn

Issue 456493002: Add native libraries to gn apks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 4 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 | « no previous file | base/android/java/templates/NativeLibraries.template » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
(...skipping 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 "memory/memory_pressure_level_list.h" 1432 "memory/memory_pressure_level_list.h"
1433 ] 1433 ]
1434 1434
1435 package_name = "org/chromium/base" 1435 package_name = "org/chromium/base"
1436 } 1436 }
1437 1437
1438 java_cpp_template("base_native_libraries_gen") { 1438 java_cpp_template("base_native_libraries_gen") {
1439 sources = [ 1439 sources = [
1440 "android/java/templates/NativeLibraries.template", 1440 "android/java/templates/NativeLibraries.template",
1441 ] 1441 ]
1442 inputs = [
1443 "android/java/templates/native_libraries_array.h",
1444 ]
1445
1446 package_name = "org/chromium/base/library_loader" 1442 package_name = "org/chromium/base/library_loader"
1447 include_path = "android/java/templates"
1448 } 1443 }
1449 1444
1450 android_library("base_java_unittest_support") { 1445 android_library("base_java_unittest_support") {
1451 deps = [":base_java"] 1446 deps = [":base_java"]
1452 java_files = [ 1447 java_files = [
1453 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" 1448 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java"
1454 ] 1449 ]
1455 } 1450 }
1456 1451
1457 unittest_apk("base_unittests_apk") { 1452 unittest_apk("base_unittests_apk") {
1458 deps = [ 1453 deps = [
1459 ":base_java", 1454 ":base_java",
1460 ":base_java_unittest_support", 1455 ":base_java_unittest_support",
1461 ":base_unittests", 1456 ":base_unittests",
1462 ] 1457 ]
1463 unittests_dep = ":base_unittests" 1458 unittests_dep = ":base_unittests"
1464 } 1459 }
1465 } 1460 }
OLDNEW
« no previous file with comments | « no previous file | base/android/java/templates/NativeLibraries.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698