Commit Graph

19 Commits

Author SHA1 Message Date
John Reck
d8b73b59eb Use fancy for hwui too
Test: clion
Change-Id: I627d358e68391c882ffdd2236eab0e978b11cfdc
2023-02-01 07:09:58 -05:00
John Reck
a90e707c53 Use the CMakeLists.txt for IS_NEWER_THAN
The directory isn't updated every build necessarily
but the CMakeLists.txt itself is regenerated often.

This should improve the consistency of changing
targets & re-loading the cmake project

Test: make && reload cmake in clion
Change-Id: I5a184ea9c626f03d70f6dc3a5e05646ee33cfe2f
2022-12-19 17:39:57 -05:00
John Reck
3c7dd4d8fd Make add_subdirectory way fancier
* Only add if it exists!
* Automatically pick arm64 or x86_64!
* Also add a minigbm config

Test: clion
Change-Id: If2b664f42c73f3e98d49df22ee9a6cb2d7064509
2022-11-30 14:14:02 -05:00
John Reck
96e36b70ad Add CMakeLists for graphics VTS
Test: N/A
Change-Id: I1d3f9c7dce564c23bc56c26f0c51c575f0e45d42
2022-08-18 21:33:47 +00:00
Ady Abraham
cc4125522a add libgui and sf_fuzzer to native CMakeLists.txt
Test: aidegen

Change-Id: I63c5cf0b3562c4aa1e8a9fb9ab81a8a94a0ea520
2022-02-08 18:32:31 -08:00
Felka Chang
ead4b2ad8c Add Android Resources CLion project file
This patch adds a new CLion project for developing Android Resources.
* aapt2
* libaapt2
* aapt2_test
* idmap2
* idmap2d
* libidmap2
* libidmap2_protos
* libidmap2aidl
* idmap2_test
* libandroidfw
* libandroidfw_tests
* libandroidfw_benchmark
* lbandroidfw_fuzzer_lib
* resourcefile_fuzzer
* libandroid_runtime
* etc.

Test: export SOONG_GEN_CMAKEFILES=1 ;\
      export SOONG_GEN_CMAKEFILES_DEBUG=1 ;\
      make droid aapt2_test idmap2_tests libandroidfw_benchmark ;\
      /opt/clion-stable/bin/clion.sh \
      out/development/ide/clion/frameworks/base/cmds/

Bug: 204725414
Change-Id: Iddafa146f78ad7c7d38396f38ea9aaf8b5d97c88
2021-11-01 18:45:18 +08:00
John Reck
c214b46d71 Fix the cmakes
Change-Id: I77c6484b882d1eaa45b2bc8ec94c6e6fb8526760
2020-11-10 15:17:35 -05:00
Ady Abraham
eb36c45d60 add FrameTimeline to CLion
Test: launch CLion
Change-Id: I293293c81dc891bc8d087e0744b03e4d4076f843
2020-09-30 16:24:21 -07:00
Ady Abraham
6a73d05209 Remove libsurfaceflinger-arm64-android
ag/12558259 removed that lib, updating the CMakeLists.txt to refrelet that.

Test: Launch Clion
Change-Id: Ia085c1647f5374bb209827c7dbc81c070673d4c2
2020-09-30 15:09:47 -07:00
John Reck
108bbc61e5 Add librenderengine
Test: clion
Change-Id: I9ddd72f7b7627ee27f099399ec2da88813439624
2020-08-12 13:10:47 -07:00
Ady Abraham
ea7685211d remove obsolete path from frameworks/native
ag/11038755 removed some tests from SurfaceFlinger, so we need
to update CMakeLists.txt as well.

Test: Open CLion on fameworks/native project
Bug: b/77585359
Change-Id: Ide31716c85dca3c80979221577b444ecaffb6b32
2020-04-21 13:45:44 -07:00
Ana Krulec
d07f69ddf8 Adding relevant surface flinger files to CMake
Test: In IDE navigate to Tools -> CMake -> Reload, and it worked.
Change-Id: I16a240d93d77163886913e7bed8d9dcd52f98883
2020-01-16 13:42:25 -08:00
John Reck
0015dd7c76 Add libandroid-graphics to clion
Test: IDE
Change-Id: I89c6583d503f89254898d3540923a7a2f808485b
2019-10-30 15:12:20 -07:00
TreeHugger Robot
a0791b907c Merge "Add HWUI's CMakeLists" 2019-08-13 00:45:25 +00:00
Ana Krulec
c24e581bb3 SF: Adding test and unittest folders to CMakeLists.txt
Adding folders to superproject for beter Clion integration.

Test: manual

Change-Id: I5abc405aa0dc0ca76c009709a18a7f0265775942
2019-06-21 14:51:25 -07:00
Stefano Galarraga
368f9abd35 Add root projects to use for development with CLion
The additional files are useful when generating the CLion project
definition (as documented in
https://android.googlesource.com/platform/build/soong/+/master/docs/clion.md)
to have a single view of the project.

Test: generate CLion project files and open the projects
Change-Id: I10d0a05a1ad827e253c46768f41ac87fa6d00fc9
2019-05-15 19:09:42 +01:00
John Reck
db85ede0f4 Add HWUI's CMakeLists
Test: n/a
Change-Id: I9e1a9a5cf5d185fedd61bbc498d8f7c9a85642f3
2019-02-20 13:43:47 -08:00
Peiyong Lin
f99f1ee6fc [CLion] Remove legacy SurfaceFlinger CMakeLists.txt.
Now that we move SurfaceFlinger to use blueprint, we no longer need to write
manual CMakeLists.txt for SurfaceFlinger. This patch updates the native
CMakeLists.txt and removes the legacy file.

Test: make
Change-Id: I4097c5d3f564a47b0238bce62bb818b2835ceafc
2018-02-01 14:54:25 -08:00
Fabien Sanglard
ba1bfbfe4d Add SurfaceFlinger/libgui/libui super cmakelist
Change-Id: I47e32b80a42a61ad00fe81ecd09aee4eae8c8234
2017-02-06 13:27:35 -08:00