History log of /system/tools/aidl/io_delegate.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8decf95ffeffcc8aa14aa743ae398bc38d54b0ac 03-Jun-2016 Christopher Wiley <wiley@google.com> Always build absolute paths the same way

Fix a bug where output paths like:

C:\foo\bar

triggered bad logic to detect relative paths and turned the path into

.\C:\foo\bar

Fix this by moving absolute path detection logic into a common helper
function and calling it consistently.

Bug: 29091703
Test: unittests, angler-eng builds with this change, manual testing on
windows demonstrates issue is fixed

Change-Id: I8bc83a3e3943931d95db3e4147d4f8b1b07e907a
/system/tools/aidl/io_delegate.h
0a62067f35e957493bc37c4b42dfdcfc16353831 04-Dec-2015 Elliott Hughes <enh@google.com> Track base/ -> android-base/ change.

Change-Id: I02b64b42c17d248c5fb2c4de4b0778a441e018e3
/system/tools/aidl/io_delegate.h
9d6e0b29add607669e440085f1fc60cd434dc987 13-Nov-2015 Christopher Wiley <wiley@google.com> Remove generated code on IO errors

Bug: 25026025
Test: unit tests

Change-Id: Ice5d823102c742d546386f1ad71ef63a48c90820
/system/tools/aidl/io_delegate.h
ef1409302aa97b1807e55c63588ac0a428f41a06 03-Nov-2015 Christopher Wiley <wiley@google.com> Allow mocking of preprocessed file read

Bug: 17415692
Test: Clean build of AOSP succeeds.

Change-Id: I723031e9847b589909825736f1094e6bba039f7a
/system/tools/aidl/io_delegate.h
6453351b3ee9ce9b91650a8175464a6e339130c7 24-Oct-2015 Casey Dahlin <sadmac@google.com> Use IO delegates to create path in compile_aidl_to_java

Change-Id: I654e97d4149b0eb247fb683f9fefc2a7121f3507
Test: Unit tests pass
Signed-off-by: Casey Dahlin <sadmac@google.com>
/system/tools/aidl/io_delegate.h
054afbd3037addb4f2e245ecbc36f31d3040f877 17-Oct-2015 Christopher Wiley <wiley@google.com> Change C++ output to match make expectations

- generate a single C++ output file
- put headers into an output directory
- create the output directory structure using an IoDelegate

Bug: 23599697
Test: Unittests pass

Change-Id: I0f7b821678cd5adc00b2fdba06b52b235c724467
/system/tools/aidl/io_delegate.h
72877acd3b57462fcd452bff4a9d7ff936936a8e 06-Oct-2015 Christopher Wiley <wiley@google.com> Add ImportResolver class

This class delegates to an IoDelegate for file I/O.
This replaces the search_path.* files.

Bug: 24703046
Test: Unittests pass

Change-Id: I261f6066cef514926b45174988863b745a37e87c
/system/tools/aidl/io_delegate.h
4a2884b0e9414ed9dfee4e141e8bd462c07b442b 07-Oct-2015 Christopher Wiley <wiley@google.com> Read all files through IoDelegate

This allows us to easily fake out file IO in tests.

Bug: 24703046
Change-Id: I33a59c8e43489b03f27f99fb2949e58cc0311eb1
Test: unittests still pass, clean build of android passes
/system/tools/aidl/io_delegate.h