Extract out file path logic for inlined sources. Move the logic to settings_provider.h/cpp so other repos can provide their own implementation as needed. Also extract out common build params between stats-log-api-gen and stats-log-api-gen-test in a cc_default rule. Bug: 390300986 Test: StatsCodeGenJavaTest Test: stats_code_gen_cc_test Change-Id: Icbb86d1ae8ecd9e7bc691f590d864566da5629a3