blob: d1a9fae3f2d1fb6149ea16bc499e15821fb611ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_ARC_ARC_EXPORT_H_
#define COMPONENTS_ARC_ARC_EXPORT_H_
#if !defined(OS_CHROMEOS)
#error "ARC can be built only for Chrome OS."
#endif // defined(OS_CHROMEOS)
#if defined(COMPONENT_BUILD) && defined(ARC_IMPLEMENTATION)
#define ARC_EXPORT __attribute__((visibility("default")))
#else // !defined(COMPONENT_BUILD) || !defined(ARC_IMPLEMENTATION)
#define ARC_EXPORT
#endif
#endif // COMPONENTS_ARC_ARC_EXPORT_H_
|