OLD | NEW |
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 # HOW TO WRITE CONDITIONALS IN THIS FILE | 5 # HOW TO WRITE CONDITIONALS IN THIS FILE |
6 # ====================================== | 6 # ====================================== |
7 # | 7 # |
8 # In many other places, one would write a conditional that expresses all the | 8 # In many other places, one would write a conditional that expresses all the |
9 # cases when a source file is used or unused, and then either add or subtract | 9 # cases when a source file is used or unused, and then either add or subtract |
10 # it from the sources list in that case | 10 # it from the sources list in that case |
(...skipping 2443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2454 | 2454 |
2455 generate_jar_jni("android_runtime_jni_headers") { | 2455 generate_jar_jni("android_runtime_jni_headers") { |
2456 jni_package = "base" | 2456 jni_package = "base" |
2457 classes = [ "java/lang/Runtime.class" ] | 2457 classes = [ "java/lang/Runtime.class" ] |
2458 } | 2458 } |
2459 | 2459 |
2460 android_library("base_java") { | 2460 android_library("base_java") { |
2461 srcjar_deps = [ | 2461 srcjar_deps = [ |
2462 ":base_android_java_enums_srcjar", | 2462 ":base_android_java_enums_srcjar", |
2463 ":base_build_config_gen", | 2463 ":base_build_config_gen", |
| 2464 ":base_java_aidl", |
2464 ":base_native_libraries_gen", | 2465 ":base_native_libraries_gen", |
2465 ] | 2466 ] |
2466 | 2467 |
2467 deps = [ | 2468 deps = [ |
2468 "//third_party/android_tools:android_support_annotations_java", | 2469 "//third_party/android_tools:android_support_annotations_java", |
2469 "//third_party/android_tools:android_support_multidex_java", | 2470 "//third_party/android_tools:android_support_multidex_java", |
2470 "//third_party/jsr-305:jsr_305_javalib", | 2471 "//third_party/jsr-305:jsr_305_javalib", |
2471 ] | 2472 ] |
2472 | 2473 |
2473 java_files = [ | 2474 java_files = [ |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2545 | 2546 |
2546 # New versions of BuildConfig.java and NativeLibraries.java | 2547 # New versions of BuildConfig.java and NativeLibraries.java |
2547 # (with the actual correct values) will be created when creating an apk. | 2548 # (with the actual correct values) will be created when creating an apk. |
2548 jar_excluded_patterns = [ | 2549 jar_excluded_patterns = [ |
2549 "*/BuildConfig.class", | 2550 "*/BuildConfig.class", |
2550 "*/NativeLibraries.class", | 2551 "*/NativeLibraries.class", |
2551 "*/NativeLibraries##*.class", | 2552 "*/NativeLibraries##*.class", |
2552 ] | 2553 ] |
2553 } | 2554 } |
2554 | 2555 |
| 2556 android_aidl("base_java_aidl") { |
| 2557 import_include = [ "android/java/src" ] |
| 2558 sources = [ |
| 2559 "android/java/src/org/chromium/base/process_launcher/IChildProcessServic
e.aidl", |
| 2560 ] |
| 2561 } |
| 2562 |
| 2563 |
2555 android_library("base_javatests") { | 2564 android_library("base_javatests") { |
2556 testonly = true | 2565 testonly = true |
2557 deps = [ | 2566 deps = [ |
2558 ":base_java", | 2567 ":base_java", |
2559 ":base_java_test_support", | 2568 ":base_java_test_support", |
2560 "//third_party/android_support_test_runner:runner_java", | 2569 "//third_party/android_support_test_runner:runner_java", |
2561 "//third_party/junit:junit", | 2570 "//third_party/junit:junit", |
2562 ] | 2571 ] |
2563 java_files = [ | 2572 java_files = [ |
2564 "android/javatests/src/org/chromium/base/AdvancedMockContextTest.java", | 2573 "android/javatests/src/org/chromium/base/AdvancedMockContextTest.java", |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2684 } | 2693 } |
2685 | 2694 |
2686 fuzzer_test("base_json_correctness_fuzzer") { | 2695 fuzzer_test("base_json_correctness_fuzzer") { |
2687 sources = [ | 2696 sources = [ |
2688 "json/correctness_fuzzer.cc", | 2697 "json/correctness_fuzzer.cc", |
2689 ] | 2698 ] |
2690 deps = [ | 2699 deps = [ |
2691 ":base", | 2700 ":base", |
2692 ] | 2701 ] |
2693 } | 2702 } |
OLD | NEW |