From 338163b279f1207d929202a7b510877fc7c5a0ff Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Mon, 11 Nov 2019 20:19:46 +0000 Subject: [PATCH] Move rewriting of references in OpenJDK source files to libcore Test: m offline-sdk-docs diffed against previous version to ensure this did not change it Bug: 129765390 Change-Id: I28b5b76744b096c56959ef3b0a6f31fe163b5e4d --- Android.bp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Android.bp b/Android.bp index 284e7015c1158..46c12fe91d1b2 100644 --- a/Android.bp +++ b/Android.bp @@ -966,21 +966,6 @@ metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.x "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " + "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo " -// http://b/129765390 Rewrite links to "platform" or "technotes" folders -// which are siblings (and thus outside of) {@docRoot}. -// -// We have to escape \ as \\ and $ as $$ here because they get resolved by -// different layers of the build tooling. The arguments are wrapped in '' so -// that the shell doesn't add yet another level of escaping. -metalava_framework_docs_args += " --replace-documentation " + - // packages whose descendants to apply replacement to (all packages from - // libcore/ojluni/src/main/java that contribute to documentation). - "com.sun:java:javax:jdk.net:sun " + - // regex of the string to replace - "'(' " + - // replacement (with $1, $2 backreferences to the regex groups) - "'$$1https://docs.oracle.com/javase/8/docs/$$2\">' " - packages_to_document = [ "android", "dalvik",