common-mk: Added in test to profiling rule for empty file list

For projects that do not have tests that are run with `make test` the profiling
phase of make test will fail since gcov doesn't know what to do with an empty
file list. This causes an issue, because for the cros_workon.eclass there is a
test rule that may be run, so it makes sense to make common.mk more robust.

BUG=chromium-os:39210
TEST=Built a package without implemented tests with tests turned on to confirm
     that the profiling step passed without doing anything.
     Built a package with implemented tests with tests turned on to confirmed
     profiling occured as expected.

Change-Id: Ia51179a721198c4615911b489fbd50f7289abcb5
Reviewed-on: https://gerrit.chromium.org/gerrit/43928
Commit-Queue: Ryan Harrison <[email protected]>
Reviewed-by: Ryan Harrison <[email protected]>
Tested-by: Ryan Harrison <[email protected]>
1 file changed
tree: 4dbee45b81f022b359d8e09f4d056180c0c10162
  1. example/
  2. common.mk
  3. LICENSE
  4. OWNERS
  5. README