| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
| 6 | 6 |
| 7 proto_library("proto") { | 7 proto_library("proto") { |
| 8 # This should only get compiled into the sync component. | 8 # This should only get compiled into the sync component. |
| 9 visibility = [ "//sync:sync_core" ] | 9 visibility = [ "//components/sync:sync_core" ] |
| 10 | 10 |
| 11 sources = [ | 11 sources = [ |
| 12 "attachment_store.proto", | 12 "attachment_store.proto", |
| 13 ] | 13 ] |
| 14 cc_generator_options = "dllexport_decl=SYNC_EXPORT:" | 14 cc_generator_options = "dllexport_decl=SYNC_EXPORT:" |
| 15 cc_include = "sync/base/sync_export.h" | 15 cc_include = "components/sync/base/sync_export.h" |
| 16 | 16 |
| 17 defines = [ "SYNC_IMPLEMENTATION" ] | 17 defines = [ "SYNC_IMPLEMENTATION" ] |
| 18 } | 18 } |
| OLD | NEW |