OSDN Git Service

android-x86/system-linkerconfig.git
5 years agoResolve dir path in early stage am: eba3ed1a97 am: e02550cfcf
Kiyoung Kim [Fri, 9 Aug 2019 10:02:16 +0000 (03:02 -0700)]
Resolve dir path in early stage am: eba3ed1a97 am: e02550cfcf
am: 71745b43f3

Change-Id: I9d1a06fc474c872ef931a0ca3ce9a5275747b903

5 years agoResolve dir path in early stage am: eba3ed1a97
Kiyoung Kim [Fri, 9 Aug 2019 09:51:49 +0000 (02:51 -0700)]
Resolve dir path in early stage am: eba3ed1a97
am: e02550cfcf

Change-Id: I232377db34183d34be3e934cd3410c020df22367

5 years agoResolve dir path in early stage
Kiyoung Kim [Fri, 9 Aug 2019 09:42:23 +0000 (02:42 -0700)]
Resolve dir path in early stage
am: eba3ed1a97

Change-Id: Iecd401ef92cb0118cdd85fecab9d933aa0bd2240

5 years agoResolve dir path in early stage
Kiyoung Kim [Wed, 7 Aug 2019 10:10:17 +0000 (19:10 +0900)]
Resolve dir path in early stage

Linkerconfig generator sorts dir path in revert order, so when a dir is
subdirectory of other dir, then subdirectory can be mentioned earlier.
However, this sorting occured before resolving environmental variables,
so this list was failing to be kept in actual reverse order. To fix this
issue, dir path should be resolved before it is collected by generator.

Test: m -j && tested from cuttlefish
Change-Id: I21f88cca25fef37e080dc1c1cb68e7a0c0186b4f

5 years agoLoad variables on runtime am: 853438d3c4 am: 942d298a27
Kiyoung Kim [Thu, 25 Jul 2019 11:03:24 +0000 (04:03 -0700)]
Load variables on runtime am: 853438d3c4 am: 942d298a27
am: 2ad767e23d

Change-Id: I0356b5f83579dcacedadcb82453b9472998bd108

5 years agoLoad variables on runtime am: 853438d3c4
Kiyoung Kim [Thu, 25 Jul 2019 10:53:22 +0000 (03:53 -0700)]
Load variables on runtime am: 853438d3c4
am: 942d298a27

Change-Id: I24422117840bc764df2acd8174f542626fdac9b0

5 years agoLoad variables on runtime
Kiyoung Kim [Thu, 25 Jul 2019 10:43:35 +0000 (03:43 -0700)]
Load variables on runtime
am: 853438d3c4

Change-Id: I955fa6a47392a479064ffe02ef3762bf9dc6c9d8

5 years agoLoad variables on runtime
Kiyoung Kim [Tue, 16 Jul 2019 00:51:14 +0000 (09:51 +0900)]
Load variables on runtime

Some of the variables can be loaded from runtime based on the
environment. These variables should be loaded in various ways based on
the characteristic of each variable.

Bug: 137511540
Test: m -j && tested from cuttlefish
Change-Id: I03018eb93995270c2b2d06c267001ab33014ed7b

5 years agoEnable Kernel Logging am: e3bad04885 am: 60a50925e2
Kiyoung Kim [Tue, 23 Jul 2019 11:02:25 +0000 (04:02 -0700)]
Enable Kernel Logging am: e3bad04885 am: 60a50925e2
am: 9115404fb7

Change-Id: I54a5158b652777790fcb9d2707c150e2dbc84319

5 years agoEnable Kernel Logging am: e3bad04885
Kiyoung Kim [Tue, 23 Jul 2019 10:53:25 +0000 (03:53 -0700)]
Enable Kernel Logging am: e3bad04885
am: 60a50925e2

Change-Id: I385806ebfa5c0111ecdaa9141cbf05158b9e0244

5 years agoEnable Kernel Logging
Kiyoung Kim [Tue, 23 Jul 2019 10:45:19 +0000 (03:45 -0700)]
Enable Kernel Logging
am: e3bad04885

Change-Id: I15f45558c53dad84f1798655ef7c9a349402ebb2

5 years agoEnable Kernel Logging
Kiyoung Kim [Tue, 23 Jul 2019 04:38:34 +0000 (13:38 +0900)]
Enable Kernel Logging

As Linkerconfig will be executed from init, logs from generating
linkerconfig can be detected from kernel log. To enable this, there
should be some configuration added in main function.

Test: m -j & Tested from Cuttlefish
Change-Id: I86c281a915ebafb8ecfafc2117d64f45657e7d20

5 years agoMake linkerconfig as static executable am: 15e3835dd9 am: 093561137e
Kiyoung Kim [Tue, 16 Jul 2019 01:12:35 +0000 (18:12 -0700)]
Make linkerconfig as static executable am: 15e3835dd9 am: 093561137e
am: 71a7f866b5

Change-Id: I0172de19fabf505cd31e7ab02e744530d6d35e8e

5 years agoMake linkerconfig as static executable am: 15e3835dd9
Kiyoung Kim [Tue, 16 Jul 2019 00:50:33 +0000 (17:50 -0700)]
Make linkerconfig as static executable am: 15e3835dd9
am: 093561137e

Change-Id: I9c032529ae1039127057be78e805e0b2371df153

5 years agoMake linkerconfig as static executable
Kiyoung Kim [Tue, 16 Jul 2019 00:39:41 +0000 (17:39 -0700)]
Make linkerconfig as static executable
am: 15e3835dd9

Change-Id: Id32871ea5849d53a46b59c4e243d791ac4026a43

5 years agoMake linkerconfig as static executable
Kiyoung Kim [Thu, 11 Jul 2019 08:07:03 +0000 (17:07 +0900)]
Make linkerconfig as static executable

Linkerconfig should be executed since early init stage. To do this,
linkerconfig better be static executable so it does not need to link
with libc++.

Bug: 135004088
Test: m -j && Tested from device
Change-Id: Iccf288e30ecf0ec1d65d531d0c6b12cd255a8a2b

5 years agoRename product_servicies to system_ext am: 3894a11483 am: 9e3e0e66d9
Justin Yun [Mon, 1 Jul 2019 01:24:04 +0000 (18:24 -0700)]
Rename product_servicies to system_ext am: 3894a11483 am: 9e3e0e66d9
am: eaa09948e3

Change-Id: Ib1b13789fd5e52859f04e52dc604f789bf99ad88

5 years agoRename product_servicies to system_ext am: 3894a11483
Justin Yun [Mon, 1 Jul 2019 01:05:59 +0000 (18:05 -0700)]
Rename product_servicies to system_ext am: 3894a11483
am: 9e3e0e66d9

Change-Id: Ia4c9aa3eb315af9bb124a394bdeda2a19d5fc7dc

5 years agoRename product_servicies to system_ext
Justin Yun [Mon, 1 Jul 2019 00:49:55 +0000 (17:49 -0700)]
Rename product_servicies to system_ext
am: 3894a11483

Change-Id: Ib4ed981551c5ff15465857f086999a5280d00327

5 years agoRename product_servicies to system_ext
Justin Yun [Fri, 28 Jun 2019 08:25:01 +0000 (17:25 +0900)]
Rename product_servicies to system_ext

Bug: 134359158
Test: make
Change-Id: Ibc45599efe8448a1d468a67a615a600a6b5d2218

5 years agoMerge "Make executable binary for LinkerConfig" am: d6a3e8f3f6 am: 3ea3762fd4
Kiyoung Kim [Thu, 30 May 2019 05:58:38 +0000 (22:58 -0700)]
Merge "Make executable binary for LinkerConfig" am: d6a3e8f3f6 am: 3ea3762fd4
am: 270d3ab9e9

Change-Id: I1ffd30a900c7073b8dc81f204c7d99cfa10ecf71

5 years agoMerge "Make executable binary for LinkerConfig" am: d6a3e8f3f6
Kiyoung Kim [Thu, 30 May 2019 05:53:36 +0000 (22:53 -0700)]
Merge "Make executable binary for LinkerConfig" am: d6a3e8f3f6
am: 3ea3762fd4

Change-Id: I61d562fa34f5f12d11e0211e9b7cab893f21636d

5 years agoMerge "Make executable binary for LinkerConfig"
Kiyoung Kim [Thu, 30 May 2019 05:48:35 +0000 (22:48 -0700)]
Merge "Make executable binary for LinkerConfig"
am: d6a3e8f3f6

Change-Id: I9a78d04237964c6b41222df45940c3cdd132d404

5 years agoMerge "Make executable binary for LinkerConfig"
Kiyoung Kim [Thu, 30 May 2019 05:31:26 +0000 (05:31 +0000)]
Merge "Make executable binary for LinkerConfig"

5 years agoMake executable binary for LinkerConfig
Kiyoung Kim [Thu, 23 May 2019 02:04:20 +0000 (11:04 +0900)]
Make executable binary for LinkerConfig

Create binary module for LinkerConfig

Change-Id: Ic51d29139a62f15ba8bf1dc4e2df5267f6995f77
Bugs: 123722631
Test: m -j & Tested from device

5 years agoManage dir list without priority am: 96a4388208 am: a653844425
Kiyoung Kim [Wed, 15 May 2019 23:57:38 +0000 (16:57 -0700)]
Manage dir list without priority am: 96a4388208 am: a653844425
am: 959181018d

Change-Id: I716cef328fe5fef05d44be10972198eb3cbcc711

5 years agoManage dir list without priority am: 96a4388208
Kiyoung Kim [Wed, 15 May 2019 02:21:50 +0000 (19:21 -0700)]
Manage dir list without priority am: 96a4388208
am: a653844425

Change-Id: I7ece1ad8a7e29a950cb1c7b1f7ed8d8a3feb74d0

5 years agoManage dir list without priority
Kiyoung Kim [Wed, 15 May 2019 01:55:34 +0000 (18:55 -0700)]
Manage dir list without priority
am: 96a4388208

Change-Id: I8fa86da3566b1def63426a884c271040b4599256

5 years agoManage dir list without priority
Kiyoung Kim [Mon, 13 May 2019 08:19:51 +0000 (17:19 +0900)]
Manage dir list without priority

Dir priority was introduced to manage priorities between multiple dirs
over multiple sections. However, since the purpose of priority was not
to hide subdir over parent dir, this can be solved to keep subdir upper
than parent dir. To make this simple, dirs can be kept in reverse string
order.

Change-Id: I4e9a2a1167902c8b27ff2846bc170b5c356f084f
Bugs: 123722631
Test: m -j && atest

5 years agoMerge "Replace shared_ptr with plain object" am: 9114ffd85e
Kiyoung Kim [Fri, 10 May 2019 09:14:49 +0000 (02:14 -0700)]
Merge "Replace shared_ptr with plain object" am: 9114ffd85e
am: 2ec037b87f

Change-Id: I2c39e6ea7c0429054fc6d63e0855bcfed691daf2

5 years agoMerge "Replace shared_ptr with plain object"
Kiyoung Kim [Fri, 10 May 2019 08:15:16 +0000 (01:15 -0700)]
Merge "Replace shared_ptr with plain object"
am: 9114ffd85e

Change-Id: I1e66528aba1d2e51049ed0fa37d781e0d3dcb31d

5 years agoMerge "Replace shared_ptr with plain object"
Kiyoung Kim [Fri, 10 May 2019 05:59:30 +0000 (05:59 +0000)]
Merge "Replace shared_ptr with plain object"

5 years agoReplace shared_ptr with plain object
Kiyoung Kim [Thu, 9 May 2019 05:03:43 +0000 (14:03 +0900)]
Replace shared_ptr with plain object

Currently most of objects are managed with shared_ptr. However, as these
objects are not being shared, it can be managed with plain object. To
make it simple, it would be better to remove all shared_ptr in use.

Bug: 123722631
Test: m -j & atest passed
Change-Id: I16fbf8bc63f016dc0603e1081164fbaabcb32d8e

5 years agoImplement Legacy and base configuration am: ff9cbf7c6c
Kiyoung Kim [Wed, 24 Apr 2019 01:27:48 +0000 (18:27 -0700)]
Implement Legacy and base configuration am: ff9cbf7c6c
am: cc848940c5

Change-Id: I1ad8219deb122d1059dc9c148d4aa8ed6fd26977

5 years agoImplement Legacy and base configuration
Kiyoung Kim [Wed, 24 Apr 2019 01:07:40 +0000 (18:07 -0700)]
Implement Legacy and base configuration
am: ff9cbf7c6c

Change-Id: I283a5381acc2002c2a5226006236a33265a99f39

5 years agoImplement Legacy and base configuration
Kiyoung Kim [Thu, 14 Mar 2019 09:26:24 +0000 (18:26 +0900)]
Implement Legacy and base configuration

Implement legacy and base configuration as first configuration from linkerconfig.
Implement backward compatibility test to track folders from vendor.

Bug: 123722631
Test: m -j && atest
Change-Id: I2a33faffa03a73bd2ed0bfe92de367d635767472

5 years agoCreate writer and handle environment variable am: 6d7cb59052 am: 37b436b189
Kiyoung Kim [Wed, 13 Mar 2019 11:59:08 +0000 (04:59 -0700)]
Create writer and handle environment variable am: 6d7cb59052 am: 37b436b189
am: 17cc1a0fa5

Change-Id: Ieb520cb1254421149fa9e035a2a2b1490dfba649

5 years agoCreate writer and handle environment variable am: 6d7cb59052
Kiyoung Kim [Wed, 13 Mar 2019 11:55:07 +0000 (04:55 -0700)]
Create writer and handle environment variable am: 6d7cb59052
am: 37b436b189

Change-Id: I68a7e94af78bdedf58d31762b10cb6aae399c5d4

5 years agoCreate writer and handle environment variable
Kiyoung Kim [Wed, 13 Mar 2019 11:51:05 +0000 (04:51 -0700)]
Create writer and handle environment variable
am: 6d7cb59052

Change-Id: I4433dffb56fb2ba156017564858548173734912b

5 years agoCreate writer and handle environment variable
Kiyoung Kim [Wed, 13 Mar 2019 06:07:57 +0000 (15:07 +0900)]
Create writer and handle environment variable

To handle better with generating configuration and resolving variables,
new modules are introduced - ConfigWriter and Variables.

Bug: 123722631
Test: m -j && atest

Change-Id: Ibd44d5f93d566ce6d9bc04d474de83ec1e5e8ff4

5 years agoDefine modules for linker config am: 7d422b30e4 am: f1cd620730
Kiyoung Kim [Tue, 12 Mar 2019 07:10:36 +0000 (00:10 -0700)]
Define modules for linker config am: 7d422b30e4 am: f1cd620730
am: 0e2e81215a

Change-Id: I6ee96f92cd15002970d98d4a825daa7a421fbee3

5 years agoDefine modules for linker config am: 7d422b30e4
Kiyoung Kim [Tue, 12 Mar 2019 07:06:35 +0000 (00:06 -0700)]
Define modules for linker config am: 7d422b30e4
am: f1cd620730

Change-Id: I73f51b0a6cc59892d4b15ebe7b427fca683299ef

5 years agoDefine modules for linker config
Kiyoung Kim [Tue, 12 Mar 2019 07:02:33 +0000 (00:02 -0700)]
Define modules for linker config
am: 7d422b30e4

Change-Id: Idefba3fe241e2fc37b3cdc1baf4a5e2f279e3c65

5 years agoDefine modules for linker config
Kiyoung Kim [Tue, 5 Mar 2019 08:06:13 +0000 (17:06 +0900)]
Define modules for linker config

Define modules for linker config and implement config string generator
for each modules.

Bug: 123722631
Test: m -j && atest linkerconfig_modules_unittest
Change-Id: Id9a234830c381267c23ec7af657f354d51a58889

5 years agoInitial empty repository
Thomas Joseph Avila [Tue, 26 Feb 2019 00:46:43 +0000 (16:46 -0800)]
Initial empty repository