add_subdirectory(contrib)

add_subdirectory(contrib)

# CPU source, test sources, binary sources
set(Caffe2_CPU_SRCS ${Caffe2_CPU_SRCS} PARENT_SCOPE)
set(Caffe2_CPU_TEST_SRCS ${Caffe2_CPU_TEST_SRCS} PARENT_SCOPE)
set(Caffe2_CPU_BINARY_SRCS ${Caffe2_CPU_BINARY_SRCS} PARENT_SCOPE)

# GPU source, test sources, binary sources
set(Caffe2_GPU_SRCS ${Caffe2_GPU_SRCS} PARENT_SCOPE)
set(Caffe2_GPU_TEST_SRCS ${Caffe2_GPU_TEST_SRCS} PARENT_SCOPE)
set(Caffe2_GPU_BINARY_SRCS ${Caffe2_GPU_BINARY_SRCS} PARENT_SCOPE)

Enable building mobile directory files in OSS
Enable building mobile directory files in OSS

Summary:
The source files are not exposed to the parent directory in mobile. Expose them now so that the files are built in OSS.
Closes https://github.com/caffe2/caffe2/pull/1435

Reviewed By: akyrola

Differential Revision: D6274056

Pulled By: sf-wind

fbshipit-source-id: 6b54645bc9a42b4329d8aa20051abeb5fc6b1c37
