1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ash / components / arc / arc_export.h [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_COMPONENTS_ARC_ARC_EXPORT_H_
#define ASH_COMPONENTS_ARC_ARC_EXPORT_H_
#include "build/chromeos_buildflags.h"
#if !BUILDFLAG(IS_CHROMEOS_ASH)
#error "ARC can be built only for Chrome OS."
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
#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 // ASH_COMPONENTS_ARC_ARC_EXPORT_H_