Hugo y
Hugo y

Reputation: 1507

What does CC means in Soong?

There are a lot of references to cc in AOSP Soong. In this file, for example: https://android.googlesource.com/platform/build/soong/+/master/cc/cc.go

I have several hypothesis:

  1. Compiler Collection (as in gcc)
  2. Cross Compiler
  3. C, C++
  4. C compiler (as in cc so tag)

Upvotes: 2

Views: 449

Answers (1)

Jake Lee
Jake Lee

Reputation: 7979

It's your 4th hypothesis, "C compiler".

This is confirmed by the file you linked, which states at the top:

This file contains the module types for compiling C/C++ for Android, and converts the properties into the flags and filenames necessary to pass to the compiler.

And the StackOverflow tag also states:

cc is a common name for a C compiler executable or driver.

Furthermore, the file you linked is very clearly used for compiling C / C++, with hundreds if not thousands of references to the process.

I'm not 100% sure what you're after, since you seem to have managed to find the answer yourself!

Upvotes: 3

Related Questions