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

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: 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
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 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 "memory/memory_pressure_level_list.h" 1428 "memory/memory_pressure_level_list.h"
1429 ] 1429 ]
1430 1430
1431 package_name = "org/chromium/base" 1431 package_name = "org/chromium/base"
1432 } 1432 }
1433 1433
1434 java_cpp_template("base_native_libraries_gen") { 1434 java_cpp_template("base_native_libraries_gen") {
1435 sources = [ 1435 sources = [
1436 "android/java/templates/NativeLibraries.template", 1436 "android/java/templates/NativeLibraries.template",
1437 ] 1437 ]
1438 inputs = [
1439 "android/java/templates/native_libraries_array.h",
1440 ]
1441
1442 package_name = "org/chromium/base/library_loader" 1438 package_name = "org/chromium/base/library_loader"
1443 include_path = "android/java/templates"
1444 } 1439 }
1445 1440
1446 android_library("base_java_unittest_support") { 1441 android_library("base_java_unittest_support") {
1447 deps = [":base_java"] 1442 deps = [":base_java"]
1448 java_files = [ 1443 java_files = [
1449 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" 1444 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java"
1450 ] 1445 ]
1451 } 1446 }
1452 1447
1453 unittest_apk("base_unittests_apk") { 1448 unittest_apk("base_unittests_apk") {
1454 deps = [ 1449 deps = [
1455 ":base_java", 1450 ":base_java",
1456 ":base_java_unittest_support", 1451 ":base_java_unittest_support",
1457 ":base_unittests", 1452 ":base_unittests",
1458 ] 1453 ]
1459 unittests_dep = ":base_unittests" 1454 unittests_dep = ":base_unittests"
1460 } 1455 }
1461 } 1456 }
OLDNEW
« no previous file with comments | « no previous file | base/android/java/templates/NativeLibraries.template » ('j') | build/android/gyp/copy_ex.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698