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

Side by Side Diff: build/config/android/internal_rules.gni

Issue 2971063003: Handle Java assert using a customized function in base (Closed)
Patch Set: fix tests Created 3 years, 5 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 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 # Do not add any imports to non-//build directories here. 5 # Do not add any imports to non-//build directories here.
6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in.
7 import("//build_overrides/build.gni") 7 import("//build_overrides/build.gni")
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/dcheck_always_on.gni") 9 import("//build/config/dcheck_always_on.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 2385 matching lines...) Expand 10 before | Expand all | Expand 10 after
2396 defined(invoker.supports_android) && invoker.supports_android 2396 defined(invoker.supports_android) && invoker.supports_android
2397 _requires_android = 2397 _requires_android =
2398 defined(invoker.requires_android) && invoker.requires_android 2398 defined(invoker.requires_android) && invoker.requires_android
2399 assert(_requires_android || true) # Mark as used. 2399 assert(_requires_android || true) # Mark as used.
2400 _android_manifest = "//build/android/AndroidManifest.xml" 2400 _android_manifest = "//build/android/AndroidManifest.xml"
2401 if (defined(invoker.android_manifest)) { 2401 if (defined(invoker.android_manifest)) {
2402 _android_manifest = invoker.android_manifest 2402 _android_manifest = invoker.android_manifest
2403 } 2403 }
2404 assert(_android_manifest != "") # Mark as used. 2404 assert(_android_manifest != "") # Mark as used.
2405 2405
2406 if (_supports_android &&
2407 (!defined(invoker.no_build_hooks) ||
2408 (defined(invoker.no_build_hooks) && !invoker.no_build_hooks))) {
2409 _accumulated_deps += [ "//build/android:build_hooks_java" ]
2410 }
2411
2406 if (defined(invoker.run_findbugs_override)) { 2412 if (defined(invoker.run_findbugs_override)) {
2407 _run_findbugs = invoker.run_findbugs_override 2413 _run_findbugs = invoker.run_findbugs_override
2408 } else { 2414 } else {
2409 _run_findbugs = run_findbugs # Default to build arg if not overridden. 2415 _run_findbugs = run_findbugs # Default to build arg if not overridden.
2410 } 2416 }
2411 assert(_run_findbugs || true) # Mark as used. 2417 assert(_run_findbugs || true) # Mark as used.
2412 2418
2413 # Don't enable coverage, lint, findbugs unless the target has some 2419 # Don't enable coverage, lint, findbugs unless the target has some
2414 # non-generated files. 2420 # non-generated files.
2415 if (defined(invoker.chromium_code)) { 2421 if (defined(invoker.chromium_code)) {
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
2935 rebase_path(root_build_dir, root_build_dir), 2941 rebase_path(root_build_dir, root_build_dir),
2936 "--packed-libraries-dir", 2942 "--packed-libraries-dir",
2937 rebase_path(_packed_libraries_dir, root_build_dir), 2943 rebase_path(_packed_libraries_dir, root_build_dir),
2938 "--libraries=${invoker.libraries_filearg}", 2944 "--libraries=${invoker.libraries_filearg}",
2939 "--filelistjson", 2945 "--filelistjson",
2940 rebase_path(invoker.file_list_json, root_build_dir), 2946 rebase_path(invoker.file_list_json, root_build_dir),
2941 ] 2947 ]
2942 } 2948 }
2943 } 2949 }
2944 } 2950 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698