Skip to content

Commit

Permalink
Run AddressTrackerLinux unittests on Android now that we use the
Browse files Browse the repository at this point in the history
AddressTrackerLinux on Android too.

BUG=318794
TEST=net_unittests --gtest_filter=AddressTrackerLinuxTest\*

Review URL: https://codereview.chromium.org/158933002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250210 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
pauljensen@chromium.org committed Feb 10, 2014
1 parent e4ddafa commit b1874a8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions net/base/address_tracker_linux_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
#include "base/bind.h"
#include "testing/gtest/include/gtest/gtest.h"

#ifndef IFA_F_HOMEADDRESS
#define IFA_F_HOMEADDRESS 0x10
#endif

namespace net {
namespace internal {
namespace {
Expand Down
11 changes: 11 additions & 0 deletions net/net.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2354,6 +2354,17 @@
]
}],
],
'target_conditions': [
# These source files are excluded by default platform rules, but they
# are needed in specific cases on other platforms. Re-including them can
# only be done in target_conditions as it is evaluated after the
# platform rules.
['OS == "android"', {
'sources/': [
['include', '^base/address_tracker_linux_unittest\\.cc$'],
],
}],
],
},
{
'target_name': 'net_perftests',
Expand Down

0 comments on commit b1874a8

Please sign in to comment.