| 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("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
| 7 | 7 |
| 8 assert(is_android) | 8 assert(is_android) |
| 9 | 9 |
| 10 # These identify targets that have .build_config files (except for android_apk, | 10 # These identify targets that have .build_config files (except for android_apk, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 "//third_party/robolectric:android-all-4.3_r2-robolectric-0", | 50 "//third_party/robolectric:android-all-4.3_r2-robolectric-0", |
| 51 "//third_party/robolectric:json-20080701", | 51 "//third_party/robolectric:json-20080701", |
| 52 "//third_party/robolectric:tagsoup-1.2", | 52 "//third_party/robolectric:tagsoup-1.2", |
| 53 ] | 53 ] |
| 54 | 54 |
| 55 # Targets that match the whitelist but are not actually java targets. | 55 # Targets that match the whitelist but are not actually java targets. |
| 56 _java_target_blacklist = [ | 56 _java_target_blacklist = [ |
| 57 "//chrome:packed_extra_resources", | 57 "//chrome:packed_extra_resources", |
| 58 "//chrome:packed_resources", | 58 "//chrome:packed_resources", |
| 59 "//remoting/android:remoting_android_raw_resources", | 59 "//remoting/android:remoting_android_raw_resources", |
| 60 "*:*_unpack_aar", |
| 60 ] | 61 ] |
| 61 | 62 |
| 62 # Write the target's .build_config file. This is a json file that contains a | 63 # Write the target's .build_config file. This is a json file that contains a |
| 63 # dictionary of information about how to build this target (things that | 64 # dictionary of information about how to build this target (things that |
| 64 # require knowledge about this target's dependencies and cannot be calculated | 65 # require knowledge about this target's dependencies and cannot be calculated |
| 65 # at gn-time). There is a special syntax to add a value in that dictionary to | 66 # at gn-time). There is a special syntax to add a value in that dictionary to |
| 66 # an action/action_foreachs args: | 67 # an action/action_foreachs args: |
| 67 # --python-arg=@FileArg($rebased_build_config_path:key0:key1) | 68 # --python-arg=@FileArg($rebased_build_config_path:key0:key1) |
| 68 # At runtime, such an arg will be replaced by the value in the build_config. | 69 # At runtime, such an arg will be replaced by the value in the build_config. |
| 69 # See build/android/gyp/write_build_config.py and | 70 # See build/android/gyp/write_build_config.py and |
| (...skipping 2465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2535 outputs = [ | 2536 outputs = [ |
| 2536 depfile, | 2537 depfile, |
| 2537 invoker.out_manifest, | 2538 invoker.out_manifest, |
| 2538 ] | 2539 ] |
| 2539 inputs = [ | 2540 inputs = [ |
| 2540 invoker.main_manifest, | 2541 invoker.main_manifest, |
| 2541 ] | 2542 ] |
| 2542 } | 2543 } |
| 2543 } | 2544 } |
| 2544 } | 2545 } |
| OLD | NEW |