3a9911cc8fd881effadbdf51e8f4cf721a1d9601 |
|
19-Jan-2016 |
Christopher Wiley <wiley@google.com> |
Write C++ and Java specific dependency files The dependency file for C++ encodes that generated .cpp and .h files depend on the source aidl and imported aidl files. This is unlike Java which only has a single .java file. Bug: 26409006 Test: Unittests continue to pass Change-Id: I97f3646cd28803a6dadc7bd0bd35632218dae559
/system/tools/aidl/generate_cpp.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/generate_cpp.h
|
fd51d60f486f1ad514e6f24744ebffab7a3d89bd |
|
14-Oct-2015 |
Christopher Wiley <wiley@google.com> |
Fix server header guard While here, add the unittest we forgot to write the first time. Bug: 24938116 Test: Compiles, unittests pass Change-Id: I3929e976411c1149a972c2f3addc35d3513266fe
/system/tools/aidl/generate_cpp.h
|
ad3392747003a30928da6cd206e41f66398c2062 |
|
06-Oct-2015 |
Christopher Wiley <wiley@google.com> |
Generate server side .cpp file Bug: 24505488 Test: Unit tests, wrote some more Change-Id: I89d18f0bb612f3a3ffadac41c6ff32b67d6552b7
/system/tools/aidl/generate_cpp.h
|
1ae2bc56d20fe0e19262f2721abc338662fa6e30 |
|
08-Oct-2015 |
Casey Dahlin <sadmac@google.com> |
Convert document item structs to classes This is the least-complete first run for any of these structs, but this shift is going to be particularly gnarly, so we need to be extra-incremental about it. Change-Id: I7295add8b9a1291f229743f8c36d941569a16ab6 Test: unit tests Bug: 24410295 Signed-off-by: Casey Dahlin <sadmac@google.com>
/system/tools/aidl/generate_cpp.h
|
e3550c6679939d2bf5f35c540cd83198ab156fb7 |
|
29-Sep-2015 |
Christopher Wiley <wiley@google.com> |
Use C++ TypeNamespace when generating code Bug: 24472672 Test: unittests pass Change-Id: I815af3cd3172621255dd8d041bb02d7013ed4cfe
/system/tools/aidl/generate_cpp.h
|
f944e79bdaf92fffe9ea78314d3636e7e4de8c51 |
|
29-Sep-2015 |
Christopher Wiley <wiley@google.com> |
Move C++ generation code into C++ namespace Use this namespace to shorten the class names now that we needn't distinguish them as C++ specific. Test: unittests pass Change-Id: Idace1e87be1e9fd5129550941532d05be83ec985
/system/tools/aidl/generate_cpp.h
|
9a8e1d9ad667faff9272e0e99b37a6aeba2d8d20 |
|
19-Sep-2015 |
Christopher Wiley <wiley@google.com> |
Generate .cpp/.h files with aidl-cpp These files contain only stubs for now but we can now create them with a command like: ./out/host/linux-x86/bin/aidl-cpp \ external/easybinder/IPingResponder.aidl \ out/demo/ Test: Above command generates code, unittests Bug: 24220933 Change-Id: I283971dda61d05949ff74057e6e7d3f276380601
/system/tools/aidl/generate_cpp.h
|
eb1acc1cf7dbf578d8ab2e596982c4c635aa9865 |
|
16-Sep-2015 |
Christopher Wiley <wiley@google.com> |
Refactor compile_aidl flow to support compiling C++ Bug: 23599760 Test: unittests Change-Id: Id6cbe6ea8161be6ebf449e47b3934993e6b6ad13
/system/tools/aidl/generate_cpp.h
|