1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20

fuchsia_web / webengine / web_engine_export.h [blame]

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef FUCHSIA_WEB_WEBENGINE_WEB_ENGINE_EXPORT_H_
#define FUCHSIA_WEB_WEBENGINE_WEB_ENGINE_EXPORT_H_

#if defined(COMPONENT_BUILD)

#if defined(WEB_ENGINE_IMPLEMENTATION)
#define WEB_ENGINE_EXPORT __attribute__((visibility("default")))
#else
#define WEB_ENGINE_EXPORT
#endif

#else  // defined(COMPONENT_BUILD)
#define WEB_ENGINE_EXPORT
#endif

#endif  // FUCHSIA_WEB_WEBENGINE_WEB_ENGINE_EXPORT_H_