From 3d72184bc45b7631f7b608437383d7798140bae5 Mon Sep 17 00:00:00 2001 From: brettw Date: Mon, 27 Apr 2015 14:36:02 -0700 Subject: [PATCH] Make the uribeacon a GN source_set Previously this was a component which fails on the Windows component build because there are no exported symbols. In GYP this is a static library, which should generally be source_sets in GN. TBR=keybuk@chromium.org Review URL: https://codereview.chromium.org/1107103002 Cr-Commit-Position: refs/heads/master@{#327135} --- device/bluetooth/bluetooth.gyp | 1 + device/bluetooth/uribeacon/BUILD.gn | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/device/bluetooth/bluetooth.gyp b/device/bluetooth/bluetooth.gyp index c0a30a3dbc4c..1cd27053e675 100644 --- a/device/bluetooth/bluetooth.gyp +++ b/device/bluetooth/bluetooth.gyp @@ -174,6 +174,7 @@ ], }, { + # GN version: //device/bluetooth/uribeacon 'target_name': 'uribeacon', 'type': 'static_library', 'dependencies': [ diff --git a/device/bluetooth/uribeacon/BUILD.gn b/device/bluetooth/uribeacon/BUILD.gn index 0c7d1d8073cd..484e27270327 100644 --- a/device/bluetooth/uribeacon/BUILD.gn +++ b/device/bluetooth/uribeacon/BUILD.gn @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -component("uribeacon") { +source_set("uribeacon") { sources = [ "uri_encoder.cc", "uri_encoder.h", -- 2.11.4.GIT