Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//base/android/linker/config.gni") | 5 import("//base/android/linker/config.gni") |
| 6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
| 7 import("//build/config/android/internal_rules.gni") | 7 import("//build/config/android/internal_rules.gni") |
| 8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
| 9 import("//build/toolchain/toolchain.gni") | 9 import("//build/toolchain/toolchain.gni") |
| 10 import("//third_party/android_platform/config.gni") | 10 import("//third_party/android_platform/config.gni") |
| (...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1478 defines += [ "ENABLE_CHROMIUM_LINKER_LIBRARY_IN_ZIP_FILE" ] | 1478 defines += [ "ENABLE_CHROMIUM_LINKER_LIBRARY_IN_ZIP_FILE" ] |
| 1479 } | 1479 } |
| 1480 if (_enable_chromium_linker_tests) { | 1480 if (_enable_chromium_linker_tests) { |
| 1481 defines += [ "ENABLE_CHROMIUM_LINKER_TESTS" ] | 1481 defines += [ "ENABLE_CHROMIUM_LINKER_TESTS" ] |
| 1482 } | 1482 } |
| 1483 } | 1483 } |
| 1484 _srcjar_deps += [ ":${_template_name}__native_libraries_java" ] | 1484 _srcjar_deps += [ ":${_template_name}__native_libraries_java" ] |
| 1485 } | 1485 } |
| 1486 | 1486 |
| 1487 if (!defined(invoker.apk_under_test)) { | 1487 if (!defined(invoker.apk_under_test)) { |
| 1488 java_cpp_template("${_template_name}__multidex_config_java") { | 1488 java_cpp_template("${_template_name}__multidex_config_java") { |
|
jbudorick
2016/01/21 01:51:15
This name should change.
Peter Wen
2016/01/21 15:18:24
Done. Also switched this to always build, even und
| |
| 1489 package_name = "org/chromium/base/multidex" | 1489 package_name = "org/chromium/base" |
| 1490 sources = [ | 1490 sources = [ |
| 1491 "//base/android/java/templates/ChromiumMultiDex.template", | 1491 "//base/android/java/templates/ChromiumBuildConfig.template", |
| 1492 ] | 1492 ] |
| 1493 | 1493 |
| 1494 defines = [] | 1494 defines = [] |
| 1495 if (enable_multidex) { | 1495 if (enable_multidex) { |
| 1496 defines += [ "ENABLE_MULTIDEX" ] | 1496 defines += [ "ENABLE_MULTIDEX" ] |
| 1497 } | 1497 } |
| 1498 } | 1498 } |
| 1499 _srcjar_deps += [ ":${_template_name}__multidex_config_java" ] | 1499 _srcjar_deps += [ ":${_template_name}__multidex_config_java" ] |
| 1500 } | 1500 } |
| 1501 | 1501 |
| (...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2274 } | 2274 } |
| 2275 | 2275 |
| 2276 android_library(target_name) { | 2276 android_library(target_name) { |
| 2277 java_files = [] | 2277 java_files = [] |
| 2278 srcjar_deps = [ ":${_template_name}__protoc_java" ] | 2278 srcjar_deps = [ ":${_template_name}__protoc_java" ] |
| 2279 deps = [ | 2279 deps = [ |
| 2280 "//third_party/android_protobuf:protobuf_nano_javalib", | 2280 "//third_party/android_protobuf:protobuf_nano_javalib", |
| 2281 ] | 2281 ] |
| 2282 } | 2282 } |
| 2283 } | 2283 } |
| OLD | NEW |