ccache enable if listed in the build config
BuildFlags: useccache:chromium
-> enable --ccache option when chromium package.
Need to implement additional features for use ccache.tar
Change-Id: I2b12cf44e03fc3a651ec78c081017387c3d6d935
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
push @args, "--extra-packs=\"$packs\"";
}
+ # Check buildflags for ccache
+ my @buildflags=`$build_dir/queryconfig buildflags+ useccache --dist '$dist' --configdir '$dist_configs' --archpath '$arch'`;
+ if (grep ($_ eq $name, grep(s/\s*$//g, @buildflags))) {
+ push @args, "--ccache";
+ }
+
# Rebuild the package.
my $count = scalar(keys %to_build) - scalar (@skipped);
info("*** [$index/$count] building $name-$version-$release $arch $dist (worker: $thread) ***");