summaryrefslogtreecommitdiffstats
path: root/components/proximity_auth.gypi
diff options
context:
space:
mode:
authortengs <tengs@chromium.org>2015-05-04 11:25:24 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-04 18:25:47 +0000
commitac322f81dff6cd124c0dd114c0b4e573fbab5455 (patch)
treebbc4d1f5d160b27fdf8cd7eaebeeb0d97eb11d69 /components/proximity_auth.gypi
parent4eb373ddb517503e20d99afd7cde9dfc439d3384 (diff)
downloadchromium_src-ac322f81dff6cd124c0dd114c0b4e573fbab5455.zip
chromium_src-ac322f81dff6cd124c0dd114c0b4e573fbab5455.tar.gz
chromium_src-ac322f81dff6cd124c0dd114c0b4e573fbab5455.tar.bz2
Add PA_LOG() macro to for logging messages specific to Proximity Auth.
This macro is built on top of the standard logging system defined in base/logging.h, but also allows us to show Proximity Auth specific logs in the debug WebUI at chrome://proximity-auth. BUG=409158 TEST=unit test Committed: https://crrev.com/dda9f80847aa2966b03a9625419fbe01c8e47192 Cr-Commit-Position: refs/heads/master@{#328026} Review URL: https://codereview.chromium.org/1113023006 Cr-Commit-Position: refs/heads/master@{#328156}
Diffstat (limited to 'components/proximity_auth.gypi')
-rw-r--r--components/proximity_auth.gypi20
1 files changed, 19 insertions, 1 deletions
diff --git a/components/proximity_auth.gypi b/components/proximity_auth.gypi
index 38880d4..9ac28c5 100644
--- a/components/proximity_auth.gypi
+++ b/components/proximity_auth.gypi
@@ -13,6 +13,7 @@
'..',
],
'dependencies': [
+ ':proximity_auth_logging',
'../base/base.gyp:base',
'../device/bluetooth/bluetooth.gyp:device_bluetooth',
'../net/net.gyp:net',
@@ -57,7 +58,24 @@
],
},
{
- # GN version: //components/cryptauth/proto
+ # GN version: //components/proximity_auth/logging
+ 'target_name': 'proximity_auth_logging',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ],
+ 'sources': [
+ "proximity_auth/logging/log_buffer.cc",
+ "proximity_auth/logging/log_buffer.h",
+ "proximity_auth/logging/logging.h",
+ "proximity_auth/logging/logging.cc",
+ ]
+ },
+ {
+ # GN version: //components/proximity_auth/cryptauth/proto
'target_name': 'cryptauth_proto',
'type': 'static_library',
'sources': [