File: README.source

package info (click to toggle)
android-framework-23 6.0.1%2Br72-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 233,244 kB
  • sloc: java: 1,707,033; xml: 247,323; cpp: 211,819; ansic: 2,748; python: 2,640; sh: 1,517; yacc: 343; lex: 214; ruby: 183; perl: 88; makefile: 63; sed: 19
file content (78 lines) | stat: -rw-r--r-- 3,112 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
The Android source repositories are quite chaotic.  They often include a mix
of things under arbitrary umbrellas.  For example, there are parts of this
particular repository that will only ever be built when building the complete
Android OS (aka "target"), other parts that are only built as part of the SDK
to support building Android apps (aka "host"), and other parts that are used
both in the SDK and the Android OS. Most of the source code in this particular
repostory will never be built or included on Debian because it is only used in
the Android OS.

It is possible to see which sections will be built for what by looking at the
Android.mk files.  The parts that are meant for the "host" system, in this
case Debian, will have lines like this in it:

  * include $(BUILD_HOST_EXECUTABLE)
  * include $(BUILD_HOST_JAVA_LIBRARY)
  * include $(BUILD_HOST_SHARED_LIBRARY)
  * include $(BUILD_HOST_STATIC_LIBRARY)

The build targets that are only for Android OS builds instead have this:

  * include $(BUILD_EXECUTABLE)
  * include $(BUILD_JAVA_LIBRARY)
  * include $(BUILD_SHARED_LIBRARY)
  * include $(BUILD_STATIC_LIBRARY)

A given chunk of code that is built both for "host" will have both of these
lines included in the Android.mk file.


Structure of the package's git repository
-----------------------------------------

The source code has been excerpted form the git repository

  * https://android.googlesource.com/platform/development
  * https://android.googlesource.com/platform/external/junit
  * https://android.googlesource.com/platform/frameworks/base
  * https://android.googlesource.com/platform/frameworks/opt/net/voip
  * https://android.googlesource.com/platform/frameworks/opt/telephony
  * https://android.googlesource.com/platform/libcore

We make these repositories into one single source package because the binary
packages built here need source code from all of them.

Files under the debian/android/ directory
-----------------------------------------

These files were created based on the information in the files listed below them.

 * build.prop:
   * From src:android-platform-tools-base
     base/sdklib/src/main/java/com/android/sdklib/repository/local/LocalPlatformPkgInfo.java
   * From src:android-platform-build
     tools/buildinfo.sh
     core/version_defaults.mk

 * source.properties:
   * From src:android-platform-development
     sdk/platform_source.prop_template
   * From src:android-platform-build
     core/version_defaults.mk

 * sdk.properties:
   * From src:android-platform-development
     sdk/sdk.properties

debian/shrinkedAndroid.proguard.flags
-------------------------------------

Copied from [1]. This file does not seem to change any time soon.

Other unmentioned files are copied from the upstream Google repository.

[1]: https://android.googlesource.com/platform/dalvik/+/master/dx/shrinkedAndroid.proguard.flags

 -- Hans-Christoph Steiner <hans@eds.org>  Thu, 18 Sep 2014 16:37:50 -0400
 -- Kai-Chung Yan <seamlikok@gmail.com>  Fri, 07 Oct 2016 19:11:58 +0800
 -- Chirayu Desai <chirayudesai1@gmail.com>  Fri, 05 Aug 2016 15:43:47 +0530